@ant-design/pro-components 2.3.28 → 2.3.29
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/dist/components.js +839 -302
- package/dist/components.min.js +1 -1
- package/es/version.js +9 -9
- package/package.json +10 -10
package/dist/components.js
CHANGED
|
@@ -20633,7 +20633,7 @@ var unitlessKeys = {
|
|
|
20633
20633
|
strokeWidth: 1
|
|
20634
20634
|
};
|
|
20635
20635
|
/* harmony default export */ var unitless_browser_esm = (unitlessKeys);
|
|
20636
|
-
;// CONCATENATED MODULE: ./node_modules
|
|
20636
|
+
;// CONCATENATED MODULE: ./node_modules/stylis/src/Enum.js
|
|
20637
20637
|
var MS = '-ms-';
|
|
20638
20638
|
var MOZ = '-moz-';
|
|
20639
20639
|
var WEBKIT = '-webkit-';
|
|
@@ -20652,7 +20652,7 @@ var KEYFRAMES = '@keyframes';
|
|
|
20652
20652
|
var FONT_FACE = '@font-face';
|
|
20653
20653
|
var COUNTER_STYLE = '@counter-style';
|
|
20654
20654
|
var FONT_FEATURE_VALUES = '@font-feature-values';
|
|
20655
|
-
;// CONCATENATED MODULE: ./node_modules
|
|
20655
|
+
;// CONCATENATED MODULE: ./node_modules/stylis/src/Utility.js
|
|
20656
20656
|
/**
|
|
20657
20657
|
* @param {number}
|
|
20658
20658
|
* @return {number}
|
|
@@ -20768,7 +20768,7 @@ function Utility_append(value, array) {
|
|
|
20768
20768
|
function combine(array, callback) {
|
|
20769
20769
|
return array.map(callback).join('');
|
|
20770
20770
|
}
|
|
20771
|
-
;// CONCATENATED MODULE: ./node_modules
|
|
20771
|
+
;// CONCATENATED MODULE: ./node_modules/stylis/src/Serializer.js
|
|
20772
20772
|
|
|
20773
20773
|
|
|
20774
20774
|
|
|
@@ -20807,7 +20807,7 @@ function stringify(element, index, children, callback) {
|
|
|
20807
20807
|
}
|
|
20808
20808
|
return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
|
|
20809
20809
|
}
|
|
20810
|
-
;// CONCATENATED MODULE: ./node_modules
|
|
20810
|
+
;// CONCATENATED MODULE: ./node_modules/stylis/src/Tokenizer.js
|
|
20811
20811
|
|
|
20812
20812
|
var line = 1;
|
|
20813
20813
|
var column = 1;
|
|
@@ -21071,7 +21071,7 @@ function identifier(index) {
|
|
|
21071
21071
|
}
|
|
21072
21072
|
return slice(index, position);
|
|
21073
21073
|
}
|
|
21074
|
-
;// CONCATENATED MODULE: ./node_modules
|
|
21074
|
+
;// CONCATENATED MODULE: ./node_modules/stylis/src/Parser.js
|
|
21075
21075
|
|
|
21076
21076
|
|
|
21077
21077
|
|
|
@@ -22326,11 +22326,17 @@ var localeValues = {
|
|
|
22326
22326
|
cancelText: '取消',
|
|
22327
22327
|
justOkText: '知道了'
|
|
22328
22328
|
},
|
|
22329
|
+
Tour: {
|
|
22330
|
+
Next: '下一步',
|
|
22331
|
+
Previous: '上一步',
|
|
22332
|
+
Finish: '结束导览'
|
|
22333
|
+
},
|
|
22329
22334
|
Popconfirm: {
|
|
22330
22335
|
cancelText: '取消',
|
|
22331
22336
|
okText: '确定'
|
|
22332
22337
|
},
|
|
22333
22338
|
Transfer: {
|
|
22339
|
+
titles: ['', ''],
|
|
22334
22340
|
searchPlaceholder: '请输入搜索内容',
|
|
22335
22341
|
itemUnit: '项',
|
|
22336
22342
|
itemsUnit: '项',
|
|
@@ -25733,7 +25739,7 @@ var defaultTheme = {
|
|
|
25733
25739
|
motionEaseOutBack: 'cubic-bezier(0.12, 0.4, 0.29, 1.46)',
|
|
25734
25740
|
motionEaseInQuint: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
|
|
25735
25741
|
motionEaseOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',
|
|
25736
|
-
|
|
25742
|
+
borderRadius: 6,
|
|
25737
25743
|
sizeUnit: 4,
|
|
25738
25744
|
sizeBaseStep: 4,
|
|
25739
25745
|
sizePopupArrow: 16,
|
|
@@ -27420,7 +27426,8 @@ var compareVersions = function compareVersions(v1, v2) {
|
|
|
27420
27426
|
|
|
27421
27427
|
|
|
27422
27428
|
var openVisibleCompatible = function openVisibleCompatible(open, onOpenChange) {
|
|
27423
|
-
var
|
|
27429
|
+
var _process, _process$env;
|
|
27430
|
+
var props = compareVersions(((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ANTD_VERSION) || external_antd_.version, '4.23.0') > -1 ? {
|
|
27424
27431
|
open: open,
|
|
27425
27432
|
onOpenChange: onOpenChange
|
|
27426
27433
|
} : {
|
|
@@ -28042,6 +28049,13 @@ var isNeedTranText = function isNeedTranText(item) {
|
|
|
28042
28049
|
}
|
|
28043
28050
|
return false;
|
|
28044
28051
|
};
|
|
28052
|
+
var getEllipsis = function getEllipsis(item) {
|
|
28053
|
+
var _item$ellipsis;
|
|
28054
|
+
if (((_item$ellipsis = item.ellipsis) === null || _item$ellipsis === void 0 ? void 0 : _item$ellipsis.showTitle) === false) {
|
|
28055
|
+
return false;
|
|
28056
|
+
}
|
|
28057
|
+
return item.ellipsis;
|
|
28058
|
+
};
|
|
28045
28059
|
/**
|
|
28046
28060
|
* 生成 Copyable 或 Ellipsis 的 dom
|
|
28047
28061
|
*
|
|
@@ -28057,7 +28071,7 @@ var genCopyable = function genCopyable(dom, item, text) {
|
|
|
28057
28071
|
} : undefined;
|
|
28058
28072
|
/** 有些 valueType 需要设置copy的为string */
|
|
28059
28073
|
var needTranText = isNeedTranText(item);
|
|
28060
|
-
var ellipsis = item
|
|
28074
|
+
var ellipsis = getEllipsis(item) && text ? {
|
|
28061
28075
|
tooltip:
|
|
28062
28076
|
// 支持一下 tooltip 的关闭
|
|
28063
28077
|
(item === null || item === void 0 ? void 0 : item.tooltip) !== false && needTranText ? (0,jsx_runtime.jsx)("div", {
|
|
@@ -28116,6 +28130,9 @@ function _regeneratorRuntime() {
|
|
|
28116
28130
|
var exports = {},
|
|
28117
28131
|
Op = Object.prototype,
|
|
28118
28132
|
hasOwn = Op.hasOwnProperty,
|
|
28133
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
28134
|
+
obj[key] = desc.value;
|
|
28135
|
+
},
|
|
28119
28136
|
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
28120
28137
|
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
28121
28138
|
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
@@ -28139,40 +28156,9 @@ function _regeneratorRuntime() {
|
|
|
28139
28156
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
28140
28157
|
generator = Object.create(protoGenerator.prototype),
|
|
28141
28158
|
context = new Context(tryLocsList || []);
|
|
28142
|
-
return generator
|
|
28143
|
-
|
|
28144
|
-
|
|
28145
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
|
28146
|
-
if ("completed" === state) {
|
|
28147
|
-
if ("throw" === method) throw arg;
|
|
28148
|
-
return doneResult();
|
|
28149
|
-
}
|
|
28150
|
-
for (context.method = method, context.arg = arg;;) {
|
|
28151
|
-
var delegate = context.delegate;
|
|
28152
|
-
if (delegate) {
|
|
28153
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
28154
|
-
if (delegateResult) {
|
|
28155
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
28156
|
-
return delegateResult;
|
|
28157
|
-
}
|
|
28158
|
-
}
|
|
28159
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
28160
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
28161
|
-
context.dispatchException(context.arg);
|
|
28162
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
28163
|
-
state = "executing";
|
|
28164
|
-
var record = tryCatch(innerFn, self, context);
|
|
28165
|
-
if ("normal" === record.type) {
|
|
28166
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
28167
|
-
return {
|
|
28168
|
-
value: record.arg,
|
|
28169
|
-
done: context.done
|
|
28170
|
-
};
|
|
28171
|
-
}
|
|
28172
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
28173
|
-
}
|
|
28174
|
-
};
|
|
28175
|
-
}(innerFn, self, context), generator;
|
|
28159
|
+
return defineProperty(generator, "_invoke", {
|
|
28160
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
28161
|
+
}), generator;
|
|
28176
28162
|
}
|
|
28177
28163
|
function tryCatch(fn, obj, arg) {
|
|
28178
28164
|
try {
|
|
@@ -28226,13 +28212,49 @@ function _regeneratorRuntime() {
|
|
|
28226
28212
|
reject(record.arg);
|
|
28227
28213
|
}
|
|
28228
28214
|
var previousPromise;
|
|
28229
|
-
this
|
|
28230
|
-
function
|
|
28231
|
-
|
|
28232
|
-
|
|
28233
|
-
|
|
28215
|
+
defineProperty(this, "_invoke", {
|
|
28216
|
+
value: function value(method, arg) {
|
|
28217
|
+
function callInvokeWithMethodAndArg() {
|
|
28218
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
28219
|
+
invoke(method, arg, resolve, reject);
|
|
28220
|
+
});
|
|
28221
|
+
}
|
|
28222
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
28223
|
+
}
|
|
28224
|
+
});
|
|
28225
|
+
}
|
|
28226
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
28227
|
+
var state = "suspendedStart";
|
|
28228
|
+
return function (method, arg) {
|
|
28229
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
28230
|
+
if ("completed" === state) {
|
|
28231
|
+
if ("throw" === method) throw arg;
|
|
28232
|
+
return doneResult();
|
|
28233
|
+
}
|
|
28234
|
+
for (context.method = method, context.arg = arg;;) {
|
|
28235
|
+
var delegate = context.delegate;
|
|
28236
|
+
if (delegate) {
|
|
28237
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
28238
|
+
if (delegateResult) {
|
|
28239
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
28240
|
+
return delegateResult;
|
|
28241
|
+
}
|
|
28242
|
+
}
|
|
28243
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
28244
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
28245
|
+
context.dispatchException(context.arg);
|
|
28246
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
28247
|
+
state = "executing";
|
|
28248
|
+
var record = tryCatch(innerFn, self, context);
|
|
28249
|
+
if ("normal" === record.type) {
|
|
28250
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
28251
|
+
return {
|
|
28252
|
+
value: record.arg,
|
|
28253
|
+
done: context.done
|
|
28254
|
+
};
|
|
28255
|
+
}
|
|
28256
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
28234
28257
|
}
|
|
28235
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
28236
28258
|
};
|
|
28237
28259
|
}
|
|
28238
28260
|
function maybeInvokeDelegate(delegate, context) {
|
|
@@ -28290,7 +28312,13 @@ function _regeneratorRuntime() {
|
|
|
28290
28312
|
done: !0
|
|
28291
28313
|
};
|
|
28292
28314
|
}
|
|
28293
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
28315
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
28316
|
+
value: GeneratorFunctionPrototype,
|
|
28317
|
+
configurable: !0
|
|
28318
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
28319
|
+
value: GeneratorFunction,
|
|
28320
|
+
configurable: !0
|
|
28321
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
28294
28322
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
28295
28323
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
28296
28324
|
}, exports.mark = function (genFun) {
|
|
@@ -28311,8 +28339,9 @@ function _regeneratorRuntime() {
|
|
|
28311
28339
|
return this;
|
|
28312
28340
|
}), define(Gp, "toString", function () {
|
|
28313
28341
|
return "[object Generator]";
|
|
28314
|
-
}), exports.keys = function (
|
|
28315
|
-
var
|
|
28342
|
+
}), exports.keys = function (val) {
|
|
28343
|
+
var object = Object(val),
|
|
28344
|
+
keys = [];
|
|
28316
28345
|
for (var key in object) {
|
|
28317
28346
|
keys.push(key);
|
|
28318
28347
|
}
|
|
@@ -30526,7 +30555,7 @@ var CheckCard_style_genProStyle = function genProStyle(token) {
|
|
|
30526
30555
|
lineHeight: token.lineHeight,
|
|
30527
30556
|
verticalAlign: 'top',
|
|
30528
30557
|
backgroundColor: token.colorBgBase,
|
|
30529
|
-
borderRadius: token.
|
|
30558
|
+
borderRadius: token.borderRadius,
|
|
30530
30559
|
cursor: 'pointer',
|
|
30531
30560
|
transition: "all 0.3s",
|
|
30532
30561
|
'&:last-child': {
|
|
@@ -30594,7 +30623,7 @@ var CheckCard_style_genProStyle = function genProStyle(token) {
|
|
|
30594
30623
|
width: '100%',
|
|
30595
30624
|
height: '100%',
|
|
30596
30625
|
overflow: 'hidden',
|
|
30597
|
-
borderRadius: token.
|
|
30626
|
+
borderRadius: token.borderRadius
|
|
30598
30627
|
}
|
|
30599
30628
|
}), defineProperty_defineProperty(_token$componentCls, '&-content', {
|
|
30600
30629
|
display: 'flex',
|
|
@@ -31173,7 +31202,7 @@ var Loading_style_genProStyle = function genProStyle(token) {
|
|
|
31173
31202
|
marginBlock: '4px',
|
|
31174
31203
|
background: "linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",
|
|
31175
31204
|
backgroundSize: '600% 600%',
|
|
31176
|
-
borderRadius: token.
|
|
31205
|
+
borderRadius: token.borderRadius,
|
|
31177
31206
|
animationName: 'card-loading',
|
|
31178
31207
|
animationDuration: '1.4s',
|
|
31179
31208
|
animationTimingFunction: 'ease',
|
|
@@ -31393,7 +31422,7 @@ var genProCardStyle = function genProCardStyle(token) {
|
|
|
31393
31422
|
paddingBlock: 0,
|
|
31394
31423
|
paddingInline: 0,
|
|
31395
31424
|
backgroundColor: token.colorBgContainer,
|
|
31396
|
-
borderRadius: token.
|
|
31425
|
+
borderRadius: token.borderRadius
|
|
31397
31426
|
}, resetComponent === null || resetComponent === void 0 ? void 0 : resetComponent(token)), {}, (_objectSpread2 = {
|
|
31398
31427
|
'*': {
|
|
31399
31428
|
boxSizing: 'border-box',
|
|
@@ -52899,7 +52928,7 @@ var genAppsLogoComponentsDefaultListStyle = function genAppsLogoComponentsDefaul
|
|
|
52899
52928
|
verticalAlign: 'top',
|
|
52900
52929
|
listStyleType: 'none',
|
|
52901
52930
|
transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
|
|
52902
|
-
borderRadius: token.
|
|
52931
|
+
borderRadius: token.borderRadius,
|
|
52903
52932
|
'&:hover': {
|
|
52904
52933
|
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
52905
52934
|
},
|
|
@@ -52965,7 +52994,7 @@ var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleL
|
|
|
52965
52994
|
verticalAlign: 'top',
|
|
52966
52995
|
listStyleType: 'none',
|
|
52967
52996
|
transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
|
|
52968
|
-
borderRadius: token.
|
|
52997
|
+
borderRadius: token.borderRadius,
|
|
52969
52998
|
'&:hover': {
|
|
52970
52999
|
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
52971
53000
|
},
|
|
@@ -52985,7 +53014,7 @@ var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleL
|
|
|
52985
53014
|
lineHeight: '40px',
|
|
52986
53015
|
textAlign: 'center',
|
|
52987
53016
|
backgroundImage: 'linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)',
|
|
52988
|
-
borderRadius: token.
|
|
53017
|
+
borderRadius: token.borderRadius
|
|
52989
53018
|
},
|
|
52990
53019
|
'& > img': {
|
|
52991
53020
|
width: 40,
|
|
@@ -53468,7 +53497,7 @@ var genProLayoutBaseMenuStyle = function genProLayoutBaseMenuStyle(token) {
|
|
|
53468
53497
|
marginBlock: '8px !important'
|
|
53469
53498
|
}), defineProperty_defineProperty(_collapsed, "".concat(token.antCls, "-menu-item-group > ").concat(token.antCls, "-menu-item-group-list > ").concat(token.antCls, "-menu-submenu-selected > ").concat(token.antCls, "-menu-submenu-title, \n ").concat(token.antCls, "-menu-submenu-selected > ").concat(token.antCls, "-menu-submenu-title"), {
|
|
53470
53499
|
backgroundColor: (_token$layout = token.layout) === null || _token$layout === void 0 ? void 0 : (_token$layout$sider = _token$layout.sider) === null || _token$layout$sider === void 0 ? void 0 : _token$layout$sider.colorBgMenuItemSelected,
|
|
53471
|
-
borderRadius: token.
|
|
53500
|
+
borderRadius: token.borderRadius
|
|
53472
53501
|
}), defineProperty_defineProperty(_collapsed, "".concat(token.componentCls, "-group"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item-group-title"), {
|
|
53473
53502
|
paddingInline: 0
|
|
53474
53503
|
})), _collapsed)), defineProperty_defineProperty(_$concat5, "".concat(token.componentCls, "-item-icon"), {
|
|
@@ -54236,11 +54265,11 @@ var genTopNavHeaderStyle = function genTopNavHeaderStyle(token) {
|
|
|
54236
54265
|
color: token === null || token === void 0 ? void 0 : (_token$layout = token.layout) === null || _token$layout === void 0 ? void 0 : (_token$layout$header = _token$layout.header) === null || _token$layout$header === void 0 ? void 0 : _token$layout$header.colorTextRightActionsItem,
|
|
54237
54266
|
fontSize: '16px',
|
|
54238
54267
|
cursor: 'pointer',
|
|
54239
|
-
borderRadius: token.
|
|
54268
|
+
borderRadius: token.borderRadius,
|
|
54240
54269
|
'> *': {
|
|
54241
54270
|
paddingInline: 6,
|
|
54242
54271
|
paddingBlock: 6,
|
|
54243
|
-
borderRadius: token.
|
|
54272
|
+
borderRadius: token.borderRadius,
|
|
54244
54273
|
'&:hover': {
|
|
54245
54274
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout2 = token.layout) === null || _token$layout2 === void 0 ? void 0 : (_token$layout2$header = _token$layout2.header) === null || _token$layout2$header === void 0 ? void 0 : _token$layout2$header.colorBgRightActionsItemHover
|
|
54246
54275
|
}
|
|
@@ -54262,7 +54291,7 @@ var genTopNavHeaderStyle = function genTopNavHeaderStyle(token) {
|
|
|
54262
54291
|
display: 'flex',
|
|
54263
54292
|
alignItems: 'center',
|
|
54264
54293
|
lineHeight: '44px',
|
|
54265
|
-
borderRadius: token.
|
|
54294
|
+
borderRadius: token.borderRadius,
|
|
54266
54295
|
'&:hover': {
|
|
54267
54296
|
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
54268
54297
|
}
|
|
@@ -55057,7 +55086,7 @@ var darkreader = __webpack_require__(897);
|
|
|
55057
55086
|
'app.setting.themecolor.sunset': '日暮',
|
|
55058
55087
|
'app.setting.themecolor.cyan': '明青',
|
|
55059
55088
|
'app.setting.themecolor.green': '极光绿',
|
|
55060
|
-
'app.setting.themecolor.techBlue': '
|
|
55089
|
+
'app.setting.themecolor.techBlue': '科技蓝(默认)',
|
|
55061
55090
|
'app.setting.themecolor.daybreak': '拂晓',
|
|
55062
55091
|
'app.setting.themecolor.geekblue': '极客蓝',
|
|
55063
55092
|
'app.setting.themecolor.purple': '酱紫',
|
|
@@ -55854,10 +55883,11 @@ var ThemeColor = function ThemeColor(_ref2) {
|
|
|
55854
55883
|
className: "".concat(baseClassName, " ").concat(hashId),
|
|
55855
55884
|
children: colorList === null || colorList === void 0 ? void 0 : colorList.map(function (_ref3) {
|
|
55856
55885
|
var key = _ref3.key,
|
|
55857
|
-
color = _ref3.color
|
|
55886
|
+
color = _ref3.color,
|
|
55887
|
+
title = _ref3.title;
|
|
55858
55888
|
if (!key) return null;
|
|
55859
55889
|
return (0,jsx_runtime.jsx)(external_antd_.Tooltip, {
|
|
55860
|
-
title: formatMessage({
|
|
55890
|
+
title: title !== null && title !== void 0 ? title : formatMessage({
|
|
55861
55891
|
id: "app.setting.themecolor.".concat(key)
|
|
55862
55892
|
}),
|
|
55863
55893
|
children: (0,jsx_runtime.jsx)(Tag, {
|
|
@@ -58344,7 +58374,7 @@ var style_genSiderMenuStyle = function genSiderMenuStyle(token) {
|
|
|
58344
58374
|
lineHeight: '16px',
|
|
58345
58375
|
fontSize: 16,
|
|
58346
58376
|
cursor: 'pointer',
|
|
58347
|
-
borderRadius: token.
|
|
58377
|
+
borderRadius: token.borderRadius,
|
|
58348
58378
|
'&:hover': {
|
|
58349
58379
|
background: 'rgba(0, 0, 0, 0.018)'
|
|
58350
58380
|
}
|
|
@@ -58354,7 +58384,7 @@ var style_genSiderMenuStyle = function genSiderMenuStyle(token) {
|
|
|
58354
58384
|
fontSize: 14,
|
|
58355
58385
|
paddingInline: 8,
|
|
58356
58386
|
paddingBlock: 8,
|
|
58357
|
-
borderRadius: token.
|
|
58387
|
+
borderRadius: token.borderRadius,
|
|
58358
58388
|
'& *': {
|
|
58359
58389
|
cursor: 'pointer'
|
|
58360
58390
|
},
|
|
@@ -58538,15 +58568,15 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58538
58568
|
backgroundColor: 'transparent!important'
|
|
58539
58569
|
}), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu-light"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-active, \n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
|
|
58540
58570
|
color: token === null || token === void 0 ? void 0 : (_token$layout4 = token.layout) === null || _token$layout4 === void 0 ? void 0 : (_token$layout4$sider = _token$layout4.sider) === null || _token$layout4$sider === void 0 ? void 0 : _token$layout4$sider.colorTextMenuActive,
|
|
58541
|
-
borderRadius: token.
|
|
58571
|
+
borderRadius: token.borderRadius
|
|
58542
58572
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58543
58573
|
color: token === null || token === void 0 ? void 0 : (_token$layout5 = token.layout) === null || _token$layout5 === void 0 ? void 0 : (_token$layout5$sider = _token$layout5.sider) === null || _token$layout5$sider === void 0 ? void 0 : _token$layout5$sider.colorTextMenuActive
|
|
58544
58574
|
}))), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-horizontal)"), (_$concat$concat = {}, defineProperty_defineProperty(_$concat$concat, "".concat(token.antCls, "-menu-item-selected"), {
|
|
58545
58575
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout6 = token.layout) === null || _token$layout6 === void 0 ? void 0 : (_token$layout6$sider = _token$layout6.sider) === null || _token$layout6$sider === void 0 ? void 0 : _token$layout6$sider.colorBgMenuItemSelected,
|
|
58546
|
-
borderRadius: token.
|
|
58576
|
+
borderRadius: token.borderRadius
|
|
58547
58577
|
}), defineProperty_defineProperty(_$concat$concat, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
|
|
58548
58578
|
color: token === null || token === void 0 ? void 0 : (_token$layout7 = token.layout) === null || _token$layout7 === void 0 ? void 0 : (_token$layout7$sider = _token$layout7.sider) === null || _token$layout7$sider === void 0 ? void 0 : _token$layout7$sider.colorTextMenuActive,
|
|
58549
|
-
borderRadius: token.
|
|
58579
|
+
borderRadius: token.borderRadius,
|
|
58550
58580
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout8 = token.layout) === null || _token$layout8 === void 0 ? void 0 : (_token$layout8$sider = _token$layout8.sider) === null || _token$layout8$sider === void 0 ? void 0 : _token$layout8$sider.colorBgMenuItemHover
|
|
58551
58581
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58552
58582
|
color: token === null || token === void 0 ? void 0 : (_token$layout9 = token.layout) === null || _token$layout9 === void 0 ? void 0 : (_token$layout9$sider = _token$layout9.sider) === null || _token$layout9$sider === void 0 ? void 0 : _token$layout9$sider.colorTextMenuActive
|
|
@@ -58557,7 +58587,7 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58557
58587
|
}), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-inline) ").concat(token.antCls, "-menu-submenu-open"), {
|
|
58558
58588
|
color: token === null || token === void 0 ? void 0 : (_token$layout12 = token.layout) === null || _token$layout12 === void 0 ? void 0 : (_token$layout12$sider = _token$layout12.sider) === null || _token$layout12$sider === void 0 ? void 0 : _token$layout12$sider.colorTextMenuSelected
|
|
58559
58589
|
}), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu-vertical"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-submenu-selected"), {
|
|
58560
|
-
borderRadius: token.
|
|
58590
|
+
borderRadius: token.borderRadius,
|
|
58561
58591
|
color: token === null || token === void 0 ? void 0 : (_token$layout13 = token.layout) === null || _token$layout13 === void 0 ? void 0 : (_token$layout13$sider = _token$layout13.sider) === null || _token$layout13$sider === void 0 ? void 0 : _token$layout13$sider.colorTextMenuSelected
|
|
58562
58592
|
})), defineProperty_defineProperty(_$concat6, "".concat(token.antCls, "-menu-submenu:hover > ").concat(token.antCls, "-menu-submenu-title > ").concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58563
58593
|
color: token === null || token === void 0 ? void 0 : (_token$layout14 = token.layout) === null || _token$layout14 === void 0 ? void 0 : (_token$layout14$sider = _token$layout14.sider) === null || _token$layout14$sider === void 0 ? void 0 : _token$layout14$sider.colorTextMenuActive
|
|
@@ -58568,7 +58598,7 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58568
58598
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout16 = token.layout) === null || _token$layout16 === void 0 ? void 0 : (_token$layout16$heade = _token$layout16.header) === null || _token$layout16$heade === void 0 ? void 0 : _token$layout16$heade.colorBgMenuItemHover
|
|
58569
58599
|
}), defineProperty_defineProperty(_$concat5, "".concat(token.antCls, "-menu-item-open,\n ").concat(token.antCls, "-menu-submenu-open,\n ").concat(token.antCls, "-menu-item-selected,\n ").concat(token.antCls, "-menu-submenu-selected"), defineProperty_defineProperty({
|
|
58570
58600
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout17 = token.layout) === null || _token$layout17 === void 0 ? void 0 : (_token$layout17$heade = _token$layout17.header) === null || _token$layout17$heade === void 0 ? void 0 : _token$layout17$heade.colorBgMenuItemSelected,
|
|
58571
|
-
borderRadius: token.
|
|
58601
|
+
borderRadius: token.borderRadius,
|
|
58572
58602
|
transition: 'none',
|
|
58573
58603
|
color: token === null || token === void 0 ? void 0 : (_token$layout18 = token.layout) === null || _token$layout18 === void 0 ? void 0 : (_token$layout18$heade = _token$layout18.header) === null || _token$layout18$heade === void 0 ? void 0 : _token$layout18$heade.colorTextMenuSelected
|
|
58574
58604
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
@@ -58584,14 +58614,14 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58584
58614
|
color: 'inherit'
|
|
58585
58615
|
})), defineProperty_defineProperty(_$concat9, "&".concat(token.antCls, "-menu-light"), (_$concat8 = {}, defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-active, \n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
|
|
58586
58616
|
color: token === null || token === void 0 ? void 0 : (_token$layout21 = token.layout) === null || _token$layout21 === void 0 ? void 0 : (_token$layout21$heade = _token$layout21.header) === null || _token$layout21$heade === void 0 ? void 0 : _token$layout21$heade.colorTextMenuActive,
|
|
58587
|
-
borderRadius: token.
|
|
58617
|
+
borderRadius: token.borderRadius,
|
|
58588
58618
|
transition: 'none',
|
|
58589
58619
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout22 = token.layout) === null || _token$layout22 === void 0 ? void 0 : (_token$layout22$heade = _token$layout22.header) === null || _token$layout22$heade === void 0 ? void 0 : _token$layout22$heade.colorBgMenuItemSelected
|
|
58590
58620
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58591
58621
|
color: token === null || token === void 0 ? void 0 : (_token$layout23 = token.layout) === null || _token$layout23 === void 0 ? void 0 : (_token$layout23$heade = _token$layout23.header) === null || _token$layout23$heade === void 0 ? void 0 : _token$layout23$heade.colorTextMenuActive
|
|
58592
58622
|
})), defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item-selected"), {
|
|
58593
58623
|
color: token === null || token === void 0 ? void 0 : (_token$layout24 = token.layout) === null || _token$layout24 === void 0 ? void 0 : (_token$layout24$heade = _token$layout24.header) === null || _token$layout24$heade === void 0 ? void 0 : _token$layout24$heade.colorTextMenuSelected,
|
|
58594
|
-
borderRadius: token.
|
|
58624
|
+
borderRadius: token.borderRadius,
|
|
58595
58625
|
backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout25 = token.layout) === null || _token$layout25 === void 0 ? void 0 : (_token$layout25$heade = _token$layout25.header) === null || _token$layout25$heade === void 0 ? void 0 : _token$layout25$heade.colorBgMenuItemSelected
|
|
58596
58626
|
}), _$concat8)), _$concat9)), _token$componentCls)), defineProperty_defineProperty(_ref, "".concat(token.antCls, "-menu-sub").concat(token.antCls, "-menu-inline"), {
|
|
58597
58627
|
backgroundColor: 'transparent!important'
|
|
@@ -58610,11 +58640,11 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58610
58640
|
color: token === null || token === void 0 ? void 0 : (_token$layout27 = token.layout) === null || _token$layout27 === void 0 ? void 0 : (_token$layout27$sider = _token$layout27.sider) === null || _token$layout27$sider === void 0 ? void 0 : _token$layout27$sider.colorTextMenuSelected
|
|
58611
58641
|
}), defineProperty_defineProperty(_$concat11, "".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-horizontal)"), (_$concat$concat2 = {}, defineProperty_defineProperty(_$concat$concat2, "".concat(token.antCls, "-menu-item-selected"), {
|
|
58612
58642
|
backgroundColor: 'rgba(0, 0, 0, 0.04)',
|
|
58613
|
-
borderRadius: token.
|
|
58643
|
+
borderRadius: token.borderRadius,
|
|
58614
58644
|
color: token === null || token === void 0 ? void 0 : (_token$layout28 = token.layout) === null || _token$layout28 === void 0 ? void 0 : (_token$layout28$sider = _token$layout28.sider) === null || _token$layout28$sider === void 0 ? void 0 : _token$layout28$sider.colorTextMenuSelected
|
|
58615
58645
|
}), defineProperty_defineProperty(_$concat$concat2, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
|
|
58616
58646
|
color: token === null || token === void 0 ? void 0 : (_token$layout29 = token.layout) === null || _token$layout29 === void 0 ? void 0 : (_token$layout29$sider = _token$layout29.sider) === null || _token$layout29$sider === void 0 ? void 0 : _token$layout29$sider.colorTextMenuActive,
|
|
58617
|
-
borderRadius: token.
|
|
58647
|
+
borderRadius: token.borderRadius
|
|
58618
58648
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58619
58649
|
color: token === null || token === void 0 ? void 0 : (_token$layout30 = token.layout) === null || _token$layout30 === void 0 ? void 0 : (_token$layout30$sider = _token$layout30.sider) === null || _token$layout30$sider === void 0 ? void 0 : _token$layout30$sider.colorTextMenuActive
|
|
58620
58650
|
})), _$concat$concat2)), _$concat11)), _ref;
|
|
@@ -59355,7 +59385,7 @@ var ProLayout_ProLayout = function ProLayout(props) {
|
|
|
59355
59385
|
theme: {
|
|
59356
59386
|
hashed: ((_process$env$NODE_ENV = "production") === null || _process$env$NODE_ENV === void 0 ? void 0 : _process$env$NODE_ENV.toLowerCase()) !== 'test',
|
|
59357
59387
|
token: {
|
|
59358
|
-
|
|
59388
|
+
borderRadius: 4,
|
|
59359
59389
|
colorPrimary: colorPrimary || '#1677FF',
|
|
59360
59390
|
colorError: '#ff4d4f',
|
|
59361
59391
|
colorInfo: '#1677FF'
|
|
@@ -60855,7 +60885,7 @@ var Alert_style_genProStyle = function genProStyle(token) {
|
|
|
60855
60885
|
return defineProperty_defineProperty({}, token.componentCls, {
|
|
60856
60886
|
marginBlockEnd: 16,
|
|
60857
60887
|
backgroundColor: 'rgba(0,0,0,0.02)',
|
|
60858
|
-
borderRadius: token.
|
|
60888
|
+
borderRadius: token.borderRadius,
|
|
60859
60889
|
border: '0.5px solid #BFBFBF',
|
|
60860
60890
|
'&-container': {
|
|
60861
60891
|
paddingBlock: token.paddingSM,
|
|
@@ -70364,6 +70394,11 @@ function statisticToken(token) {
|
|
|
70364
70394
|
|
|
70365
70395
|
|
|
70366
70396
|
|
|
70397
|
+
var textEllipsis = {
|
|
70398
|
+
overflow: 'hidden',
|
|
70399
|
+
whiteSpace: 'nowrap',
|
|
70400
|
+
textOverflow: 'ellipsis'
|
|
70401
|
+
};
|
|
70367
70402
|
var style_resetComponent = function resetComponent(token) {
|
|
70368
70403
|
return {
|
|
70369
70404
|
boxSizing: 'border-box',
|
|
@@ -70478,12 +70513,38 @@ var genFocusStyle = function genFocusStyle(token) {
|
|
|
70478
70513
|
};
|
|
70479
70514
|
};
|
|
70480
70515
|
;// CONCATENATED MODULE: ./node_modules/antd/es/version/version.js
|
|
70481
|
-
/* harmony default export */ var version = ('5.0.0-alpha.
|
|
70516
|
+
/* harmony default export */ var version = ('5.0.0-alpha.34');
|
|
70482
70517
|
;// CONCATENATED MODULE: ./node_modules/antd/es/version/index.js
|
|
70483
70518
|
/* eslint import/no-unresolved: 0 */
|
|
70484
70519
|
// @ts-ignore
|
|
70485
70520
|
|
|
70486
70521
|
/* harmony default export */ var es_version = (version);
|
|
70522
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genControlHeight.js
|
|
70523
|
+
var genControlHeight = function genControlHeight(token) {
|
|
70524
|
+
var controlHeight = token.controlHeight;
|
|
70525
|
+
return {
|
|
70526
|
+
controlHeightSM: controlHeight * 0.75,
|
|
70527
|
+
controlHeightXS: controlHeight * 0.5,
|
|
70528
|
+
controlHeightLG: controlHeight * 1.25
|
|
70529
|
+
};
|
|
70530
|
+
};
|
|
70531
|
+
/* harmony default export */ var shared_genControlHeight = (genControlHeight);
|
|
70532
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genSizeMapToken.js
|
|
70533
|
+
function genSizeMapToken(token) {
|
|
70534
|
+
var sizeUnit = token.sizeUnit,
|
|
70535
|
+
sizeStep = token.sizeStep;
|
|
70536
|
+
return {
|
|
70537
|
+
sizeXXL: sizeUnit * (sizeStep + 8),
|
|
70538
|
+
sizeXL: sizeUnit * (sizeStep + 4),
|
|
70539
|
+
sizeLG: sizeUnit * (sizeStep + 2),
|
|
70540
|
+
sizeMD: sizeUnit * (sizeStep + 1),
|
|
70541
|
+
sizeMS: sizeUnit * sizeStep,
|
|
70542
|
+
size: sizeUnit * sizeStep,
|
|
70543
|
+
sizeSM: sizeUnit * (sizeStep - 1),
|
|
70544
|
+
sizeXS: sizeUnit * (sizeStep - 2),
|
|
70545
|
+
sizeXXS: sizeUnit * (sizeStep - 3) // 4
|
|
70546
|
+
};
|
|
70547
|
+
}
|
|
70487
70548
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/seed.js
|
|
70488
70549
|
|
|
70489
70550
|
var defaultPresetColors = {
|
|
@@ -70509,14 +70570,10 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
|
|
|
70509
70570
|
colorError: '#f5222d',
|
|
70510
70571
|
colorInfo: '#1677ff',
|
|
70511
70572
|
colorTextBase: '',
|
|
70512
|
-
colorTextLightSolid: '#fff',
|
|
70513
70573
|
colorBgBase: '',
|
|
70514
70574
|
// Font
|
|
70515
70575
|
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",
|
|
70516
|
-
|
|
70517
|
-
// Grid
|
|
70518
|
-
gridUnit: 4,
|
|
70519
|
-
gridBaseStep: 2,
|
|
70576
|
+
fontSize: 14,
|
|
70520
70577
|
// Line
|
|
70521
70578
|
lineWidth: 1,
|
|
70522
70579
|
lineType: 'solid',
|
|
@@ -70531,10 +70588,10 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
|
|
|
70531
70588
|
motionEaseInQuint: "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
70532
70589
|
motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
|
|
70533
70590
|
// Radius
|
|
70534
|
-
|
|
70591
|
+
borderRadius: 6,
|
|
70535
70592
|
// Size
|
|
70536
70593
|
sizeUnit: 4,
|
|
70537
|
-
|
|
70594
|
+
sizeStep: 4,
|
|
70538
70595
|
sizePopupArrow: 16,
|
|
70539
70596
|
// Control Base
|
|
70540
70597
|
controlHeight: 32,
|
|
@@ -70617,7 +70674,8 @@ function genColorMapToken(seed, _ref) {
|
|
|
70617
70674
|
colorInfoTextHover: infoColors[8],
|
|
70618
70675
|
colorInfoText: infoColors[9],
|
|
70619
70676
|
colorInfoTextActive: infoColors[10],
|
|
70620
|
-
colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString()
|
|
70677
|
+
colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString(),
|
|
70678
|
+
colorWhite: '#fff'
|
|
70621
70679
|
});
|
|
70622
70680
|
}
|
|
70623
70681
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genFontSizes.js
|
|
@@ -70678,11 +70736,11 @@ var genRadius = function genRadius(radiusBase) {
|
|
|
70678
70736
|
radiusOuter = 6;
|
|
70679
70737
|
}
|
|
70680
70738
|
return {
|
|
70681
|
-
|
|
70682
|
-
|
|
70683
|
-
|
|
70684
|
-
|
|
70685
|
-
|
|
70739
|
+
borderRadius: radiusBase > 16 ? 16 : radiusBase,
|
|
70740
|
+
borderRadiusXS: radiusXS,
|
|
70741
|
+
borderRadiusSM: radiusSM,
|
|
70742
|
+
borderRadiusLG: radiusLG,
|
|
70743
|
+
borderRadiusOuter: radiusOuter
|
|
70686
70744
|
};
|
|
70687
70745
|
};
|
|
70688
70746
|
/* harmony default export */ var shared_genRadius = (genRadius);
|
|
@@ -70693,18 +70751,13 @@ var genRadius = function genRadius(radiusBase) {
|
|
|
70693
70751
|
function genCommonMapToken(token) {
|
|
70694
70752
|
var motionUnit = token.motionUnit,
|
|
70695
70753
|
motionBase = token.motionBase,
|
|
70696
|
-
|
|
70697
|
-
|
|
70698
|
-
sizeBaseStep = token.sizeBaseStep,
|
|
70699
|
-
gridUnit = token.gridUnit,
|
|
70700
|
-
gridBaseStep = token.gridBaseStep,
|
|
70701
|
-
radiusBase = token.radiusBase,
|
|
70702
|
-
controlHeight = token.controlHeight,
|
|
70754
|
+
fontSize = token.fontSize,
|
|
70755
|
+
borderRadius = token.borderRadius,
|
|
70703
70756
|
lineWidth = token.lineWidth;
|
|
70704
|
-
var fontSizes = getFontSizes(
|
|
70705
|
-
return extends_extends(
|
|
70757
|
+
var fontSizes = getFontSizes(fontSize);
|
|
70758
|
+
return extends_extends({
|
|
70706
70759
|
// motion
|
|
70707
|
-
motionDurationFast: "".concat((motionBase + motionUnit
|
|
70760
|
+
motionDurationFast: "".concat((motionBase + motionUnit).toFixed(1), "s"),
|
|
70708
70761
|
motionDurationMid: "".concat((motionBase + motionUnit * 2).toFixed(1), "s"),
|
|
70709
70762
|
motionDurationSlow: "".concat((motionBase + motionUnit * 3).toFixed(1), "s"),
|
|
70710
70763
|
// font
|
|
@@ -70714,25 +70767,9 @@ function genCommonMapToken(token) {
|
|
|
70714
70767
|
lineHeights: fontSizes.map(function (fs) {
|
|
70715
70768
|
return fs.lineHeight;
|
|
70716
70769
|
}),
|
|
70717
|
-
// size
|
|
70718
|
-
sizeSpaceSM: sizeUnit * (sizeBaseStep - 1),
|
|
70719
|
-
sizeSpace: sizeUnit * sizeBaseStep,
|
|
70720
|
-
sizeSpaceXS: sizeUnit * (sizeBaseStep - 2),
|
|
70721
|
-
sizeSpaceXXS: sizeUnit * (sizeBaseStep - 3),
|
|
70722
|
-
// grid
|
|
70723
|
-
gridSpaceSM: gridUnit * (gridBaseStep - 1),
|
|
70724
|
-
gridSpaceBase: gridUnit * gridBaseStep,
|
|
70725
|
-
gridSpaceLG: gridUnit * (gridBaseStep + 1),
|
|
70726
|
-
gridSpaceXL: gridUnit * (gridBaseStep + 2),
|
|
70727
|
-
gridSpaceXXL: gridUnit * (gridBaseStep + 5),
|
|
70728
70770
|
// line
|
|
70729
70771
|
lineWidthBold: lineWidth + 1
|
|
70730
|
-
}, shared_genRadius(
|
|
70731
|
-
// control
|
|
70732
|
-
controlHeightSM: controlHeight * 0.75,
|
|
70733
|
-
controlHeightXS: controlHeight * 0.5,
|
|
70734
|
-
controlHeightLG: controlHeight * 1.25
|
|
70735
|
-
});
|
|
70772
|
+
}, shared_genRadius(borderRadius));
|
|
70736
70773
|
}
|
|
70737
70774
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/default/colorAlgorithm.js
|
|
70738
70775
|
|
|
@@ -70794,6 +70831,8 @@ var generateNeutralColorPalettes = function generateNeutralColorPalettes(bgBaseC
|
|
|
70794
70831
|
|
|
70795
70832
|
|
|
70796
70833
|
|
|
70834
|
+
|
|
70835
|
+
|
|
70797
70836
|
function derivative(token) {
|
|
70798
70837
|
var colorPalettes = Object.keys(defaultPresetColors).map(function (colorKey) {
|
|
70799
70838
|
var colors = (0,index_esm.generate)(token[colorKey]);
|
|
@@ -70805,10 +70844,10 @@ function derivative(token) {
|
|
|
70805
70844
|
prev = extends_extends(extends_extends({}, prev), cur);
|
|
70806
70845
|
return prev;
|
|
70807
70846
|
}, {});
|
|
70808
|
-
return extends_extends(extends_extends(extends_extends(extends_extends({}, token), colorPalettes), genColorMapToken(token, {
|
|
70847
|
+
return extends_extends(extends_extends(extends_extends(extends_extends(extends_extends(extends_extends({}, token), colorPalettes), genColorMapToken(token, {
|
|
70809
70848
|
generateColorPalettes: generateColorPalettes,
|
|
70810
70849
|
generateNeutralColorPalettes: generateNeutralColorPalettes
|
|
70811
|
-
})), genCommonMapToken(token));
|
|
70850
|
+
})), genSizeMapToken(token)), shared_genControlHeight(token)), genCommonMapToken(token));
|
|
70812
70851
|
}
|
|
70813
70852
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/util/getAlphaColor.js
|
|
70814
70853
|
|
|
@@ -70905,6 +70944,7 @@ function formatToken(derivativeToken) {
|
|
|
70905
70944
|
colorTextHeading: mergedToken.colorText,
|
|
70906
70945
|
colorTextLabel: mergedToken.colorTextSecondary,
|
|
70907
70946
|
colorTextDescription: mergedToken.colorTextTertiary,
|
|
70947
|
+
colorTextLightSolid: mergedToken.colorWhite,
|
|
70908
70948
|
colorHighlight: mergedToken.colorError,
|
|
70909
70949
|
colorBgTextHover: mergedToken.colorFillSecondary,
|
|
70910
70950
|
colorBgTextActive: mergedToken.colorFill,
|
|
@@ -70932,7 +70972,7 @@ function formatToken(derivativeToken) {
|
|
|
70932
70972
|
lineHeightHeading4: lineHeights[3],
|
|
70933
70973
|
lineHeightHeading5: lineHeights[2],
|
|
70934
70974
|
// Control
|
|
70935
|
-
|
|
70975
|
+
lineWidth: mergedToken.lineWidth,
|
|
70936
70976
|
controlOutlineWidth: mergedToken.lineWidth * 2,
|
|
70937
70977
|
// Checkbox size and expand icon size
|
|
70938
70978
|
controlInteractiveSize: mergedToken.controlHeight / 2,
|
|
@@ -70942,11 +70982,11 @@ function formatToken(derivativeToken) {
|
|
|
70942
70982
|
controlItemBgActiveDisabled: mergedToken.colorFill,
|
|
70943
70983
|
controlTmpOutline: mergedToken.colorFillQuaternary,
|
|
70944
70984
|
controlOutline: util_getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer),
|
|
70945
|
-
|
|
70946
|
-
|
|
70947
|
-
|
|
70948
|
-
|
|
70949
|
-
|
|
70985
|
+
lineType: mergedToken.lineType,
|
|
70986
|
+
borderRadius: mergedToken.borderRadius,
|
|
70987
|
+
borderRadiusXS: mergedToken.borderRadiusXS,
|
|
70988
|
+
borderRadiusSM: mergedToken.borderRadiusSM,
|
|
70989
|
+
borderRadiusLG: mergedToken.borderRadiusLG,
|
|
70950
70990
|
fontWeightStrong: 600,
|
|
70951
70991
|
opacityLoading: 0.65,
|
|
70952
70992
|
linkDecoration: 'none',
|
|
@@ -70954,21 +70994,27 @@ function formatToken(derivativeToken) {
|
|
|
70954
70994
|
linkFocusDecoration: 'none',
|
|
70955
70995
|
controlPaddingHorizontal: 12,
|
|
70956
70996
|
controlPaddingHorizontalSM: 8,
|
|
70957
|
-
|
|
70958
|
-
|
|
70959
|
-
|
|
70960
|
-
|
|
70961
|
-
|
|
70962
|
-
paddingLG:
|
|
70963
|
-
paddingXL:
|
|
70964
|
-
|
|
70965
|
-
|
|
70966
|
-
|
|
70967
|
-
|
|
70968
|
-
|
|
70969
|
-
|
|
70970
|
-
|
|
70971
|
-
|
|
70997
|
+
paddingXXS: mergedToken.sizeXXS,
|
|
70998
|
+
paddingXS: mergedToken.sizeXS,
|
|
70999
|
+
paddingSM: mergedToken.sizeSM,
|
|
71000
|
+
padding: mergedToken.size,
|
|
71001
|
+
paddingMD: mergedToken.sizeMD,
|
|
71002
|
+
paddingLG: mergedToken.sizeLG,
|
|
71003
|
+
paddingXL: mergedToken.sizeXL,
|
|
71004
|
+
paddingContentHorizontalLG: mergedToken.sizeLG,
|
|
71005
|
+
paddingContentVerticalLG: mergedToken.sizeMS,
|
|
71006
|
+
paddingContentHorizontal: mergedToken.sizeMS,
|
|
71007
|
+
paddingContentVertical: mergedToken.sizeSM,
|
|
71008
|
+
paddingContentHorizontalSM: mergedToken.size,
|
|
71009
|
+
paddingContentVerticalSM: mergedToken.sizeXS,
|
|
71010
|
+
marginXXS: mergedToken.sizeXXS,
|
|
71011
|
+
marginXS: mergedToken.sizeXS,
|
|
71012
|
+
marginSM: mergedToken.sizeSM,
|
|
71013
|
+
margin: mergedToken.size,
|
|
71014
|
+
marginMD: mergedToken.sizeMD,
|
|
71015
|
+
marginLG: mergedToken.sizeLG,
|
|
71016
|
+
marginXL: mergedToken.sizeXL,
|
|
71017
|
+
marginXXL: mergedToken.sizeXXL,
|
|
70972
71018
|
boxShadow: "\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",
|
|
70973
71019
|
boxShadowSecondary: "\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",
|
|
70974
71020
|
screenXS: screenXS,
|
|
@@ -71179,8 +71225,8 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
|
|
|
71179
71225
|
height: token.checkboxSize,
|
|
71180
71226
|
direction: 'ltr',
|
|
71181
71227
|
backgroundColor: token.colorBgContainer,
|
|
71182
|
-
border: "".concat(token.
|
|
71183
|
-
borderRadius: token.
|
|
71228
|
+
border: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorBorder),
|
|
71229
|
+
borderRadius: token.borderRadiusSM,
|
|
71184
71230
|
borderCollapse: 'separate',
|
|
71185
71231
|
transition: "all ".concat(token.motionDurationFast),
|
|
71186
71232
|
'&:after': {
|
|
@@ -71191,7 +71237,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
|
|
|
71191
71237
|
display: 'table',
|
|
71192
71238
|
width: token.checkboxSize / 14 * 5,
|
|
71193
71239
|
height: token.checkboxSize / 14 * 8,
|
|
71194
|
-
border: "".concat(token.lineWidthBold, "px solid ").concat(token.
|
|
71240
|
+
border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorWhite),
|
|
71195
71241
|
borderTop: 0,
|
|
71196
71242
|
borderInlineStart: 0,
|
|
71197
71243
|
transform: 'rotate(45deg) scale(0) translate(-50%,-50%)',
|
|
@@ -71238,7 +71284,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
|
|
|
71238
71284
|
insetInlineStart: 0,
|
|
71239
71285
|
width: '100%',
|
|
71240
71286
|
height: '100%',
|
|
71241
|
-
borderRadius: token.
|
|
71287
|
+
borderRadius: token.borderRadiusSM,
|
|
71242
71288
|
visibility: 'hidden',
|
|
71243
71289
|
border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorPrimary),
|
|
71244
71290
|
animationName: antCheckboxEffect,
|
|
@@ -71361,7 +71407,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
|
|
|
71361
71407
|
}
|
|
71362
71408
|
var opts = getOptions();
|
|
71363
71409
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) {
|
|
71364
|
-
return registeredValues.
|
|
71410
|
+
return registeredValues.includes(val);
|
|
71365
71411
|
}).sort(function (a, b) {
|
|
71366
71412
|
var indexA = opts.findIndex(function (opt) {
|
|
71367
71413
|
return opt.value === a;
|
|
@@ -71386,7 +71432,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
|
|
|
71386
71432
|
key: option.value.toString(),
|
|
71387
71433
|
disabled: 'disabled' in option ? option.disabled : restProps.disabled,
|
|
71388
71434
|
value: option.value,
|
|
71389
|
-
checked: value.
|
|
71435
|
+
checked: value.includes(option.value),
|
|
71390
71436
|
onChange: option.onChange,
|
|
71391
71437
|
className: "".concat(groupPrefixCls, "-item"),
|
|
71392
71438
|
style: option.style
|
|
@@ -71511,7 +71557,7 @@ var InternalCheckbox = function InternalCheckbox(_a, ref) {
|
|
|
71511
71557
|
}
|
|
71512
71558
|
};
|
|
71513
71559
|
checkboxProps.name = checkboxGroup.name;
|
|
71514
|
-
checkboxProps.checked = checkboxGroup.value.
|
|
71560
|
+
checkboxProps.checked = checkboxGroup.value.includes(restProps.value);
|
|
71515
71561
|
}
|
|
71516
71562
|
var classString = classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper"), true), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className, hashId);
|
|
71517
71563
|
var checkboxClass = classnames_default()(defineProperty_defineProperty({}, "".concat(prefixCls, "-indeterminate"), indeterminate), hashId);
|
|
@@ -76032,14 +76078,14 @@ var date_picker_locale_en_US_locale = {
|
|
|
76032
76078
|
;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/en_US.js
|
|
76033
76079
|
|
|
76034
76080
|
/* harmony default export */ var calendar_locale_en_US = (date_picker_locale_en_US);
|
|
76035
|
-
;// CONCATENATED MODULE: ./node_modules/antd/es/locale/
|
|
76081
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/locale/en_US.js
|
|
76036
76082
|
/* eslint-disable no-template-curly-in-string */
|
|
76037
76083
|
|
|
76038
76084
|
|
|
76039
76085
|
|
|
76040
76086
|
|
|
76041
|
-
var
|
|
76042
|
-
var
|
|
76087
|
+
var en_US_typeTemplate = '${label} is not a valid ${type}';
|
|
76088
|
+
var en_US_localeValues = {
|
|
76043
76089
|
locale: 'en',
|
|
76044
76090
|
Pagination: locale_en_US,
|
|
76045
76091
|
DatePicker: date_picker_locale_en_US,
|
|
@@ -76067,6 +76113,11 @@ var default_localeValues = {
|
|
|
76067
76113
|
triggerAsc: 'Click to sort ascending',
|
|
76068
76114
|
cancelSort: 'Click to cancel sorting'
|
|
76069
76115
|
},
|
|
76116
|
+
Tour: {
|
|
76117
|
+
Next: 'Next',
|
|
76118
|
+
Previous: 'Previous',
|
|
76119
|
+
Finish: 'Finish'
|
|
76120
|
+
},
|
|
76070
76121
|
Modal: {
|
|
76071
76122
|
okText: 'OK',
|
|
76072
76123
|
cancelText: 'Cancel',
|
|
@@ -76123,19 +76174,19 @@ var default_localeValues = {
|
|
|
76123
76174
|
invalid: '${label} is an invalid date'
|
|
76124
76175
|
},
|
|
76125
76176
|
types: {
|
|
76126
|
-
string:
|
|
76127
|
-
method:
|
|
76128
|
-
array:
|
|
76129
|
-
object:
|
|
76130
|
-
number:
|
|
76131
|
-
date:
|
|
76132
|
-
"boolean":
|
|
76133
|
-
integer:
|
|
76134
|
-
"float":
|
|
76135
|
-
regexp:
|
|
76136
|
-
email:
|
|
76137
|
-
url:
|
|
76138
|
-
hex:
|
|
76177
|
+
string: en_US_typeTemplate,
|
|
76178
|
+
method: en_US_typeTemplate,
|
|
76179
|
+
array: en_US_typeTemplate,
|
|
76180
|
+
object: en_US_typeTemplate,
|
|
76181
|
+
number: en_US_typeTemplate,
|
|
76182
|
+
date: en_US_typeTemplate,
|
|
76183
|
+
"boolean": en_US_typeTemplate,
|
|
76184
|
+
integer: en_US_typeTemplate,
|
|
76185
|
+
"float": en_US_typeTemplate,
|
|
76186
|
+
regexp: en_US_typeTemplate,
|
|
76187
|
+
email: en_US_typeTemplate,
|
|
76188
|
+
url: en_US_typeTemplate,
|
|
76189
|
+
hex: en_US_typeTemplate
|
|
76139
76190
|
},
|
|
76140
76191
|
string: {
|
|
76141
76192
|
len: '${label} must be ${len} characters',
|
|
@@ -76164,16 +76215,16 @@ var default_localeValues = {
|
|
|
76164
76215
|
preview: 'Preview'
|
|
76165
76216
|
}
|
|
76166
76217
|
};
|
|
76167
|
-
/* harmony default export */ var
|
|
76218
|
+
/* harmony default export */ var antd_es_locale_en_US = (en_US_localeValues);
|
|
76168
76219
|
;// CONCATENATED MODULE: ./node_modules/antd/es/modal/locale.js
|
|
76169
76220
|
|
|
76170
76221
|
|
|
76171
|
-
var runtimeLocale = extends_extends({},
|
|
76222
|
+
var runtimeLocale = extends_extends({}, antd_es_locale_en_US.Modal);
|
|
76172
76223
|
function changeConfirmLocale(newLocale) {
|
|
76173
76224
|
if (newLocale) {
|
|
76174
76225
|
runtimeLocale = extends_extends(extends_extends({}, runtimeLocale), newLocale);
|
|
76175
76226
|
} else {
|
|
76176
|
-
runtimeLocale = extends_extends({},
|
|
76227
|
+
runtimeLocale = extends_extends({}, antd_es_locale_en_US.Modal);
|
|
76177
76228
|
}
|
|
76178
76229
|
}
|
|
76179
76230
|
function getConfirmLocale() {
|
|
@@ -76212,9 +76263,6 @@ var LocaleProvider = function LocaleProvider(props) {
|
|
|
76212
76263
|
}, children);
|
|
76213
76264
|
};
|
|
76214
76265
|
/* harmony default export */ var locale_provider = (LocaleProvider);
|
|
76215
|
-
;// CONCATENATED MODULE: ./node_modules/antd/es/locale-provider/default.js
|
|
76216
|
-
|
|
76217
|
-
/* harmony default export */ var locale_provider_default = (locale_default);
|
|
76218
76266
|
;// CONCATENATED MODULE: ./node_modules/antd/es/locale-provider/LocaleReceiver.js
|
|
76219
76267
|
|
|
76220
76268
|
|
|
@@ -76228,7 +76276,7 @@ var LocaleReceiver = function LocaleReceiver(props) {
|
|
|
76228
76276
|
var antLocale = external_React_.useContext(locale_provider_context);
|
|
76229
76277
|
var getLocale = external_React_.useMemo(function () {
|
|
76230
76278
|
var _a;
|
|
76231
|
-
var locale = defaultLocale ||
|
|
76279
|
+
var locale = defaultLocale || antd_es_locale_en_US[componentName];
|
|
76232
76280
|
var localeFromContext = (_a = antLocale === null || antLocale === void 0 ? void 0 : antLocale[componentName]) !== null && _a !== void 0 ? _a : {};
|
|
76233
76281
|
return extends_extends(extends_extends({}, locale instanceof Function ? locale() : locale), localeFromContext || {});
|
|
76234
76282
|
}, [componentName, defaultLocale, antLocale]);
|
|
@@ -76236,7 +76284,7 @@ var LocaleReceiver = function LocaleReceiver(props) {
|
|
|
76236
76284
|
var localeCode = antLocale && antLocale.locale;
|
|
76237
76285
|
// Had use LocaleProvide but didn't set locale
|
|
76238
76286
|
if (antLocale && antLocale.exist && !localeCode) {
|
|
76239
|
-
return
|
|
76287
|
+
return antd_es_locale_en_US.locale;
|
|
76240
76288
|
}
|
|
76241
76289
|
return localeCode;
|
|
76242
76290
|
}, [antLocale]);
|
|
@@ -76523,7 +76571,7 @@ var ProviderChildren = function ProviderChildren(props) {
|
|
|
76523
76571
|
// Additional Form provider
|
|
76524
76572
|
var validateMessages = {};
|
|
76525
76573
|
if (locale) {
|
|
76526
|
-
validateMessages = ((_a = locale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || ((_b =
|
|
76574
|
+
validateMessages = ((_a = locale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || ((_b = antd_es_locale_en_US.Form) === null || _b === void 0 ? void 0 : _b.defaultValidateMessages) || {};
|
|
76527
76575
|
}
|
|
76528
76576
|
if (form && form.validateMessages) {
|
|
76529
76577
|
validateMessages = extends_extends(extends_extends({}, validateMessages), form.validateMessages);
|
|
@@ -76870,6 +76918,154 @@ var tupleNum = function tupleNum() {
|
|
|
76870
76918
|
}
|
|
76871
76919
|
return args;
|
|
76872
76920
|
};
|
|
76921
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/style/compact.js
|
|
76922
|
+
|
|
76923
|
+
var genSpaceCompactStyle = function genSpaceCompactStyle(token) {
|
|
76924
|
+
var componentCls = token.componentCls;
|
|
76925
|
+
return defineProperty_defineProperty({}, componentCls, {
|
|
76926
|
+
display: 'inline-flex',
|
|
76927
|
+
'&-block': {
|
|
76928
|
+
display: 'flex',
|
|
76929
|
+
width: '100%'
|
|
76930
|
+
},
|
|
76931
|
+
'&-vertical': {
|
|
76932
|
+
flexDirection: 'column'
|
|
76933
|
+
}
|
|
76934
|
+
});
|
|
76935
|
+
};
|
|
76936
|
+
// ============================== Export ==============================
|
|
76937
|
+
/* harmony default export */ var compact = (genSpaceCompactStyle);
|
|
76938
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/style/index.js
|
|
76939
|
+
|
|
76940
|
+
|
|
76941
|
+
|
|
76942
|
+
var genSpaceStyle = function genSpaceStyle(token) {
|
|
76943
|
+
var componentCls = token.componentCls;
|
|
76944
|
+
return defineProperty_defineProperty({}, componentCls, defineProperty_defineProperty({
|
|
76945
|
+
display: 'inline-flex',
|
|
76946
|
+
'&-rtl': {
|
|
76947
|
+
direction: 'rtl'
|
|
76948
|
+
},
|
|
76949
|
+
'&-vertical': {
|
|
76950
|
+
flexDirection: 'column'
|
|
76951
|
+
},
|
|
76952
|
+
'&-align': {
|
|
76953
|
+
flexDirection: 'column',
|
|
76954
|
+
'&-center': {
|
|
76955
|
+
alignItems: 'center'
|
|
76956
|
+
},
|
|
76957
|
+
'&-start': {
|
|
76958
|
+
alignItems: 'flex-start'
|
|
76959
|
+
},
|
|
76960
|
+
'&-end': {
|
|
76961
|
+
alignItems: 'flex-end'
|
|
76962
|
+
},
|
|
76963
|
+
'&-baseline': {
|
|
76964
|
+
alignItems: 'flex-baseline'
|
|
76965
|
+
}
|
|
76966
|
+
}
|
|
76967
|
+
}, "".concat(componentCls, "-space-item"), {
|
|
76968
|
+
'&:empty': {
|
|
76969
|
+
display: 'none'
|
|
76970
|
+
}
|
|
76971
|
+
}));
|
|
76972
|
+
};
|
|
76973
|
+
// ============================== Export ==============================
|
|
76974
|
+
/* harmony default export */ var space_style = (genComponentStyleHook('Space', function (token) {
|
|
76975
|
+
return [genSpaceStyle(token), compact(token)];
|
|
76976
|
+
}));
|
|
76977
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/Compact.js
|
|
76978
|
+
|
|
76979
|
+
|
|
76980
|
+
|
|
76981
|
+
var Compact_rest = undefined && undefined.__rest || function (s, e) {
|
|
76982
|
+
var t = {};
|
|
76983
|
+
for (var p in s) {
|
|
76984
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
76985
|
+
}
|
|
76986
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
76987
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
76988
|
+
}
|
|
76989
|
+
return t;
|
|
76990
|
+
};
|
|
76991
|
+
|
|
76992
|
+
|
|
76993
|
+
|
|
76994
|
+
|
|
76995
|
+
|
|
76996
|
+
var SpaceCompactItemContext = /*#__PURE__*/external_React_.createContext(null);
|
|
76997
|
+
var useCompactItemContext = function useCompactItemContext(prefixCls, direction) {
|
|
76998
|
+
var compactItemContext = external_React_.useContext(SpaceCompactItemContext);
|
|
76999
|
+
var compactItemClassnames = external_React_.useMemo(function () {
|
|
77000
|
+
var _classNames;
|
|
77001
|
+
if (!compactItemContext) return '';
|
|
77002
|
+
var compactDirection = compactItemContext.compactDirection,
|
|
77003
|
+
isFirstItem = compactItemContext.isFirstItem,
|
|
77004
|
+
isLastItem = compactItemContext.isLastItem;
|
|
77005
|
+
var separator = compactDirection === 'vertical' ? '-vertical-' : '-';
|
|
77006
|
+
return classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "item"), true), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "first-item"), isFirstItem), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "last-item"), isLastItem), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "item-rtl"), direction === 'rtl'), _classNames));
|
|
77007
|
+
}, [prefixCls, direction, compactItemContext]);
|
|
77008
|
+
return {
|
|
77009
|
+
compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize,
|
|
77010
|
+
compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection,
|
|
77011
|
+
compactItemClassnames: compactItemClassnames
|
|
77012
|
+
};
|
|
77013
|
+
};
|
|
77014
|
+
var NoCompactStyle = function NoCompactStyle(_ref) {
|
|
77015
|
+
var children = _ref.children;
|
|
77016
|
+
return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {
|
|
77017
|
+
value: null
|
|
77018
|
+
}, children);
|
|
77019
|
+
};
|
|
77020
|
+
var CompactItem = function CompactItem(_a) {
|
|
77021
|
+
var children = _a.children,
|
|
77022
|
+
otherProps = Compact_rest(_a, ["children"]);
|
|
77023
|
+
return /*#__PURE__*/external_React_.createElement(SpaceCompactItemContext.Provider, {
|
|
77024
|
+
value: otherProps
|
|
77025
|
+
}, children);
|
|
77026
|
+
};
|
|
77027
|
+
var Compact = function Compact(props) {
|
|
77028
|
+
var _classNames2;
|
|
77029
|
+
var _React$useContext = external_React_.useContext(context_ConfigContext),
|
|
77030
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
77031
|
+
directionConfig = _React$useContext.direction;
|
|
77032
|
+
var _props$size = props.size,
|
|
77033
|
+
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
77034
|
+
direction = props.direction,
|
|
77035
|
+
block = props.block,
|
|
77036
|
+
customizePrefixCls = props.prefixCls,
|
|
77037
|
+
className = props.className,
|
|
77038
|
+
children = props.children,
|
|
77039
|
+
restProps = Compact_rest(props, ["size", "direction", "block", "prefixCls", "className", "children"]);
|
|
77040
|
+
var prefixCls = getPrefixCls('space-compact', customizePrefixCls);
|
|
77041
|
+
var _useStyle = space_style(prefixCls),
|
|
77042
|
+
_useStyle2 = slicedToArray_slicedToArray(_useStyle, 2),
|
|
77043
|
+
wrapSSR = _useStyle2[0],
|
|
77044
|
+
hashId = _useStyle2[1];
|
|
77045
|
+
var clx = classnames_default()(prefixCls, hashId, (_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-vertical"), direction === 'vertical'), _classNames2), className);
|
|
77046
|
+
var compactItemContext = external_React_.useContext(SpaceCompactItemContext);
|
|
77047
|
+
var childNodes = toArray_toArray(children);
|
|
77048
|
+
var nodes = external_React_.useMemo(function () {
|
|
77049
|
+
return childNodes.map(function (child, i) {
|
|
77050
|
+
var key = child && child.key || "".concat(prefixCls, "-item-").concat(i);
|
|
77051
|
+
return /*#__PURE__*/external_React_.createElement(CompactItem, {
|
|
77052
|
+
key: key,
|
|
77053
|
+
compactSize: size,
|
|
77054
|
+
compactDirection: direction,
|
|
77055
|
+
isFirstItem: i === 0 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isFirstItem)),
|
|
77056
|
+
isLastItem: i === childNodes.length - 1 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isLastItem))
|
|
77057
|
+
}, child);
|
|
77058
|
+
});
|
|
77059
|
+
}, [size, childNodes, compactItemContext]);
|
|
77060
|
+
// =========================== Render ===========================
|
|
77061
|
+
if (childNodes.length === 0) {
|
|
77062
|
+
return null;
|
|
77063
|
+
}
|
|
77064
|
+
return wrapSSR( /*#__PURE__*/external_React_.createElement("div", extends_extends({
|
|
77065
|
+
className: clx
|
|
77066
|
+
}, restProps), nodes));
|
|
77067
|
+
};
|
|
77068
|
+
/* harmony default export */ var space_Compact = (Compact);
|
|
76873
77069
|
;// CONCATENATED MODULE: ./node_modules/antd/es/_util/raf.js
|
|
76874
77070
|
|
|
76875
77071
|
var id = 0;
|
|
@@ -77038,7 +77234,7 @@ var InternalWave = /*#__PURE__*/function (_React$Component) {
|
|
|
77038
77234
|
var _this$props = _this.props,
|
|
77039
77235
|
insertExtraNode = _this$props.insertExtraNode,
|
|
77040
77236
|
disabled = _this$props.disabled;
|
|
77041
|
-
if (disabled || !node || isHidden(node) || node.className.
|
|
77237
|
+
if (disabled || !node || isHidden(node) || node.className.includes('-leave')) {
|
|
77042
77238
|
return;
|
|
77043
77239
|
}
|
|
77044
77240
|
_this.extraNode = document.createElement('div');
|
|
@@ -77083,7 +77279,7 @@ var InternalWave = /*#__PURE__*/function (_React$Component) {
|
|
|
77083
77279
|
_this.resetEffect(e.target);
|
|
77084
77280
|
};
|
|
77085
77281
|
_this.bindAnimationEvent = function (node) {
|
|
77086
|
-
if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.
|
|
77282
|
+
if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.includes('disabled')) {
|
|
77087
77283
|
return;
|
|
77088
77284
|
}
|
|
77089
77285
|
var onClick = function onClick(e) {
|
|
@@ -77320,8 +77516,8 @@ var genButtonBorderStyle = function genButtonBorderStyle(buttonTypeCls, borderCo
|
|
|
77320
77516
|
var genGroupStyle = function genGroupStyle(token) {
|
|
77321
77517
|
var _componentCls, _ref2;
|
|
77322
77518
|
var componentCls = token.componentCls,
|
|
77323
|
-
|
|
77324
|
-
|
|
77519
|
+
fontSize = token.fontSize,
|
|
77520
|
+
lineWidth = token.lineWidth,
|
|
77325
77521
|
colorPrimaryHover = token.colorPrimaryHover,
|
|
77326
77522
|
colorErrorHover = token.colorErrorHover;
|
|
77327
77523
|
return defineProperty_defineProperty({}, "".concat(componentCls, "-group"), [(_ref2 = {
|
|
@@ -77333,7 +77529,7 @@ var genGroupStyle = function genGroupStyle(token) {
|
|
|
77333
77529
|
borderEndEndRadius: 0
|
|
77334
77530
|
}),
|
|
77335
77531
|
'&:not(:first-child)': defineProperty_defineProperty({
|
|
77336
|
-
marginInlineStart: -
|
|
77532
|
+
marginInlineStart: -lineWidth
|
|
77337
77533
|
}, "&, & > ".concat(componentCls), {
|
|
77338
77534
|
borderStartStartRadius: 0,
|
|
77339
77535
|
borderEndStartRadius: 0
|
|
@@ -77346,24 +77542,109 @@ var genGroupStyle = function genGroupStyle(token) {
|
|
|
77346
77542
|
}), defineProperty_defineProperty(_componentCls, '&[disabled]', {
|
|
77347
77543
|
zIndex: 0
|
|
77348
77544
|
}), _componentCls)), defineProperty_defineProperty(_ref2, "".concat(componentCls, "-icon-only"), {
|
|
77349
|
-
fontSize:
|
|
77545
|
+
fontSize: fontSize
|
|
77350
77546
|
}), _ref2),
|
|
77351
77547
|
// Border Color
|
|
77352
77548
|
genButtonBorderStyle("".concat(componentCls, "-primary"), colorPrimaryHover), genButtonBorderStyle("".concat(componentCls, "-danger"), colorErrorHover)]);
|
|
77353
77549
|
};
|
|
77354
77550
|
/* harmony default export */ var style_group = (genGroupStyle);
|
|
77551
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/style/compact-item.js
|
|
77552
|
+
|
|
77553
|
+
|
|
77554
|
+
// handle border collapse
|
|
77555
|
+
function compactItemBorder(token, borderedItemCls, popoverFocusedCls) {
|
|
77556
|
+
var childCombinator = borderedItemCls ? '> *' : '';
|
|
77557
|
+
return {
|
|
77558
|
+
'&-item:not(&-last-item)': {
|
|
77559
|
+
marginInlineEnd: -token.lineWidth
|
|
77560
|
+
},
|
|
77561
|
+
'&-item': extends_extends(extends_extends(defineProperty_defineProperty({}, "&:hover ".concat(childCombinator, ", &:focus ").concat(childCombinator, ", &:active ").concat(childCombinator), {
|
|
77562
|
+
zIndex: 2
|
|
77563
|
+
}), popoverFocusedCls ? defineProperty_defineProperty({}, "&".concat(popoverFocusedCls), {
|
|
77564
|
+
zIndex: 2
|
|
77565
|
+
}) : {}), defineProperty_defineProperty({}, "&[disabled] ".concat(childCombinator), {
|
|
77566
|
+
zIndex: 0
|
|
77567
|
+
}))
|
|
77568
|
+
};
|
|
77569
|
+
}
|
|
77570
|
+
// handle border-radius
|
|
77571
|
+
function compactItemBorderRadius(prefixCls, borderedElementCls) {
|
|
77572
|
+
var _ref2;
|
|
77573
|
+
var childCombinator = borderedElementCls ? "> ".concat(borderedElementCls) : '';
|
|
77574
|
+
return _ref2 = {}, defineProperty_defineProperty(_ref2, "&-item:not(&-first-item):not(&-last-item) ".concat(childCombinator), {
|
|
77575
|
+
borderRadius: 0
|
|
77576
|
+
}), defineProperty_defineProperty(_ref2, '&-item&-first-item', defineProperty_defineProperty({}, "& ".concat(childCombinator, ", &").concat(prefixCls, "-sm ").concat(childCombinator, ", &").concat(prefixCls, "-lg ").concat(childCombinator), {
|
|
77577
|
+
borderStartEndRadius: 0,
|
|
77578
|
+
borderEndEndRadius: 0
|
|
77579
|
+
})), defineProperty_defineProperty(_ref2, '&-item&-last-item', defineProperty_defineProperty({}, "& ".concat(childCombinator, ", &").concat(prefixCls, "-sm ").concat(childCombinator, ", &").concat(prefixCls, "-lg ").concat(childCombinator), {
|
|
77580
|
+
borderStartStartRadius: 0,
|
|
77581
|
+
borderEndStartRadius: 0
|
|
77582
|
+
})), _ref2;
|
|
77583
|
+
}
|
|
77584
|
+
function genCompactItemStyle(token, prefixCls, /** Some component borders are implemented on child elements like `Select` */
|
|
77585
|
+
borderedElementCls,
|
|
77586
|
+
/**
|
|
77587
|
+
* Some components have special `focus` className especially with popovers like `Select` and
|
|
77588
|
+
* `DatePicker`
|
|
77589
|
+
*/
|
|
77590
|
+
popoverFocusedCls) {
|
|
77591
|
+
return {
|
|
77592
|
+
'&-compact': extends_extends(extends_extends({}, compactItemBorder(token, borderedElementCls, popoverFocusedCls)), compactItemBorderRadius(prefixCls, borderedElementCls))
|
|
77593
|
+
};
|
|
77594
|
+
}
|
|
77595
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/style/compact-item-vertical.js
|
|
77596
|
+
|
|
77597
|
+
|
|
77598
|
+
function compactItemVerticalBorder(token) {
|
|
77599
|
+
return {
|
|
77600
|
+
// border collapse
|
|
77601
|
+
'&-item:not(&-last-item)': {
|
|
77602
|
+
marginBottom: -token.lineWidth
|
|
77603
|
+
},
|
|
77604
|
+
'&-item': {
|
|
77605
|
+
'&:hover,&:focus,&:active': {
|
|
77606
|
+
zIndex: 2
|
|
77607
|
+
},
|
|
77608
|
+
'&[disabled]': {
|
|
77609
|
+
zIndex: 0
|
|
77610
|
+
}
|
|
77611
|
+
}
|
|
77612
|
+
};
|
|
77613
|
+
}
|
|
77614
|
+
function compactItemBorderVerticalRadius(prefixCls) {
|
|
77615
|
+
return {
|
|
77616
|
+
'&-item:not(&-first-item):not(&-last-item)': {
|
|
77617
|
+
borderRadius: 0
|
|
77618
|
+
},
|
|
77619
|
+
'&-item&-first-item': defineProperty_defineProperty({}, "&, &".concat(prefixCls, "-sm, &").concat(prefixCls, "-lg"), {
|
|
77620
|
+
borderEndEndRadius: 0,
|
|
77621
|
+
borderEndStartRadius: 0
|
|
77622
|
+
}),
|
|
77623
|
+
'&-item&-last-item': defineProperty_defineProperty({}, "&, &".concat(prefixCls, "-sm, &").concat(prefixCls, "-lg"), {
|
|
77624
|
+
borderStartStartRadius: 0,
|
|
77625
|
+
borderStartEndRadius: 0
|
|
77626
|
+
})
|
|
77627
|
+
};
|
|
77628
|
+
}
|
|
77629
|
+
function genCompactItemVerticalStyle(token, prefixCls) {
|
|
77630
|
+
return {
|
|
77631
|
+
'&-compact-vertical': extends_extends(extends_extends({}, compactItemVerticalBorder(token)), compactItemBorderVerticalRadius(prefixCls))
|
|
77632
|
+
};
|
|
77633
|
+
}
|
|
77355
77634
|
;// CONCATENATED MODULE: ./node_modules/antd/es/button/style/index.js
|
|
77356
77635
|
|
|
77357
77636
|
|
|
77358
77637
|
|
|
77359
77638
|
|
|
77360
77639
|
|
|
77640
|
+
|
|
77641
|
+
|
|
77361
77642
|
// ============================== Shared ==============================
|
|
77362
77643
|
var genSharedButtonStyle = function genSharedButtonStyle(token) {
|
|
77363
|
-
var
|
|
77644
|
+
var _extends2, _extends3;
|
|
77364
77645
|
var componentCls = token.componentCls,
|
|
77365
77646
|
iconCls = token.iconCls;
|
|
77366
|
-
return defineProperty_defineProperty({}, componentCls, (
|
|
77647
|
+
return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends(extends_extends((_extends2 = {
|
|
77367
77648
|
outline: 'none',
|
|
77368
77649
|
position: 'relative',
|
|
77369
77650
|
display: 'inline-block',
|
|
@@ -77372,7 +77653,7 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
|
|
|
77372
77653
|
textAlign: 'center',
|
|
77373
77654
|
backgroundImage: 'none',
|
|
77374
77655
|
backgroundColor: 'transparent',
|
|
77375
|
-
border: "".concat(token.
|
|
77656
|
+
border: "".concat(token.lineWidth, "px ").concat(token.lineType, " transparent"),
|
|
77376
77657
|
cursor: 'pointer',
|
|
77377
77658
|
transition: "all ".concat(token.motionDurationFast, " ").concat(token.motionEaseInOut),
|
|
77378
77659
|
userSelect: 'none',
|
|
@@ -77382,11 +77663,44 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
|
|
|
77382
77663
|
'> span': {
|
|
77383
77664
|
display: 'inline-block'
|
|
77384
77665
|
}
|
|
77385
|
-
}, defineProperty_defineProperty(
|
|
77666
|
+
}, defineProperty_defineProperty(_extends2, "> ".concat(iconCls, " + span, > span + ").concat(iconCls), {
|
|
77386
77667
|
marginInlineStart: token.marginXS
|
|
77387
|
-
}), defineProperty_defineProperty(
|
|
77668
|
+
}), defineProperty_defineProperty(_extends2, "&".concat(componentCls, "-block"), {
|
|
77388
77669
|
width: '100%'
|
|
77389
|
-
}), defineProperty_defineProperty(
|
|
77670
|
+
}), defineProperty_defineProperty(_extends2, '&:not(:disabled)', extends_extends({}, genFocusStyle(token))), _extends2), genCompactItemStyle(token, componentCls)), genCompactItemVerticalStyle(token, componentCls)), (_extends3 = {
|
|
77671
|
+
// make `btn-icon-only` not too narrow
|
|
77672
|
+
'&-icon-only&-compact-item': {
|
|
77673
|
+
flex: 'none'
|
|
77674
|
+
}
|
|
77675
|
+
}, defineProperty_defineProperty(_extends3, "&-compact-item".concat(componentCls, "-primary"), {
|
|
77676
|
+
'&:not([disabled]) + &:not([disabled])': {
|
|
77677
|
+
position: 'relative',
|
|
77678
|
+
'&:after': {
|
|
77679
|
+
position: 'absolute',
|
|
77680
|
+
top: -token.lineWidth,
|
|
77681
|
+
insetInlineStart: -token.lineWidth,
|
|
77682
|
+
display: 'inline-block',
|
|
77683
|
+
width: token.lineWidth,
|
|
77684
|
+
height: "calc(100% + ".concat(token.lineWidth * 2, "px)"),
|
|
77685
|
+
backgroundColor: token.colorPrimaryBorder,
|
|
77686
|
+
content: '""'
|
|
77687
|
+
}
|
|
77688
|
+
}
|
|
77689
|
+
}), defineProperty_defineProperty(_extends3, '&-compact-vertical-item', defineProperty_defineProperty({}, "&".concat(componentCls, "-primary"), {
|
|
77690
|
+
'&:not([disabled]) + &:not([disabled])': {
|
|
77691
|
+
position: 'relative',
|
|
77692
|
+
'&:after': {
|
|
77693
|
+
position: 'absolute',
|
|
77694
|
+
top: -token.lineWidth,
|
|
77695
|
+
insetInlineStart: -token.lineWidth,
|
|
77696
|
+
display: 'inline-block',
|
|
77697
|
+
width: "calc(100% + ".concat(token.lineWidth * 2, "px)"),
|
|
77698
|
+
height: token.lineWidth,
|
|
77699
|
+
backgroundColor: token.colorPrimaryBorder,
|
|
77700
|
+
content: '""'
|
|
77701
|
+
}
|
|
77702
|
+
}
|
|
77703
|
+
})), _extends3)));
|
|
77390
77704
|
};
|
|
77391
77705
|
var genHoverActiveButtonStyle = function genHoverActiveButtonStyle(hoverStyle, activeStyle) {
|
|
77392
77706
|
return {
|
|
@@ -77561,8 +77875,8 @@ var genSizeButtonStyle = function genSizeButtonStyle(token) {
|
|
|
77561
77875
|
var sizePrefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
77562
77876
|
var componentCls = token.componentCls,
|
|
77563
77877
|
iconCls = token.iconCls;
|
|
77564
|
-
var paddingVertical = Math.max(0, (token.controlHeight - token.fontSize * token.lineHeight) / 2 - token.
|
|
77565
|
-
var paddingHorizontal = token.
|
|
77878
|
+
var paddingVertical = Math.max(0, (token.controlHeight - token.fontSize * token.lineHeight) / 2 - token.lineWidth);
|
|
77879
|
+
var paddingHorizontal = token.buttonPaddingHorizontal - token.lineWidth;
|
|
77566
77880
|
var iconOnlyCls = "".concat(componentCls, "-icon-only");
|
|
77567
77881
|
return [
|
|
77568
77882
|
// Size
|
|
@@ -77570,7 +77884,7 @@ var genSizeButtonStyle = function genSizeButtonStyle(token) {
|
|
|
77570
77884
|
fontSize: token.fontSize,
|
|
77571
77885
|
height: token.controlHeight,
|
|
77572
77886
|
padding: "".concat(paddingVertical, "px ").concat(paddingHorizontal, "px"),
|
|
77573
|
-
borderRadius: token.
|
|
77887
|
+
borderRadius: token.borderRadius
|
|
77574
77888
|
}, defineProperty_defineProperty(_$concat$concat, "&".concat(iconOnlyCls), {
|
|
77575
77889
|
width: token.controlHeight,
|
|
77576
77890
|
paddingInlineStart: 0,
|
|
@@ -77596,7 +77910,8 @@ var genSizeSmallButtonStyle = function genSizeSmallButtonStyle(token) {
|
|
|
77596
77910
|
var smallToken = statistic_merge(token, {
|
|
77597
77911
|
controlHeight: token.controlHeightSM,
|
|
77598
77912
|
padding: token.paddingXS,
|
|
77599
|
-
|
|
77913
|
+
buttonPaddingHorizontal: 8,
|
|
77914
|
+
borderRadius: token.borderRadiusSM
|
|
77600
77915
|
});
|
|
77601
77916
|
return genSizeButtonStyle(smallToken, "".concat(token.componentCls, "-sm"));
|
|
77602
77917
|
};
|
|
@@ -77604,15 +77919,17 @@ var genSizeLargeButtonStyle = function genSizeLargeButtonStyle(token) {
|
|
|
77604
77919
|
var largeToken = statistic_merge(token, {
|
|
77605
77920
|
controlHeight: token.controlHeightLG,
|
|
77606
77921
|
fontSize: token.fontSizeLG,
|
|
77607
|
-
|
|
77922
|
+
borderRadius: token.borderRadiusLG
|
|
77608
77923
|
});
|
|
77609
77924
|
return genSizeButtonStyle(largeToken, "".concat(token.componentCls, "-lg"));
|
|
77610
77925
|
};
|
|
77611
77926
|
// ============================== Export ==============================
|
|
77612
77927
|
/* harmony default export */ var button_style = (genComponentStyleHook('Button', function (token) {
|
|
77613
|
-
var controlTmpOutline = token.controlTmpOutline
|
|
77928
|
+
var controlTmpOutline = token.controlTmpOutline,
|
|
77929
|
+
paddingContentHorizontal = token.paddingContentHorizontal;
|
|
77614
77930
|
var buttonToken = statistic_merge(token, {
|
|
77615
|
-
colorOutlineDefault: controlTmpOutline
|
|
77931
|
+
colorOutlineDefault: controlTmpOutline,
|
|
77932
|
+
buttonPaddingHorizontal: paddingContentHorizontal
|
|
77616
77933
|
});
|
|
77617
77934
|
return [
|
|
77618
77935
|
// Shared
|
|
@@ -77652,6 +77969,7 @@ var button_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
77652
77969
|
|
|
77653
77970
|
|
|
77654
77971
|
|
|
77972
|
+
|
|
77655
77973
|
// CSSINJS
|
|
77656
77974
|
|
|
77657
77975
|
var rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/;
|
|
@@ -77662,9 +77980,6 @@ function isString(str) {
|
|
|
77662
77980
|
function isUnBorderedButtonType(type) {
|
|
77663
77981
|
return type === 'text' || type === 'link';
|
|
77664
77982
|
}
|
|
77665
|
-
function isReactFragment(node) {
|
|
77666
|
-
return /*#__PURE__*/ /*#__PURE__*/external_React_.isValidElement(node) && node.type === external_React_.Fragment;
|
|
77667
|
-
}
|
|
77668
77983
|
// Insert one space between two chinese characters automatically.
|
|
77669
77984
|
function insertSpace(child, needInserted) {
|
|
77670
77985
|
// Check the child if is undefined or null.
|
|
@@ -77681,7 +77996,7 @@ function insertSpace(child, needInserted) {
|
|
|
77681
77996
|
if (typeof child === 'string') {
|
|
77682
77997
|
return isTwoCNChar(child) ? /*#__PURE__*/external_React_.createElement("span", null, child.split('').join(SPACE)) : /*#__PURE__*/external_React_.createElement("span", null, child);
|
|
77683
77998
|
}
|
|
77684
|
-
if (
|
|
77999
|
+
if (isFragment(child)) {
|
|
77685
78000
|
return /*#__PURE__*/external_React_.createElement("span", null, child);
|
|
77686
78001
|
}
|
|
77687
78002
|
return child;
|
|
@@ -77816,16 +78131,19 @@ var InternalButton = function InternalButton(props, ref) {
|
|
|
77816
78131
|
false ? 0 : void 0;
|
|
77817
78132
|
false ? 0 : void 0;
|
|
77818
78133
|
var autoInsertSpace = autoInsertSpaceInButton !== false;
|
|
78134
|
+
var _useCompactItemContex = useCompactItemContext(prefixCls, direction),
|
|
78135
|
+
compactSize = _useCompactItemContex.compactSize,
|
|
78136
|
+
compactItemClassnames = _useCompactItemContex.compactItemClassnames;
|
|
77819
78137
|
var sizeClassNameMap = {
|
|
77820
78138
|
large: 'lg',
|
|
77821
78139
|
small: 'sm',
|
|
77822
78140
|
middle: undefined
|
|
77823
78141
|
};
|
|
77824
|
-
var sizeFullname = groupSize || customizeSize || size;
|
|
78142
|
+
var sizeFullname = compactSize || groupSize || customizeSize || size;
|
|
77825
78143
|
var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
|
|
77826
78144
|
var iconType = innerLoading ? 'loading' : icon;
|
|
77827
78145
|
var linkButtonRestProps = omit_omit(rest, ['navigate']);
|
|
77828
|
-
var classes = classnames_default()(prefixCls, hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(type), type), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnBorderedButtonType(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace && !innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), linkButtonRestProps.href !== undefined && mergedDisabled), _classNames), className);
|
|
78146
|
+
var classes = classnames_default()(prefixCls, hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(type), type), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnBorderedButtonType(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace && !innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), linkButtonRestProps.href !== undefined && mergedDisabled), _classNames), compactItemClassnames, className);
|
|
77829
78147
|
var iconNode = icon && !innerLoading ? icon : /*#__PURE__*/external_React_.createElement(button_LoadingIcon, {
|
|
77830
78148
|
existIcon: !!icon,
|
|
77831
78149
|
prefixCls: prefixCls,
|
|
@@ -77861,6 +78179,219 @@ Button.__ANT_BUTTON = true;
|
|
|
77861
78179
|
;// CONCATENATED MODULE: ./node_modules/antd/es/button/index.js
|
|
77862
78180
|
|
|
77863
78181
|
/* harmony default export */ var es_button = (button_button);
|
|
78182
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/_util/styleChecker.js
|
|
78183
|
+
|
|
78184
|
+
|
|
78185
|
+
var canUseDocElement = function canUseDocElement() {
|
|
78186
|
+
return canUseDom() && window.document.documentElement;
|
|
78187
|
+
};
|
|
78188
|
+
|
|
78189
|
+
var flexGapSupported;
|
|
78190
|
+
var detectFlexGapSupported = function detectFlexGapSupported() {
|
|
78191
|
+
if (!canUseDocElement()) {
|
|
78192
|
+
return false;
|
|
78193
|
+
}
|
|
78194
|
+
if (flexGapSupported !== undefined) {
|
|
78195
|
+
return flexGapSupported;
|
|
78196
|
+
}
|
|
78197
|
+
// create flex container with row-gap set
|
|
78198
|
+
var flex = document.createElement('div');
|
|
78199
|
+
flex.style.display = 'flex';
|
|
78200
|
+
flex.style.flexDirection = 'column';
|
|
78201
|
+
flex.style.rowGap = '1px';
|
|
78202
|
+
// create two, elements inside it
|
|
78203
|
+
flex.appendChild(document.createElement('div'));
|
|
78204
|
+
flex.appendChild(document.createElement('div'));
|
|
78205
|
+
// append to the DOM (needed to obtain scrollHeight)
|
|
78206
|
+
document.body.appendChild(flex);
|
|
78207
|
+
flexGapSupported = flex.scrollHeight === 1; // flex container should be 1px high from the row-gap
|
|
78208
|
+
document.body.removeChild(flex);
|
|
78209
|
+
return flexGapSupported;
|
|
78210
|
+
};
|
|
78211
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/_util/hooks/useFlexGapSupport.js
|
|
78212
|
+
|
|
78213
|
+
|
|
78214
|
+
|
|
78215
|
+
/* harmony default export */ var useFlexGapSupport = (function () {
|
|
78216
|
+
var _React$useState = external_React_.useState(false),
|
|
78217
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
78218
|
+
flexible = _React$useState2[0],
|
|
78219
|
+
setFlexible = _React$useState2[1];
|
|
78220
|
+
external_React_.useEffect(function () {
|
|
78221
|
+
setFlexible(detectFlexGapSupported());
|
|
78222
|
+
}, []);
|
|
78223
|
+
return flexible;
|
|
78224
|
+
});
|
|
78225
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/Item.js
|
|
78226
|
+
|
|
78227
|
+
|
|
78228
|
+
|
|
78229
|
+
|
|
78230
|
+
function Item(_ref) {
|
|
78231
|
+
var className = _ref.className,
|
|
78232
|
+
direction = _ref.direction,
|
|
78233
|
+
index = _ref.index,
|
|
78234
|
+
marginDirection = _ref.marginDirection,
|
|
78235
|
+
children = _ref.children,
|
|
78236
|
+
split = _ref.split,
|
|
78237
|
+
wrap = _ref.wrap;
|
|
78238
|
+
var _React$useContext = external_React_.useContext(SpaceContext),
|
|
78239
|
+
horizontalSize = _React$useContext.horizontalSize,
|
|
78240
|
+
verticalSize = _React$useContext.verticalSize,
|
|
78241
|
+
latestIndex = _React$useContext.latestIndex,
|
|
78242
|
+
supportFlexGap = _React$useContext.supportFlexGap;
|
|
78243
|
+
var style = {};
|
|
78244
|
+
if (!supportFlexGap) {
|
|
78245
|
+
if (direction === 'vertical') {
|
|
78246
|
+
if (index < latestIndex) {
|
|
78247
|
+
style = {
|
|
78248
|
+
marginBottom: horizontalSize / (split ? 2 : 1)
|
|
78249
|
+
};
|
|
78250
|
+
}
|
|
78251
|
+
} else {
|
|
78252
|
+
style = extends_extends(extends_extends({}, index < latestIndex && defineProperty_defineProperty({}, marginDirection, horizontalSize / (split ? 2 : 1))), wrap && {
|
|
78253
|
+
paddingBottom: verticalSize
|
|
78254
|
+
});
|
|
78255
|
+
}
|
|
78256
|
+
}
|
|
78257
|
+
if (children === null || children === undefined) {
|
|
78258
|
+
return null;
|
|
78259
|
+
}
|
|
78260
|
+
return /*#__PURE__*/external_React_.createElement(external_React_.Fragment, null, /*#__PURE__*/external_React_.createElement("div", {
|
|
78261
|
+
className: className,
|
|
78262
|
+
style: style
|
|
78263
|
+
}, children), index < latestIndex && split && /*#__PURE__*/external_React_.createElement("span", {
|
|
78264
|
+
className: "".concat(className, "-split"),
|
|
78265
|
+
style: style
|
|
78266
|
+
}, split));
|
|
78267
|
+
}
|
|
78268
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/index.js
|
|
78269
|
+
|
|
78270
|
+
|
|
78271
|
+
|
|
78272
|
+
var space_rest = undefined && undefined.__rest || function (s, e) {
|
|
78273
|
+
var t = {};
|
|
78274
|
+
for (var p in s) {
|
|
78275
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
78276
|
+
}
|
|
78277
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
78278
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
78279
|
+
}
|
|
78280
|
+
return t;
|
|
78281
|
+
};
|
|
78282
|
+
|
|
78283
|
+
|
|
78284
|
+
|
|
78285
|
+
|
|
78286
|
+
|
|
78287
|
+
|
|
78288
|
+
|
|
78289
|
+
|
|
78290
|
+
var SpaceContext = /*#__PURE__*/external_React_.createContext({
|
|
78291
|
+
latestIndex: 0,
|
|
78292
|
+
horizontalSize: 0,
|
|
78293
|
+
verticalSize: 0,
|
|
78294
|
+
supportFlexGap: false
|
|
78295
|
+
});
|
|
78296
|
+
var spaceSize = {
|
|
78297
|
+
small: 8,
|
|
78298
|
+
middle: 16,
|
|
78299
|
+
large: 24
|
|
78300
|
+
};
|
|
78301
|
+
function getNumberSize(size) {
|
|
78302
|
+
return typeof size === 'string' ? spaceSize[size] : size || 0;
|
|
78303
|
+
}
|
|
78304
|
+
var Space = function Space(props) {
|
|
78305
|
+
var _classNames;
|
|
78306
|
+
var _React$useContext = external_React_.useContext(context_ConfigContext),
|
|
78307
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
78308
|
+
space = _React$useContext.space,
|
|
78309
|
+
directionConfig = _React$useContext.direction;
|
|
78310
|
+
var _props$size = props.size,
|
|
78311
|
+
size = _props$size === void 0 ? (space === null || space === void 0 ? void 0 : space.size) || 'small' : _props$size,
|
|
78312
|
+
align = props.align,
|
|
78313
|
+
className = props.className,
|
|
78314
|
+
children = props.children,
|
|
78315
|
+
_props$direction = props.direction,
|
|
78316
|
+
direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
|
|
78317
|
+
customizePrefixCls = props.prefixCls,
|
|
78318
|
+
split = props.split,
|
|
78319
|
+
style = props.style,
|
|
78320
|
+
_props$wrap = props.wrap,
|
|
78321
|
+
wrap = _props$wrap === void 0 ? false : _props$wrap,
|
|
78322
|
+
otherProps = space_rest(props, ["size", "align", "className", "children", "direction", "prefixCls", "split", "style", "wrap"]);
|
|
78323
|
+
var supportFlexGap = useFlexGapSupport();
|
|
78324
|
+
var _React$useMemo = external_React_.useMemo(function () {
|
|
78325
|
+
return (Array.isArray(size) ? size : [size, size]).map(function (item) {
|
|
78326
|
+
return getNumberSize(item);
|
|
78327
|
+
});
|
|
78328
|
+
}, [size]),
|
|
78329
|
+
_React$useMemo2 = slicedToArray_slicedToArray(_React$useMemo, 2),
|
|
78330
|
+
horizontalSize = _React$useMemo2[0],
|
|
78331
|
+
verticalSize = _React$useMemo2[1];
|
|
78332
|
+
var childNodes = toArray_toArray(children, {
|
|
78333
|
+
keepEmpty: true
|
|
78334
|
+
});
|
|
78335
|
+
var mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
|
|
78336
|
+
var prefixCls = getPrefixCls('space', customizePrefixCls);
|
|
78337
|
+
var _useStyle = space_style(prefixCls),
|
|
78338
|
+
_useStyle2 = slicedToArray_slicedToArray(_useStyle, 2),
|
|
78339
|
+
wrapSSR = _useStyle2[0],
|
|
78340
|
+
hashId = _useStyle2[1];
|
|
78341
|
+
var cn = classnames_default()(prefixCls, hashId, "".concat(prefixCls, "-").concat(direction), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-align-").concat(mergedAlign), mergedAlign), _classNames), className);
|
|
78342
|
+
var itemClassName = "".concat(prefixCls, "-item");
|
|
78343
|
+
var marginDirection = directionConfig === 'rtl' ? 'marginLeft' : 'marginRight';
|
|
78344
|
+
// Calculate latest one
|
|
78345
|
+
var latestIndex = 0;
|
|
78346
|
+
var nodes = childNodes.map(function (child, i) {
|
|
78347
|
+
if (child !== null && child !== undefined) {
|
|
78348
|
+
latestIndex = i;
|
|
78349
|
+
}
|
|
78350
|
+
var key = child && child.key || "".concat(itemClassName, "-").concat(i);
|
|
78351
|
+
return /*#__PURE__*/external_React_.createElement(Item, {
|
|
78352
|
+
className: itemClassName,
|
|
78353
|
+
key: key,
|
|
78354
|
+
direction: direction,
|
|
78355
|
+
index: i,
|
|
78356
|
+
marginDirection: marginDirection,
|
|
78357
|
+
split: split,
|
|
78358
|
+
wrap: wrap
|
|
78359
|
+
}, child);
|
|
78360
|
+
});
|
|
78361
|
+
var spaceContext = external_React_.useMemo(function () {
|
|
78362
|
+
return {
|
|
78363
|
+
horizontalSize: horizontalSize,
|
|
78364
|
+
verticalSize: verticalSize,
|
|
78365
|
+
latestIndex: latestIndex,
|
|
78366
|
+
supportFlexGap: supportFlexGap
|
|
78367
|
+
};
|
|
78368
|
+
}, [horizontalSize, verticalSize, latestIndex, supportFlexGap]);
|
|
78369
|
+
// =========================== Render ===========================
|
|
78370
|
+
if (childNodes.length === 0) {
|
|
78371
|
+
return null;
|
|
78372
|
+
}
|
|
78373
|
+
var gapStyle = {};
|
|
78374
|
+
if (wrap) {
|
|
78375
|
+
gapStyle.flexWrap = 'wrap';
|
|
78376
|
+
// Patch for gap not support
|
|
78377
|
+
if (!supportFlexGap) {
|
|
78378
|
+
gapStyle.marginBottom = -verticalSize;
|
|
78379
|
+
}
|
|
78380
|
+
}
|
|
78381
|
+
if (supportFlexGap) {
|
|
78382
|
+
gapStyle.columnGap = horizontalSize;
|
|
78383
|
+
gapStyle.rowGap = verticalSize;
|
|
78384
|
+
}
|
|
78385
|
+
return wrapSSR( /*#__PURE__*/external_React_.createElement("div", extends_extends({
|
|
78386
|
+
className: cn,
|
|
78387
|
+
style: extends_extends(extends_extends({}, gapStyle), style)
|
|
78388
|
+
}, otherProps), /*#__PURE__*/external_React_.createElement(SpaceContext.Provider, {
|
|
78389
|
+
value: spaceContext
|
|
78390
|
+
}, nodes)));
|
|
78391
|
+
};
|
|
78392
|
+
var CompoundedSpace = Space;
|
|
78393
|
+
CompoundedSpace.Compact = space_Compact;
|
|
78394
|
+
/* harmony default export */ var space = (CompoundedSpace);
|
|
77864
78395
|
;// CONCATENATED MODULE: ./node_modules/antd/es/style/roundedArrow.js
|
|
77865
78396
|
var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor, boxShadow) {
|
|
77866
78397
|
var unitWidth = width / 2;
|
|
@@ -77929,9 +78460,9 @@ function getArrowOffset(options) {
|
|
|
77929
78460
|
var maxVerticalContentRadius = MAX_VERTICAL_CONTENT_RADIUS;
|
|
77930
78461
|
var sizePopupArrow = options.sizePopupArrow,
|
|
77931
78462
|
contentRadius = options.contentRadius,
|
|
77932
|
-
|
|
78463
|
+
borderRadiusOuter = options.borderRadiusOuter,
|
|
77933
78464
|
limitVerticalRadius = options.limitVerticalRadius;
|
|
77934
|
-
var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(
|
|
78465
|
+
var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(borderRadiusOuter * (Math.sqrt(2) - 1));
|
|
77935
78466
|
var dropdownArrowOffset = (contentRadius > 12 ? contentRadius + 2 : 12) - arrowInnerOffset;
|
|
77936
78467
|
var dropdownArrowOffsetVertical = limitVerticalRadius ? maxVerticalContentRadius - arrowInnerOffset : dropdownArrowOffset;
|
|
77937
78468
|
return {
|
|
@@ -77944,28 +78475,28 @@ function getArrowStyle(token, options) {
|
|
|
77944
78475
|
var componentCls = token.componentCls,
|
|
77945
78476
|
sizePopupArrow = token.sizePopupArrow,
|
|
77946
78477
|
marginXXS = token.marginXXS,
|
|
77947
|
-
|
|
77948
|
-
|
|
78478
|
+
borderRadiusXS = token.borderRadiusXS,
|
|
78479
|
+
borderRadiusOuter = token.borderRadiusOuter,
|
|
77949
78480
|
boxShadowPopoverArrow = token.boxShadowPopoverArrow;
|
|
77950
78481
|
var colorBg = options.colorBg,
|
|
77951
78482
|
showArrowCls = options.showArrowCls,
|
|
77952
78483
|
_options$contentRadiu = options.contentRadius,
|
|
77953
|
-
contentRadius = _options$contentRadiu === void 0 ? token.
|
|
78484
|
+
contentRadius = _options$contentRadiu === void 0 ? token.borderRadiusLG : _options$contentRadiu,
|
|
77954
78485
|
limitVerticalRadius = options.limitVerticalRadius;
|
|
77955
78486
|
var _getArrowOffset = getArrowOffset({
|
|
77956
78487
|
sizePopupArrow: sizePopupArrow,
|
|
77957
78488
|
contentRadius: contentRadius,
|
|
77958
|
-
|
|
78489
|
+
borderRadiusOuter: borderRadiusOuter,
|
|
77959
78490
|
limitVerticalRadius: limitVerticalRadius
|
|
77960
78491
|
}),
|
|
77961
78492
|
dropdownArrowOffsetVertical = _getArrowOffset.dropdownArrowOffsetVertical,
|
|
77962
78493
|
dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
|
|
77963
|
-
var dropdownArrowDistance = sizePopupArrow + marginXXS;
|
|
78494
|
+
var dropdownArrowDistance = sizePopupArrow / 2 + marginXXS;
|
|
77964
78495
|
return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-arrow"), [extends_extends(extends_extends({
|
|
77965
78496
|
position: 'absolute',
|
|
77966
78497
|
zIndex: 1,
|
|
77967
78498
|
display: 'block'
|
|
77968
|
-
}, roundedArrow(sizePopupArrow,
|
|
78499
|
+
}, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBg, boxShadowPopoverArrow)), {
|
|
77969
78500
|
'&:before': {
|
|
77970
78501
|
background: colorBg
|
|
77971
78502
|
}
|
|
@@ -78409,9 +78940,9 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78409
78940
|
motionDurationMid = token.motionDurationMid,
|
|
78410
78941
|
motionDurationFast = token.motionDurationFast,
|
|
78411
78942
|
dropdownPaddingVertical = token.dropdownPaddingVertical,
|
|
78412
|
-
|
|
78943
|
+
fontSize = token.fontSize,
|
|
78413
78944
|
dropdownEdgeChildPadding = token.dropdownEdgeChildPadding,
|
|
78414
|
-
|
|
78945
|
+
borderRadius = token.borderRadius,
|
|
78415
78946
|
colorTextDisabled = token.colorTextDisabled,
|
|
78416
78947
|
fontSizeIcon = token.fontSizeIcon,
|
|
78417
78948
|
controlPaddingHorizontal = token.controlPaddingHorizontal,
|
|
@@ -78429,7 +78960,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78429
78960
|
// A placeholder out of dropdown visible range to avoid close when user moving
|
|
78430
78961
|
'&::before': {
|
|
78431
78962
|
position: 'absolute',
|
|
78432
|
-
insetBlock: -dropdownArrowDistance + sizePopupArrow,
|
|
78963
|
+
insetBlock: -dropdownArrowDistance + sizePopupArrow / 2,
|
|
78433
78964
|
// insetInlineStart: -7, // FIXME: Seems not work for hidden element
|
|
78434
78965
|
zIndex: -9999,
|
|
78435
78966
|
opacity: 0.0001,
|
|
@@ -78453,7 +78984,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78453
78984
|
position: 'absolute',
|
|
78454
78985
|
zIndex: 1,
|
|
78455
78986
|
display: 'block'
|
|
78456
|
-
}, roundedArrow(sizePopupArrow, token.
|
|
78987
|
+
}, roundedArrow(sizePopupArrow, token.borderRadiusXS, token.borderRadiusOuter, colorBgElevated, boxShadowPopoverArrow))), defineProperty_defineProperty(_extends2, "\n &-placement-top > ".concat(componentCls, "-arrow,\n &-placement-topLeft > ").concat(componentCls, "-arrow,\n &-placement-topRight > ").concat(componentCls, "-arrow\n "), {
|
|
78457
78988
|
bottom: dropdownArrowDistance,
|
|
78458
78989
|
transform: 'translateY(100%) rotate(180deg)'
|
|
78459
78990
|
}), defineProperty_defineProperty(_extends2, "&-placement-top > ".concat(componentCls, "-arrow"), {
|
|
@@ -78519,7 +79050,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78519
79050
|
listStyleType: 'none',
|
|
78520
79051
|
backgroundColor: colorBgElevated,
|
|
78521
79052
|
backgroundClip: 'padding-box',
|
|
78522
|
-
borderRadius: token.
|
|
79053
|
+
borderRadius: token.borderRadiusLG,
|
|
78523
79054
|
outline: 'none',
|
|
78524
79055
|
boxShadow: token.boxShadowSecondary
|
|
78525
79056
|
}, genFocusStyle(token)), (_extends5 = {}, defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-group-title"), {
|
|
@@ -78530,9 +79061,9 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78530
79061
|
position: 'relative',
|
|
78531
79062
|
display: 'flex',
|
|
78532
79063
|
alignItems: 'center',
|
|
78533
|
-
borderRadius: token.
|
|
79064
|
+
borderRadius: token.borderRadiusSM
|
|
78534
79065
|
}), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-icon"), {
|
|
78535
|
-
minWidth:
|
|
79066
|
+
minWidth: fontSize,
|
|
78536
79067
|
marginInlineEnd: token.marginXS,
|
|
78537
79068
|
fontSize: token.fontSizeSM
|
|
78538
79069
|
}), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-title-content"), {
|
|
@@ -78555,15 +79086,15 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78555
79086
|
padding: "".concat(dropdownPaddingVertical, "px ").concat(controlPaddingHorizontal, "px"),
|
|
78556
79087
|
color: token.colorText,
|
|
78557
79088
|
fontWeight: 'normal',
|
|
78558
|
-
fontSize:
|
|
79089
|
+
fontSize: fontSize,
|
|
78559
79090
|
lineHeight: token.lineHeight,
|
|
78560
79091
|
cursor: 'pointer',
|
|
78561
79092
|
transition: "all ".concat(motionDurationFast),
|
|
78562
79093
|
'&:first-child': !dropdownEdgeChildPadding ? {
|
|
78563
|
-
borderRadius: "".concat(
|
|
79094
|
+
borderRadius: "".concat(borderRadius, "px ").concat(borderRadius, "px 0 0")
|
|
78564
79095
|
} : [],
|
|
78565
79096
|
'&:last-child': !dropdownEdgeChildPadding ? {
|
|
78566
|
-
borderRadius: "0 0 ".concat(
|
|
79097
|
+
borderRadius: "0 0 ".concat(borderRadius, "px ").concat(borderRadius, "px")
|
|
78567
79098
|
} : []
|
|
78568
79099
|
}, "&:hover, &-active", {
|
|
78569
79100
|
backgroundColor: token.controlItemBgHover
|
|
@@ -78626,23 +79157,23 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78626
79157
|
var marginXXS = token.marginXXS,
|
|
78627
79158
|
sizePopupArrow = token.sizePopupArrow,
|
|
78628
79159
|
controlHeight = token.controlHeight,
|
|
78629
|
-
|
|
79160
|
+
fontSize = token.fontSize,
|
|
78630
79161
|
lineHeight = token.lineHeight,
|
|
78631
79162
|
paddingXXS = token.paddingXXS,
|
|
78632
79163
|
componentCls = token.componentCls,
|
|
78633
|
-
|
|
78634
|
-
|
|
78635
|
-
var dropdownPaddingVertical = (controlHeight -
|
|
79164
|
+
borderRadiusOuter = token.borderRadiusOuter,
|
|
79165
|
+
borderRadiusLG = token.borderRadiusLG;
|
|
79166
|
+
var dropdownPaddingVertical = (controlHeight - fontSize * lineHeight) / 2;
|
|
78636
79167
|
var _getArrowOffset = getArrowOffset({
|
|
78637
79168
|
sizePopupArrow: sizePopupArrow,
|
|
78638
|
-
contentRadius:
|
|
78639
|
-
|
|
79169
|
+
contentRadius: borderRadiusLG,
|
|
79170
|
+
borderRadiusOuter: borderRadiusOuter
|
|
78640
79171
|
}),
|
|
78641
79172
|
dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
|
|
78642
79173
|
var dropdownToken = statistic_merge(token, {
|
|
78643
79174
|
menuCls: "".concat(componentCls, "-menu"),
|
|
78644
79175
|
rootPrefixCls: rootPrefixCls,
|
|
78645
|
-
dropdownArrowDistance: sizePopupArrow + marginXXS,
|
|
79176
|
+
dropdownArrowDistance: sizePopupArrow / 2 + marginXXS,
|
|
78646
79177
|
dropdownArrowOffset: dropdownArrowOffset,
|
|
78647
79178
|
dropdownPaddingVertical: dropdownPaddingVertical,
|
|
78648
79179
|
dropdownEdgeChildPadding: paddingXXS
|
|
@@ -78673,7 +79204,8 @@ var dropdown_button_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
78673
79204
|
|
|
78674
79205
|
|
|
78675
79206
|
|
|
78676
|
-
|
|
79207
|
+
|
|
79208
|
+
|
|
78677
79209
|
var dropdown_button_DropdownButton = function DropdownButton(props) {
|
|
78678
79210
|
var _React$useContext = external_React_.useContext(context_ConfigContext),
|
|
78679
79211
|
getContextPopupContainer = _React$useContext.getPopupContainer,
|
|
@@ -78729,6 +79261,10 @@ var dropdown_button_DropdownButton = function DropdownButton(props) {
|
|
|
78729
79261
|
overlayStyle: overlayStyle,
|
|
78730
79262
|
destroyPopupOnHide: destroyPopupOnHide
|
|
78731
79263
|
};
|
|
79264
|
+
var _useCompactItemContex = useCompactItemContext(prefixCls, direction),
|
|
79265
|
+
compactSize = _useCompactItemContex.compactSize,
|
|
79266
|
+
compactItemClassnames = _useCompactItemContex.compactItemClassnames;
|
|
79267
|
+
var classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
|
|
78732
79268
|
if ('open' in props) {
|
|
78733
79269
|
dropdownProps.open = open;
|
|
78734
79270
|
}
|
|
@@ -78756,9 +79292,11 @@ var dropdown_button_DropdownButton = function DropdownButton(props) {
|
|
|
78756
79292
|
_buttonsRender2 = slicedToArray_slicedToArray(_buttonsRender, 2),
|
|
78757
79293
|
leftButtonToRender = _buttonsRender2[0],
|
|
78758
79294
|
rightButtonToRender = _buttonsRender2[1];
|
|
78759
|
-
return wrapSSR( /*#__PURE__*/external_React_.createElement(
|
|
78760
|
-
className:
|
|
78761
|
-
|
|
79295
|
+
return wrapSSR( /*#__PURE__*/external_React_.createElement(space.Compact, extends_extends({
|
|
79296
|
+
className: classes,
|
|
79297
|
+
size: compactSize,
|
|
79298
|
+
block: true
|
|
79299
|
+
}, restProps), leftButtonToRender, /*#__PURE__*/external_React_.createElement(dropdown, extends_extends({}, dropdownProps), rightButtonToRender)));
|
|
78762
79300
|
};
|
|
78763
79301
|
dropdown_button_DropdownButton.__ANT_BUTTON = true;
|
|
78764
79302
|
/* harmony default export */ var dropdown_button = (dropdown_button_DropdownButton);
|
|
@@ -78997,9 +79535,9 @@ function InternalItem(props, ref) {
|
|
|
78997
79535
|
}
|
|
78998
79536
|
return itemNode;
|
|
78999
79537
|
}
|
|
79000
|
-
var
|
|
79001
|
-
|
|
79002
|
-
/* harmony default export */ var es_Item = (
|
|
79538
|
+
var Item_Item = /*#__PURE__*/external_React_.forwardRef(InternalItem);
|
|
79539
|
+
Item_Item.displayName = 'Item';
|
|
79540
|
+
/* harmony default export */ var es_Item = (Item_Item);
|
|
79003
79541
|
;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/hooks/useBatchFrameState.js
|
|
79004
79542
|
|
|
79005
79543
|
|
|
@@ -81686,6 +82224,7 @@ var getThemeStyle = function getThemeStyle(token, themeSuffix) {
|
|
|
81686
82224
|
;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/vertical.js
|
|
81687
82225
|
|
|
81688
82226
|
|
|
82227
|
+
|
|
81689
82228
|
var getVerticalInlineStyle = function getVerticalInlineStyle(token) {
|
|
81690
82229
|
var _ref;
|
|
81691
82230
|
var componentCls = token.componentCls,
|
|
@@ -81808,12 +82347,9 @@ var getVerticalStyle = function getVerticalStyle(token) {
|
|
|
81808
82347
|
display: 'none'
|
|
81809
82348
|
}), defineProperty_defineProperty(_tooltip, 'a, a:hover', {
|
|
81810
82349
|
color: colorTextLightSolid
|
|
81811
|
-
}), _tooltip)), defineProperty_defineProperty(_$concat5, "".concat(componentCls, "-item-group-title"), {
|
|
81812
|
-
paddingInline: paddingXS
|
|
81813
|
-
|
|
81814
|
-
whiteSpace: 'nowrap',
|
|
81815
|
-
textOverflow: 'ellipsis'
|
|
81816
|
-
}), _$concat5))];
|
|
82350
|
+
}), _tooltip)), defineProperty_defineProperty(_$concat5, "".concat(componentCls, "-item-group-title"), extends_extends(extends_extends({}, textEllipsis), {
|
|
82351
|
+
paddingInline: paddingXS
|
|
82352
|
+
})), _$concat5))];
|
|
81817
82353
|
};
|
|
81818
82354
|
/* harmony default export */ var vertical = (getVerticalStyle);
|
|
81819
82355
|
;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/index.js
|
|
@@ -81844,8 +82380,8 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81844
82380
|
lineWidth = token.lineWidth,
|
|
81845
82381
|
iconCls = token.iconCls,
|
|
81846
82382
|
zIndexPopup = token.zIndexPopup,
|
|
81847
|
-
|
|
81848
|
-
|
|
82383
|
+
borderRadius = token.borderRadius,
|
|
82384
|
+
borderRadiusLG = token.borderRadiusLG,
|
|
81849
82385
|
radiusSubMenuItem = token.radiusSubMenuItem,
|
|
81850
82386
|
menuArrowSize = token.menuArrowSize,
|
|
81851
82387
|
controlHeightSM = token.controlHeightSM,
|
|
@@ -81955,7 +82491,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81955
82491
|
position: 'absolute',
|
|
81956
82492
|
zIndex: zIndexPopup,
|
|
81957
82493
|
background: 'transparent',
|
|
81958
|
-
borderRadius:
|
|
82494
|
+
borderRadius: borderRadiusLG,
|
|
81959
82495
|
boxShadow: 'none',
|
|
81960
82496
|
transformOrigin: '0 0',
|
|
81961
82497
|
// https://github.com/ant-design/ant-design/issues/13955
|
|
@@ -81975,7 +82511,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81975
82511
|
insetInlineStart: menuPanelMaskInset
|
|
81976
82512
|
}
|
|
81977
82513
|
}, "> ".concat(componentCls), (_$concat4 = {
|
|
81978
|
-
borderRadius:
|
|
82514
|
+
borderRadius: borderRadiusLG
|
|
81979
82515
|
}, defineProperty_defineProperty(_$concat4, "> ".concat(componentCls, "-item"), {
|
|
81980
82516
|
borderRadius: radiusSubMenuItem
|
|
81981
82517
|
}), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-submenu-title::after"), {
|
|
@@ -81995,7 +82531,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81995
82531
|
width: menuArrowSize * 0.6,
|
|
81996
82532
|
height: menuArrowSize * 0.15,
|
|
81997
82533
|
backgroundColor: 'currentcolor',
|
|
81998
|
-
borderRadius:
|
|
82534
|
+
borderRadius: borderRadius,
|
|
81999
82535
|
transition: ["background ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "transform ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "top ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "color ".concat(motionDurationSlow, " ").concat(motionEaseInOut)].join(','),
|
|
82000
82536
|
content: '""'
|
|
82001
82537
|
},
|
|
@@ -82106,8 +82642,8 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
82106
82642
|
return {
|
|
82107
82643
|
dropdownWidth: 160,
|
|
82108
82644
|
zIndexPopup: token.zIndexPopupBase + 50,
|
|
82109
|
-
radiusItem: token.
|
|
82110
|
-
radiusSubMenuItem: token.
|
|
82645
|
+
radiusItem: token.borderRadiusLG,
|
|
82646
|
+
radiusSubMenuItem: token.borderRadiusSM,
|
|
82111
82647
|
colorItemText: colorText,
|
|
82112
82648
|
colorItemTextHover: colorText,
|
|
82113
82649
|
colorItemTextHoverHorizontal: colorPrimary,
|
|
@@ -82548,7 +83084,7 @@ var genTooltipStyle = function genTooltipStyle(token) {
|
|
|
82548
83084
|
})),
|
|
82549
83085
|
// Arrow Style
|
|
82550
83086
|
getArrowStyle(statistic_merge(token, {
|
|
82551
|
-
|
|
83087
|
+
borderRadiusOuter: tooltipRadiusOuter
|
|
82552
83088
|
}), {
|
|
82553
83089
|
colorBg: 'var(--antd-arrow-background-color)',
|
|
82554
83090
|
showArrowCls: '',
|
|
@@ -82568,17 +83104,17 @@ var genTooltipStyle = function genTooltipStyle(token) {
|
|
|
82568
83104
|
if (injectStyle === false) {
|
|
82569
83105
|
return [];
|
|
82570
83106
|
}
|
|
82571
|
-
var
|
|
83107
|
+
var borderRadius = token.borderRadius,
|
|
82572
83108
|
colorTextLightSolid = token.colorTextLightSolid,
|
|
82573
83109
|
colorBgDefault = token.colorBgDefault,
|
|
82574
|
-
|
|
83110
|
+
borderRadiusOuter = token.borderRadiusOuter;
|
|
82575
83111
|
var TooltipToken = statistic_merge(token, {
|
|
82576
83112
|
// default variables
|
|
82577
83113
|
tooltipMaxWidth: 250,
|
|
82578
83114
|
tooltipColor: colorTextLightSolid,
|
|
82579
|
-
tooltipBorderRadius:
|
|
83115
|
+
tooltipBorderRadius: borderRadius,
|
|
82580
83116
|
tooltipBg: colorBgDefault,
|
|
82581
|
-
tooltipRadiusOuter:
|
|
83117
|
+
tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter
|
|
82582
83118
|
});
|
|
82583
83119
|
return [genTooltipStyle(TooltipToken), initZoomMotion(token, 'zoom-big-fast')];
|
|
82584
83120
|
}, function (_ref3) {
|
|
@@ -82795,14 +83331,14 @@ var tooltip_Tooltip = /*#__PURE__*/external_React_.forwardRef(function (props, r
|
|
|
82795
83331
|
top: '50%',
|
|
82796
83332
|
left: '50%'
|
|
82797
83333
|
};
|
|
82798
|
-
if (
|
|
83334
|
+
if (/top|Bottom/.test(placement)) {
|
|
82799
83335
|
transformOrigin.top = "".concat(rect.height - align.offset[1], "px");
|
|
82800
|
-
} else if (
|
|
83336
|
+
} else if (/Top|bottom/.test(placement)) {
|
|
82801
83337
|
transformOrigin.top = "".concat(-align.offset[1], "px");
|
|
82802
83338
|
}
|
|
82803
|
-
if (
|
|
83339
|
+
if (/left|Right/.test(placement)) {
|
|
82804
83340
|
transformOrigin.left = "".concat(rect.width - align.offset[0], "px");
|
|
82805
|
-
} else if (
|
|
83341
|
+
} else if (/right|Left/.test(placement)) {
|
|
82806
83342
|
transformOrigin.left = "".concat(-align.offset[0], "px");
|
|
82807
83343
|
}
|
|
82808
83344
|
domNode.style.transformOrigin = "".concat(transformOrigin.left, " ").concat(transformOrigin.top);
|
|
@@ -83357,15 +83893,16 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83357
83893
|
motionEaseInOutCirc = token.motionEaseInOutCirc,
|
|
83358
83894
|
radioButtonBg = token.radioButtonBg,
|
|
83359
83895
|
colorBorder = token.colorBorder,
|
|
83360
|
-
|
|
83896
|
+
lineWidth = token.lineWidth,
|
|
83361
83897
|
radioDotSize = token.radioDotSize,
|
|
83362
83898
|
colorBgContainerDisabled = token.colorBgContainerDisabled,
|
|
83363
83899
|
colorTextDisabled = token.colorTextDisabled,
|
|
83364
83900
|
paddingXS = token.paddingXS,
|
|
83365
83901
|
radioDotDisabledColor = token.radioDotDisabledColor,
|
|
83366
|
-
|
|
83902
|
+
lineType = token.lineType,
|
|
83367
83903
|
radioDotDisabledSize = token.radioDotDisabledSize,
|
|
83368
|
-
wireframe = token.wireframe
|
|
83904
|
+
wireframe = token.wireframe,
|
|
83905
|
+
colorWhite = token.colorWhite;
|
|
83369
83906
|
var radioInnerPrefixCls = "".concat(componentCls, "-inner");
|
|
83370
83907
|
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), extends_extends(extends_extends({}, style_resetComponent(token)), (_extends3 = {
|
|
83371
83908
|
position: 'relative',
|
|
@@ -83393,7 +83930,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83393
83930
|
insetInlineStart: 0,
|
|
83394
83931
|
width: '100%',
|
|
83395
83932
|
height: '100%',
|
|
83396
|
-
border: "".concat(
|
|
83933
|
+
border: "".concat(lineWidth, "px ").concat(lineType, " ").concat(radioCheckedColor),
|
|
83397
83934
|
borderRadius: '50%',
|
|
83398
83935
|
visibility: 'hidden',
|
|
83399
83936
|
animationName: antRadioEffect,
|
|
@@ -83422,7 +83959,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83422
83959
|
height: radioSize,
|
|
83423
83960
|
marginBlockStart: radioSize / -2,
|
|
83424
83961
|
marginInlineStart: radioSize / -2,
|
|
83425
|
-
backgroundColor: wireframe ? radioCheckedColor :
|
|
83962
|
+
backgroundColor: wireframe ? radioCheckedColor : colorWhite,
|
|
83426
83963
|
borderBlockStart: 0,
|
|
83427
83964
|
borderInlineStart: 0,
|
|
83428
83965
|
borderRadius: radioSize,
|
|
@@ -83441,7 +83978,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83441
83978
|
backgroundColor: radioButtonBg,
|
|
83442
83979
|
borderColor: colorBorder,
|
|
83443
83980
|
borderStyle: 'solid',
|
|
83444
|
-
borderWidth:
|
|
83981
|
+
borderWidth: lineWidth,
|
|
83445
83982
|
borderRadius: '50%',
|
|
83446
83983
|
transition: "all ".concat(motionDurationFast)
|
|
83447
83984
|
}), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-input"), {
|
|
@@ -83490,8 +84027,8 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83490
84027
|
var radioButtonColor = token.radioButtonColor,
|
|
83491
84028
|
controlHeight = token.controlHeight,
|
|
83492
84029
|
componentCls = token.componentCls,
|
|
83493
|
-
|
|
83494
|
-
|
|
84030
|
+
lineWidth = token.lineWidth,
|
|
84031
|
+
lineType = token.lineType,
|
|
83495
84032
|
colorBorder = token.colorBorder,
|
|
83496
84033
|
motionDurationSlow = token.motionDurationSlow,
|
|
83497
84034
|
motionDurationFast = token.motionDurationFast,
|
|
@@ -83502,9 +84039,9 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83502
84039
|
controlHeightLG = token.controlHeightLG,
|
|
83503
84040
|
controlHeightSM = token.controlHeightSM,
|
|
83504
84041
|
paddingXS = token.paddingXS,
|
|
83505
|
-
|
|
83506
|
-
|
|
83507
|
-
|
|
84042
|
+
borderRadius = token.borderRadius,
|
|
84043
|
+
borderRadiusSM = token.borderRadiusSM,
|
|
84044
|
+
borderRadiusLG = token.borderRadiusLG,
|
|
83508
84045
|
radioCheckedColor = token.radioCheckedColor,
|
|
83509
84046
|
radioButtonCheckedBg = token.radioButtonCheckedBg,
|
|
83510
84047
|
radioButtonHoverColor = token.radioButtonHoverColor,
|
|
@@ -83523,14 +84060,14 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83523
84060
|
paddingBlock: 0,
|
|
83524
84061
|
color: radioButtonColor,
|
|
83525
84062
|
fontSize: fontSize,
|
|
83526
|
-
lineHeight: "".concat(controlHeight -
|
|
84063
|
+
lineHeight: "".concat(controlHeight - lineWidth * 2, "px"),
|
|
83527
84064
|
background: radioButtonBg,
|
|
83528
|
-
border: "".concat(
|
|
84065
|
+
border: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorBorder),
|
|
83529
84066
|
// strange align fix for chrome but works
|
|
83530
84067
|
// https://gw.alipayobjects.com/zos/rmsportal/VFTfKXJuogBAXcvfAUWJ.gif
|
|
83531
|
-
borderBlockStartWidth:
|
|
84068
|
+
borderBlockStartWidth: lineWidth + 0.02,
|
|
83532
84069
|
borderInlineStartWidth: 0,
|
|
83533
|
-
borderInlineEndWidth:
|
|
84070
|
+
borderInlineEndWidth: lineWidth,
|
|
83534
84071
|
cursor: 'pointer',
|
|
83535
84072
|
transition: ["color ".concat(motionDurationFast), "background ".concat(motionDurationFast), "border-color ".concat(motionDurationFast), "box-shadow ".concat(motionDurationFast)].join(','),
|
|
83536
84073
|
a: {
|
|
@@ -83546,51 +84083,51 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83546
84083
|
}), defineProperty_defineProperty(_$concat4, '&:not(:first-child)', {
|
|
83547
84084
|
'&::before': {
|
|
83548
84085
|
position: 'absolute',
|
|
83549
|
-
insetBlockStart: -
|
|
83550
|
-
insetInlineStart: -
|
|
84086
|
+
insetBlockStart: -lineWidth,
|
|
84087
|
+
insetInlineStart: -lineWidth,
|
|
83551
84088
|
display: 'block',
|
|
83552
84089
|
boxSizing: 'content-box',
|
|
83553
84090
|
width: 1,
|
|
83554
84091
|
height: '100%',
|
|
83555
|
-
paddingBlock:
|
|
84092
|
+
paddingBlock: lineWidth,
|
|
83556
84093
|
paddingInline: 0,
|
|
83557
84094
|
backgroundColor: colorBorder,
|
|
83558
84095
|
transition: "background-color ".concat(motionDurationSlow),
|
|
83559
84096
|
content: '""'
|
|
83560
84097
|
}
|
|
83561
84098
|
}), defineProperty_defineProperty(_$concat4, '&:first-child', {
|
|
83562
|
-
borderInlineStart: "".concat(
|
|
83563
|
-
borderStartStartRadius:
|
|
83564
|
-
borderEndStartRadius:
|
|
84099
|
+
borderInlineStart: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorBorder),
|
|
84100
|
+
borderStartStartRadius: borderRadius,
|
|
84101
|
+
borderEndStartRadius: borderRadius
|
|
83565
84102
|
}), defineProperty_defineProperty(_$concat4, '&:last-child', {
|
|
83566
|
-
borderStartEndRadius:
|
|
83567
|
-
borderEndEndRadius:
|
|
84103
|
+
borderStartEndRadius: borderRadius,
|
|
84104
|
+
borderEndEndRadius: borderRadius
|
|
83568
84105
|
}), defineProperty_defineProperty(_$concat4, '&:first-child:last-child', {
|
|
83569
|
-
borderRadius:
|
|
84106
|
+
borderRadius: borderRadius
|
|
83570
84107
|
}), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-large &"), {
|
|
83571
84108
|
height: controlHeightLG,
|
|
83572
84109
|
fontSize: fontSizeLG,
|
|
83573
|
-
lineHeight: "".concat(controlHeightLG -
|
|
84110
|
+
lineHeight: "".concat(controlHeightLG - lineWidth * 2, "px"),
|
|
83574
84111
|
'&:first-child': {
|
|
83575
|
-
borderStartStartRadius:
|
|
83576
|
-
borderEndStartRadius:
|
|
84112
|
+
borderStartStartRadius: borderRadiusLG,
|
|
84113
|
+
borderEndStartRadius: borderRadiusLG
|
|
83577
84114
|
},
|
|
83578
84115
|
'&:last-child': {
|
|
83579
|
-
borderStartEndRadius:
|
|
83580
|
-
borderEndEndRadius:
|
|
84116
|
+
borderStartEndRadius: borderRadiusLG,
|
|
84117
|
+
borderEndEndRadius: borderRadiusLG
|
|
83581
84118
|
}
|
|
83582
84119
|
}), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-small &"), {
|
|
83583
84120
|
height: controlHeightSM,
|
|
83584
|
-
paddingInline: paddingXS -
|
|
84121
|
+
paddingInline: paddingXS - lineWidth,
|
|
83585
84122
|
paddingBlock: 0,
|
|
83586
|
-
lineHeight: "".concat(controlHeightSM -
|
|
84123
|
+
lineHeight: "".concat(controlHeightSM - lineWidth * 2, "px"),
|
|
83587
84124
|
'&:first-child': {
|
|
83588
|
-
borderStartStartRadius:
|
|
83589
|
-
borderEndStartRadius:
|
|
84125
|
+
borderStartStartRadius: borderRadiusSM,
|
|
84126
|
+
borderEndStartRadius: borderRadiusSM
|
|
83590
84127
|
},
|
|
83591
84128
|
'&:last-child': {
|
|
83592
|
-
borderStartEndRadius:
|
|
83593
|
-
borderEndEndRadius:
|
|
84129
|
+
borderStartEndRadius: borderRadiusSM,
|
|
84130
|
+
borderEndEndRadius: borderRadiusSM
|
|
83594
84131
|
}
|
|
83595
84132
|
}), defineProperty_defineProperty(_$concat4, '&:hover', {
|
|
83596
84133
|
position: 'relative',
|
|
@@ -83659,7 +84196,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83659
84196
|
// ============================== Export ==============================
|
|
83660
84197
|
/* harmony default export */ var radio_style = (genComponentStyleHook('Radio', function (token) {
|
|
83661
84198
|
var padding = token.padding,
|
|
83662
|
-
|
|
84199
|
+
lineWidth = token.lineWidth,
|
|
83663
84200
|
colorBgContainerDisabled = token.colorBgContainerDisabled,
|
|
83664
84201
|
colorTextDisabled = token.colorTextDisabled,
|
|
83665
84202
|
colorBgContainer = token.colorBgContainer,
|
|
@@ -83673,21 +84210,21 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83673
84210
|
colorPrimary = token.colorPrimary,
|
|
83674
84211
|
marginXS = token.marginXS,
|
|
83675
84212
|
controlOutlineWidth = token.controlOutlineWidth,
|
|
83676
|
-
paddingXXS = token.paddingXXS,
|
|
83677
84213
|
wireframe = token.wireframe;
|
|
83678
84214
|
// Radio
|
|
83679
84215
|
var radioFocusShadow = "0 0 0 ".concat(controlOutlineWidth, "px ").concat(controlOutline);
|
|
83680
84216
|
var radioButtonFocusShadow = radioFocusShadow;
|
|
83681
84217
|
var radioSize = fontSizeLG;
|
|
83682
84218
|
var radioTop = (Math.round(fontSize * lineHeight) - radioSize) / 2;
|
|
83683
|
-
var
|
|
83684
|
-
var
|
|
84219
|
+
var dotPadding = 4; // Fixed value
|
|
84220
|
+
var radioDotDisabledSize = radioSize - dotPadding * 2;
|
|
84221
|
+
var radioDotSize = wireframe ? radioDotDisabledSize : radioSize - (dotPadding + lineWidth) * 2;
|
|
83685
84222
|
var radioCheckedColor = colorPrimary;
|
|
83686
84223
|
// Radio buttons
|
|
83687
84224
|
var radioButtonColor = colorText;
|
|
83688
84225
|
var radioButtonHoverColor = colorPrimaryHover;
|
|
83689
84226
|
var radioButtonActiveColor = colorPrimaryActive;
|
|
83690
|
-
var radioButtonPaddingHorizontal = padding -
|
|
84227
|
+
var radioButtonPaddingHorizontal = padding - lineWidth;
|
|
83691
84228
|
var radioDisabledButtonCheckedColor = colorTextDisabled;
|
|
83692
84229
|
var radioWrapperMarginRight = marginXS;
|
|
83693
84230
|
var radioToken = statistic_merge(token, {
|
|
@@ -85301,17 +85838,17 @@ function BaseProList(props) {
|
|
|
85301
85838
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
85302
85839
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
85303
85840
|
var version_version = {
|
|
85304
|
-
"@ant-design/pro-card": "2.0.
|
|
85305
|
-
"@ant-design/pro-components": "2.3.
|
|
85306
|
-
"@ant-design/pro-descriptions": "2.0.
|
|
85307
|
-
"@ant-design/pro-field": "2.1.
|
|
85308
|
-
"@ant-design/pro-form": "2.2.
|
|
85309
|
-
"@ant-design/pro-layout": "7.1.
|
|
85310
|
-
"@ant-design/pro-list": "2.0.
|
|
85841
|
+
"@ant-design/pro-card": "2.0.22",
|
|
85842
|
+
"@ant-design/pro-components": "2.3.28",
|
|
85843
|
+
"@ant-design/pro-descriptions": "2.0.24",
|
|
85844
|
+
"@ant-design/pro-field": "2.1.17",
|
|
85845
|
+
"@ant-design/pro-form": "2.2.15",
|
|
85846
|
+
"@ant-design/pro-layout": "7.1.16",
|
|
85847
|
+
"@ant-design/pro-list": "2.0.25",
|
|
85311
85848
|
"@ant-design/pro-provider": "2.0.13",
|
|
85312
85849
|
"@ant-design/pro-skeleton": "2.0.4",
|
|
85313
|
-
"@ant-design/pro-table": "3.1.
|
|
85314
|
-
"@ant-design/pro-utils": "2.
|
|
85850
|
+
"@ant-design/pro-table": "3.1.2",
|
|
85851
|
+
"@ant-design/pro-utils": "2.3.0"
|
|
85315
85852
|
};
|
|
85316
85853
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
85317
85854
|
|