@ant-design/pro-components 2.3.28 → 2.3.30
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 +846 -305
- package/dist/components.min.js +1 -1
- package/es/version.js +10 -10
- 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,
|
|
@@ -27419,8 +27425,13 @@ var compareVersions = function compareVersions(v1, v2) {
|
|
|
27419
27425
|
|
|
27420
27426
|
|
|
27421
27427
|
|
|
27428
|
+
var getVersion = function getVersion() {
|
|
27429
|
+
var _process, _process$env;
|
|
27430
|
+
if (typeof process === 'undefined') return external_antd_.version;
|
|
27431
|
+
return ((_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;
|
|
27432
|
+
};
|
|
27422
27433
|
var openVisibleCompatible = function openVisibleCompatible(open, onOpenChange) {
|
|
27423
|
-
var props = compareVersions(
|
|
27434
|
+
var props = compareVersions(getVersion(), '4.23.0') > -1 ? {
|
|
27424
27435
|
open: open,
|
|
27425
27436
|
onOpenChange: onOpenChange
|
|
27426
27437
|
} : {
|
|
@@ -28042,6 +28053,13 @@ var isNeedTranText = function isNeedTranText(item) {
|
|
|
28042
28053
|
}
|
|
28043
28054
|
return false;
|
|
28044
28055
|
};
|
|
28056
|
+
var getEllipsis = function getEllipsis(item) {
|
|
28057
|
+
var _item$ellipsis;
|
|
28058
|
+
if (((_item$ellipsis = item.ellipsis) === null || _item$ellipsis === void 0 ? void 0 : _item$ellipsis.showTitle) === false) {
|
|
28059
|
+
return false;
|
|
28060
|
+
}
|
|
28061
|
+
return item.ellipsis;
|
|
28062
|
+
};
|
|
28045
28063
|
/**
|
|
28046
28064
|
* 生成 Copyable 或 Ellipsis 的 dom
|
|
28047
28065
|
*
|
|
@@ -28057,7 +28075,7 @@ var genCopyable = function genCopyable(dom, item, text) {
|
|
|
28057
28075
|
} : undefined;
|
|
28058
28076
|
/** 有些 valueType 需要设置copy的为string */
|
|
28059
28077
|
var needTranText = isNeedTranText(item);
|
|
28060
|
-
var ellipsis = item
|
|
28078
|
+
var ellipsis = getEllipsis(item) && text ? {
|
|
28061
28079
|
tooltip:
|
|
28062
28080
|
// 支持一下 tooltip 的关闭
|
|
28063
28081
|
(item === null || item === void 0 ? void 0 : item.tooltip) !== false && needTranText ? (0,jsx_runtime.jsx)("div", {
|
|
@@ -28116,6 +28134,9 @@ function _regeneratorRuntime() {
|
|
|
28116
28134
|
var exports = {},
|
|
28117
28135
|
Op = Object.prototype,
|
|
28118
28136
|
hasOwn = Op.hasOwnProperty,
|
|
28137
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
28138
|
+
obj[key] = desc.value;
|
|
28139
|
+
},
|
|
28119
28140
|
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
28120
28141
|
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
28121
28142
|
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
@@ -28139,40 +28160,9 @@ function _regeneratorRuntime() {
|
|
|
28139
28160
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
28140
28161
|
generator = Object.create(protoGenerator.prototype),
|
|
28141
28162
|
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;
|
|
28163
|
+
return defineProperty(generator, "_invoke", {
|
|
28164
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
28165
|
+
}), generator;
|
|
28176
28166
|
}
|
|
28177
28167
|
function tryCatch(fn, obj, arg) {
|
|
28178
28168
|
try {
|
|
@@ -28226,13 +28216,49 @@ function _regeneratorRuntime() {
|
|
|
28226
28216
|
reject(record.arg);
|
|
28227
28217
|
}
|
|
28228
28218
|
var previousPromise;
|
|
28229
|
-
this
|
|
28230
|
-
function
|
|
28231
|
-
|
|
28232
|
-
|
|
28233
|
-
|
|
28219
|
+
defineProperty(this, "_invoke", {
|
|
28220
|
+
value: function value(method, arg) {
|
|
28221
|
+
function callInvokeWithMethodAndArg() {
|
|
28222
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
28223
|
+
invoke(method, arg, resolve, reject);
|
|
28224
|
+
});
|
|
28225
|
+
}
|
|
28226
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
28227
|
+
}
|
|
28228
|
+
});
|
|
28229
|
+
}
|
|
28230
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
28231
|
+
var state = "suspendedStart";
|
|
28232
|
+
return function (method, arg) {
|
|
28233
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
28234
|
+
if ("completed" === state) {
|
|
28235
|
+
if ("throw" === method) throw arg;
|
|
28236
|
+
return doneResult();
|
|
28237
|
+
}
|
|
28238
|
+
for (context.method = method, context.arg = arg;;) {
|
|
28239
|
+
var delegate = context.delegate;
|
|
28240
|
+
if (delegate) {
|
|
28241
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
28242
|
+
if (delegateResult) {
|
|
28243
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
28244
|
+
return delegateResult;
|
|
28245
|
+
}
|
|
28246
|
+
}
|
|
28247
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
28248
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
28249
|
+
context.dispatchException(context.arg);
|
|
28250
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
28251
|
+
state = "executing";
|
|
28252
|
+
var record = tryCatch(innerFn, self, context);
|
|
28253
|
+
if ("normal" === record.type) {
|
|
28254
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
28255
|
+
return {
|
|
28256
|
+
value: record.arg,
|
|
28257
|
+
done: context.done
|
|
28258
|
+
};
|
|
28259
|
+
}
|
|
28260
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
28234
28261
|
}
|
|
28235
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
28236
28262
|
};
|
|
28237
28263
|
}
|
|
28238
28264
|
function maybeInvokeDelegate(delegate, context) {
|
|
@@ -28290,7 +28316,13 @@ function _regeneratorRuntime() {
|
|
|
28290
28316
|
done: !0
|
|
28291
28317
|
};
|
|
28292
28318
|
}
|
|
28293
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
28319
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
28320
|
+
value: GeneratorFunctionPrototype,
|
|
28321
|
+
configurable: !0
|
|
28322
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
28323
|
+
value: GeneratorFunction,
|
|
28324
|
+
configurable: !0
|
|
28325
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
28294
28326
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
28295
28327
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
28296
28328
|
}, exports.mark = function (genFun) {
|
|
@@ -28311,8 +28343,9 @@ function _regeneratorRuntime() {
|
|
|
28311
28343
|
return this;
|
|
28312
28344
|
}), define(Gp, "toString", function () {
|
|
28313
28345
|
return "[object Generator]";
|
|
28314
|
-
}), exports.keys = function (
|
|
28315
|
-
var
|
|
28346
|
+
}), exports.keys = function (val) {
|
|
28347
|
+
var object = Object(val),
|
|
28348
|
+
keys = [];
|
|
28316
28349
|
for (var key in object) {
|
|
28317
28350
|
keys.push(key);
|
|
28318
28351
|
}
|
|
@@ -30526,7 +30559,7 @@ var CheckCard_style_genProStyle = function genProStyle(token) {
|
|
|
30526
30559
|
lineHeight: token.lineHeight,
|
|
30527
30560
|
verticalAlign: 'top',
|
|
30528
30561
|
backgroundColor: token.colorBgBase,
|
|
30529
|
-
borderRadius: token.
|
|
30562
|
+
borderRadius: token.borderRadius,
|
|
30530
30563
|
cursor: 'pointer',
|
|
30531
30564
|
transition: "all 0.3s",
|
|
30532
30565
|
'&:last-child': {
|
|
@@ -30594,7 +30627,7 @@ var CheckCard_style_genProStyle = function genProStyle(token) {
|
|
|
30594
30627
|
width: '100%',
|
|
30595
30628
|
height: '100%',
|
|
30596
30629
|
overflow: 'hidden',
|
|
30597
|
-
borderRadius: token.
|
|
30630
|
+
borderRadius: token.borderRadius
|
|
30598
30631
|
}
|
|
30599
30632
|
}), defineProperty_defineProperty(_token$componentCls, '&-content', {
|
|
30600
30633
|
display: 'flex',
|
|
@@ -31173,7 +31206,7 @@ var Loading_style_genProStyle = function genProStyle(token) {
|
|
|
31173
31206
|
marginBlock: '4px',
|
|
31174
31207
|
background: "linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",
|
|
31175
31208
|
backgroundSize: '600% 600%',
|
|
31176
|
-
borderRadius: token.
|
|
31209
|
+
borderRadius: token.borderRadius,
|
|
31177
31210
|
animationName: 'card-loading',
|
|
31178
31211
|
animationDuration: '1.4s',
|
|
31179
31212
|
animationTimingFunction: 'ease',
|
|
@@ -31393,7 +31426,7 @@ var genProCardStyle = function genProCardStyle(token) {
|
|
|
31393
31426
|
paddingBlock: 0,
|
|
31394
31427
|
paddingInline: 0,
|
|
31395
31428
|
backgroundColor: token.colorBgContainer,
|
|
31396
|
-
borderRadius: token.
|
|
31429
|
+
borderRadius: token.borderRadius
|
|
31397
31430
|
}, resetComponent === null || resetComponent === void 0 ? void 0 : resetComponent(token)), {}, (_objectSpread2 = {
|
|
31398
31431
|
'*': {
|
|
31399
31432
|
boxSizing: 'border-box',
|
|
@@ -52899,7 +52932,7 @@ var genAppsLogoComponentsDefaultListStyle = function genAppsLogoComponentsDefaul
|
|
|
52899
52932
|
verticalAlign: 'top',
|
|
52900
52933
|
listStyleType: 'none',
|
|
52901
52934
|
transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
|
|
52902
|
-
borderRadius: token.
|
|
52935
|
+
borderRadius: token.borderRadius,
|
|
52903
52936
|
'&:hover': {
|
|
52904
52937
|
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
52905
52938
|
},
|
|
@@ -52965,7 +52998,7 @@ var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleL
|
|
|
52965
52998
|
verticalAlign: 'top',
|
|
52966
52999
|
listStyleType: 'none',
|
|
52967
53000
|
transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
|
|
52968
|
-
borderRadius: token.
|
|
53001
|
+
borderRadius: token.borderRadius,
|
|
52969
53002
|
'&:hover': {
|
|
52970
53003
|
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
52971
53004
|
},
|
|
@@ -52985,7 +53018,7 @@ var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleL
|
|
|
52985
53018
|
lineHeight: '40px',
|
|
52986
53019
|
textAlign: 'center',
|
|
52987
53020
|
backgroundImage: 'linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)',
|
|
52988
|
-
borderRadius: token.
|
|
53021
|
+
borderRadius: token.borderRadius
|
|
52989
53022
|
},
|
|
52990
53023
|
'& > img': {
|
|
52991
53024
|
width: 40,
|
|
@@ -53468,7 +53501,7 @@ var genProLayoutBaseMenuStyle = function genProLayoutBaseMenuStyle(token) {
|
|
|
53468
53501
|
marginBlock: '8px !important'
|
|
53469
53502
|
}), 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
53503
|
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.
|
|
53504
|
+
borderRadius: token.borderRadius
|
|
53472
53505
|
}), defineProperty_defineProperty(_collapsed, "".concat(token.componentCls, "-group"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item-group-title"), {
|
|
53473
53506
|
paddingInline: 0
|
|
53474
53507
|
})), _collapsed)), defineProperty_defineProperty(_$concat5, "".concat(token.componentCls, "-item-icon"), {
|
|
@@ -54236,11 +54269,11 @@ var genTopNavHeaderStyle = function genTopNavHeaderStyle(token) {
|
|
|
54236
54269
|
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
54270
|
fontSize: '16px',
|
|
54238
54271
|
cursor: 'pointer',
|
|
54239
|
-
borderRadius: token.
|
|
54272
|
+
borderRadius: token.borderRadius,
|
|
54240
54273
|
'> *': {
|
|
54241
54274
|
paddingInline: 6,
|
|
54242
54275
|
paddingBlock: 6,
|
|
54243
|
-
borderRadius: token.
|
|
54276
|
+
borderRadius: token.borderRadius,
|
|
54244
54277
|
'&:hover': {
|
|
54245
54278
|
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
54279
|
}
|
|
@@ -54262,7 +54295,7 @@ var genTopNavHeaderStyle = function genTopNavHeaderStyle(token) {
|
|
|
54262
54295
|
display: 'flex',
|
|
54263
54296
|
alignItems: 'center',
|
|
54264
54297
|
lineHeight: '44px',
|
|
54265
|
-
borderRadius: token.
|
|
54298
|
+
borderRadius: token.borderRadius,
|
|
54266
54299
|
'&:hover': {
|
|
54267
54300
|
backgroundColor: 'rgba(0, 0, 0, 0.03)'
|
|
54268
54301
|
}
|
|
@@ -55057,7 +55090,7 @@ var darkreader = __webpack_require__(897);
|
|
|
55057
55090
|
'app.setting.themecolor.sunset': '日暮',
|
|
55058
55091
|
'app.setting.themecolor.cyan': '明青',
|
|
55059
55092
|
'app.setting.themecolor.green': '极光绿',
|
|
55060
|
-
'app.setting.themecolor.techBlue': '
|
|
55093
|
+
'app.setting.themecolor.techBlue': '科技蓝(默认)',
|
|
55061
55094
|
'app.setting.themecolor.daybreak': '拂晓',
|
|
55062
55095
|
'app.setting.themecolor.geekblue': '极客蓝',
|
|
55063
55096
|
'app.setting.themecolor.purple': '酱紫',
|
|
@@ -55854,10 +55887,11 @@ var ThemeColor = function ThemeColor(_ref2) {
|
|
|
55854
55887
|
className: "".concat(baseClassName, " ").concat(hashId),
|
|
55855
55888
|
children: colorList === null || colorList === void 0 ? void 0 : colorList.map(function (_ref3) {
|
|
55856
55889
|
var key = _ref3.key,
|
|
55857
|
-
color = _ref3.color
|
|
55890
|
+
color = _ref3.color,
|
|
55891
|
+
title = _ref3.title;
|
|
55858
55892
|
if (!key) return null;
|
|
55859
55893
|
return (0,jsx_runtime.jsx)(external_antd_.Tooltip, {
|
|
55860
|
-
title: formatMessage({
|
|
55894
|
+
title: title !== null && title !== void 0 ? title : formatMessage({
|
|
55861
55895
|
id: "app.setting.themecolor.".concat(key)
|
|
55862
55896
|
}),
|
|
55863
55897
|
children: (0,jsx_runtime.jsx)(Tag, {
|
|
@@ -58344,7 +58378,7 @@ var style_genSiderMenuStyle = function genSiderMenuStyle(token) {
|
|
|
58344
58378
|
lineHeight: '16px',
|
|
58345
58379
|
fontSize: 16,
|
|
58346
58380
|
cursor: 'pointer',
|
|
58347
|
-
borderRadius: token.
|
|
58381
|
+
borderRadius: token.borderRadius,
|
|
58348
58382
|
'&:hover': {
|
|
58349
58383
|
background: 'rgba(0, 0, 0, 0.018)'
|
|
58350
58384
|
}
|
|
@@ -58354,7 +58388,7 @@ var style_genSiderMenuStyle = function genSiderMenuStyle(token) {
|
|
|
58354
58388
|
fontSize: 14,
|
|
58355
58389
|
paddingInline: 8,
|
|
58356
58390
|
paddingBlock: 8,
|
|
58357
|
-
borderRadius: token.
|
|
58391
|
+
borderRadius: token.borderRadius,
|
|
58358
58392
|
'& *': {
|
|
58359
58393
|
cursor: 'pointer'
|
|
58360
58394
|
},
|
|
@@ -58538,15 +58572,15 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58538
58572
|
backgroundColor: 'transparent!important'
|
|
58539
58573
|
}), 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
58574
|
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.
|
|
58575
|
+
borderRadius: token.borderRadius
|
|
58542
58576
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58543
58577
|
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
58578
|
}))), 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
58579
|
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.
|
|
58580
|
+
borderRadius: token.borderRadius
|
|
58547
58581
|
}), 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
58582
|
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.
|
|
58583
|
+
borderRadius: token.borderRadius,
|
|
58550
58584
|
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
58585
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58552
58586
|
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 +58591,7 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58557
58591
|
}), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-inline) ").concat(token.antCls, "-menu-submenu-open"), {
|
|
58558
58592
|
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
58593
|
}), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu-vertical"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-submenu-selected"), {
|
|
58560
|
-
borderRadius: token.
|
|
58594
|
+
borderRadius: token.borderRadius,
|
|
58561
58595
|
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
58596
|
})), defineProperty_defineProperty(_$concat6, "".concat(token.antCls, "-menu-submenu:hover > ").concat(token.antCls, "-menu-submenu-title > ").concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58563
58597
|
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 +58602,7 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58568
58602
|
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
58603
|
}), 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
58604
|
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.
|
|
58605
|
+
borderRadius: token.borderRadius,
|
|
58572
58606
|
transition: 'none',
|
|
58573
58607
|
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
58608
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
@@ -58584,14 +58618,14 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58584
58618
|
color: 'inherit'
|
|
58585
58619
|
})), 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
58620
|
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.
|
|
58621
|
+
borderRadius: token.borderRadius,
|
|
58588
58622
|
transition: 'none',
|
|
58589
58623
|
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
58624
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58591
58625
|
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
58626
|
})), defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item-selected"), {
|
|
58593
58627
|
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.
|
|
58628
|
+
borderRadius: token.borderRadius,
|
|
58595
58629
|
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
58630
|
}), _$concat8)), _$concat9)), _token$componentCls)), defineProperty_defineProperty(_ref, "".concat(token.antCls, "-menu-sub").concat(token.antCls, "-menu-inline"), {
|
|
58597
58631
|
backgroundColor: 'transparent!important'
|
|
@@ -58610,11 +58644,11 @@ var compatibleStyle = function compatibleStyle(token) {
|
|
|
58610
58644
|
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
58645
|
}), 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
58646
|
backgroundColor: 'rgba(0, 0, 0, 0.04)',
|
|
58613
|
-
borderRadius: token.
|
|
58647
|
+
borderRadius: token.borderRadius,
|
|
58614
58648
|
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
58649
|
}), 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
58650
|
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.
|
|
58651
|
+
borderRadius: token.borderRadius
|
|
58618
58652
|
}, "".concat(token.antCls, "-menu-submenu-arrow"), {
|
|
58619
58653
|
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
58654
|
})), _$concat$concat2)), _$concat11)), _ref;
|
|
@@ -59355,7 +59389,7 @@ var ProLayout_ProLayout = function ProLayout(props) {
|
|
|
59355
59389
|
theme: {
|
|
59356
59390
|
hashed: ((_process$env$NODE_ENV = "production") === null || _process$env$NODE_ENV === void 0 ? void 0 : _process$env$NODE_ENV.toLowerCase()) !== 'test',
|
|
59357
59391
|
token: {
|
|
59358
|
-
|
|
59392
|
+
borderRadius: 4,
|
|
59359
59393
|
colorPrimary: colorPrimary || '#1677FF',
|
|
59360
59394
|
colorError: '#ff4d4f',
|
|
59361
59395
|
colorInfo: '#1677FF'
|
|
@@ -60855,8 +60889,8 @@ var Alert_style_genProStyle = function genProStyle(token) {
|
|
|
60855
60889
|
return defineProperty_defineProperty({}, token.componentCls, {
|
|
60856
60890
|
marginBlockEnd: 16,
|
|
60857
60891
|
backgroundColor: 'rgba(0,0,0,0.02)',
|
|
60858
|
-
borderRadius:
|
|
60859
|
-
border: '
|
|
60892
|
+
borderRadius: '4px',
|
|
60893
|
+
border: 'none',
|
|
60860
60894
|
'&-container': {
|
|
60861
60895
|
paddingBlock: token.paddingSM,
|
|
60862
60896
|
paddingInline: token.paddingLG
|
|
@@ -60865,7 +60899,7 @@ var Alert_style_genProStyle = function genProStyle(token) {
|
|
|
60865
60899
|
display: 'flex',
|
|
60866
60900
|
alignItems: 'center',
|
|
60867
60901
|
transition: 'all 0.3s',
|
|
60868
|
-
color: token.
|
|
60902
|
+
color: token.colorTextTertiary,
|
|
60869
60903
|
'&-content': {
|
|
60870
60904
|
flex: 1
|
|
60871
60905
|
},
|
|
@@ -70364,6 +70398,11 @@ function statisticToken(token) {
|
|
|
70364
70398
|
|
|
70365
70399
|
|
|
70366
70400
|
|
|
70401
|
+
var textEllipsis = {
|
|
70402
|
+
overflow: 'hidden',
|
|
70403
|
+
whiteSpace: 'nowrap',
|
|
70404
|
+
textOverflow: 'ellipsis'
|
|
70405
|
+
};
|
|
70367
70406
|
var style_resetComponent = function resetComponent(token) {
|
|
70368
70407
|
return {
|
|
70369
70408
|
boxSizing: 'border-box',
|
|
@@ -70478,12 +70517,38 @@ var genFocusStyle = function genFocusStyle(token) {
|
|
|
70478
70517
|
};
|
|
70479
70518
|
};
|
|
70480
70519
|
;// CONCATENATED MODULE: ./node_modules/antd/es/version/version.js
|
|
70481
|
-
/* harmony default export */ var version = ('5.0.0-alpha.
|
|
70520
|
+
/* harmony default export */ var version = ('5.0.0-alpha.34');
|
|
70482
70521
|
;// CONCATENATED MODULE: ./node_modules/antd/es/version/index.js
|
|
70483
70522
|
/* eslint import/no-unresolved: 0 */
|
|
70484
70523
|
// @ts-ignore
|
|
70485
70524
|
|
|
70486
70525
|
/* harmony default export */ var es_version = (version);
|
|
70526
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genControlHeight.js
|
|
70527
|
+
var genControlHeight = function genControlHeight(token) {
|
|
70528
|
+
var controlHeight = token.controlHeight;
|
|
70529
|
+
return {
|
|
70530
|
+
controlHeightSM: controlHeight * 0.75,
|
|
70531
|
+
controlHeightXS: controlHeight * 0.5,
|
|
70532
|
+
controlHeightLG: controlHeight * 1.25
|
|
70533
|
+
};
|
|
70534
|
+
};
|
|
70535
|
+
/* harmony default export */ var shared_genControlHeight = (genControlHeight);
|
|
70536
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genSizeMapToken.js
|
|
70537
|
+
function genSizeMapToken(token) {
|
|
70538
|
+
var sizeUnit = token.sizeUnit,
|
|
70539
|
+
sizeStep = token.sizeStep;
|
|
70540
|
+
return {
|
|
70541
|
+
sizeXXL: sizeUnit * (sizeStep + 8),
|
|
70542
|
+
sizeXL: sizeUnit * (sizeStep + 4),
|
|
70543
|
+
sizeLG: sizeUnit * (sizeStep + 2),
|
|
70544
|
+
sizeMD: sizeUnit * (sizeStep + 1),
|
|
70545
|
+
sizeMS: sizeUnit * sizeStep,
|
|
70546
|
+
size: sizeUnit * sizeStep,
|
|
70547
|
+
sizeSM: sizeUnit * (sizeStep - 1),
|
|
70548
|
+
sizeXS: sizeUnit * (sizeStep - 2),
|
|
70549
|
+
sizeXXS: sizeUnit * (sizeStep - 3) // 4
|
|
70550
|
+
};
|
|
70551
|
+
}
|
|
70487
70552
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/seed.js
|
|
70488
70553
|
|
|
70489
70554
|
var defaultPresetColors = {
|
|
@@ -70509,14 +70574,10 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
|
|
|
70509
70574
|
colorError: '#f5222d',
|
|
70510
70575
|
colorInfo: '#1677ff',
|
|
70511
70576
|
colorTextBase: '',
|
|
70512
|
-
colorTextLightSolid: '#fff',
|
|
70513
70577
|
colorBgBase: '',
|
|
70514
70578
|
// Font
|
|
70515
70579
|
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,
|
|
70580
|
+
fontSize: 14,
|
|
70520
70581
|
// Line
|
|
70521
70582
|
lineWidth: 1,
|
|
70522
70583
|
lineType: 'solid',
|
|
@@ -70531,10 +70592,10 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
|
|
|
70531
70592
|
motionEaseInQuint: "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
70532
70593
|
motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
|
|
70533
70594
|
// Radius
|
|
70534
|
-
|
|
70595
|
+
borderRadius: 6,
|
|
70535
70596
|
// Size
|
|
70536
70597
|
sizeUnit: 4,
|
|
70537
|
-
|
|
70598
|
+
sizeStep: 4,
|
|
70538
70599
|
sizePopupArrow: 16,
|
|
70539
70600
|
// Control Base
|
|
70540
70601
|
controlHeight: 32,
|
|
@@ -70617,7 +70678,8 @@ function genColorMapToken(seed, _ref) {
|
|
|
70617
70678
|
colorInfoTextHover: infoColors[8],
|
|
70618
70679
|
colorInfoText: infoColors[9],
|
|
70619
70680
|
colorInfoTextActive: infoColors[10],
|
|
70620
|
-
colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString()
|
|
70681
|
+
colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString(),
|
|
70682
|
+
colorWhite: '#fff'
|
|
70621
70683
|
});
|
|
70622
70684
|
}
|
|
70623
70685
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genFontSizes.js
|
|
@@ -70678,11 +70740,11 @@ var genRadius = function genRadius(radiusBase) {
|
|
|
70678
70740
|
radiusOuter = 6;
|
|
70679
70741
|
}
|
|
70680
70742
|
return {
|
|
70681
|
-
|
|
70682
|
-
|
|
70683
|
-
|
|
70684
|
-
|
|
70685
|
-
|
|
70743
|
+
borderRadius: radiusBase > 16 ? 16 : radiusBase,
|
|
70744
|
+
borderRadiusXS: radiusXS,
|
|
70745
|
+
borderRadiusSM: radiusSM,
|
|
70746
|
+
borderRadiusLG: radiusLG,
|
|
70747
|
+
borderRadiusOuter: radiusOuter
|
|
70686
70748
|
};
|
|
70687
70749
|
};
|
|
70688
70750
|
/* harmony default export */ var shared_genRadius = (genRadius);
|
|
@@ -70693,18 +70755,13 @@ var genRadius = function genRadius(radiusBase) {
|
|
|
70693
70755
|
function genCommonMapToken(token) {
|
|
70694
70756
|
var motionUnit = token.motionUnit,
|
|
70695
70757
|
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,
|
|
70758
|
+
fontSize = token.fontSize,
|
|
70759
|
+
borderRadius = token.borderRadius,
|
|
70703
70760
|
lineWidth = token.lineWidth;
|
|
70704
|
-
var fontSizes = getFontSizes(
|
|
70705
|
-
return extends_extends(
|
|
70761
|
+
var fontSizes = getFontSizes(fontSize);
|
|
70762
|
+
return extends_extends({
|
|
70706
70763
|
// motion
|
|
70707
|
-
motionDurationFast: "".concat((motionBase + motionUnit
|
|
70764
|
+
motionDurationFast: "".concat((motionBase + motionUnit).toFixed(1), "s"),
|
|
70708
70765
|
motionDurationMid: "".concat((motionBase + motionUnit * 2).toFixed(1), "s"),
|
|
70709
70766
|
motionDurationSlow: "".concat((motionBase + motionUnit * 3).toFixed(1), "s"),
|
|
70710
70767
|
// font
|
|
@@ -70714,25 +70771,9 @@ function genCommonMapToken(token) {
|
|
|
70714
70771
|
lineHeights: fontSizes.map(function (fs) {
|
|
70715
70772
|
return fs.lineHeight;
|
|
70716
70773
|
}),
|
|
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
70774
|
// line
|
|
70729
70775
|
lineWidthBold: lineWidth + 1
|
|
70730
|
-
}, shared_genRadius(
|
|
70731
|
-
// control
|
|
70732
|
-
controlHeightSM: controlHeight * 0.75,
|
|
70733
|
-
controlHeightXS: controlHeight * 0.5,
|
|
70734
|
-
controlHeightLG: controlHeight * 1.25
|
|
70735
|
-
});
|
|
70776
|
+
}, shared_genRadius(borderRadius));
|
|
70736
70777
|
}
|
|
70737
70778
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/default/colorAlgorithm.js
|
|
70738
70779
|
|
|
@@ -70794,6 +70835,8 @@ var generateNeutralColorPalettes = function generateNeutralColorPalettes(bgBaseC
|
|
|
70794
70835
|
|
|
70795
70836
|
|
|
70796
70837
|
|
|
70838
|
+
|
|
70839
|
+
|
|
70797
70840
|
function derivative(token) {
|
|
70798
70841
|
var colorPalettes = Object.keys(defaultPresetColors).map(function (colorKey) {
|
|
70799
70842
|
var colors = (0,index_esm.generate)(token[colorKey]);
|
|
@@ -70805,10 +70848,10 @@ function derivative(token) {
|
|
|
70805
70848
|
prev = extends_extends(extends_extends({}, prev), cur);
|
|
70806
70849
|
return prev;
|
|
70807
70850
|
}, {});
|
|
70808
|
-
return extends_extends(extends_extends(extends_extends(extends_extends({}, token), colorPalettes), genColorMapToken(token, {
|
|
70851
|
+
return extends_extends(extends_extends(extends_extends(extends_extends(extends_extends(extends_extends({}, token), colorPalettes), genColorMapToken(token, {
|
|
70809
70852
|
generateColorPalettes: generateColorPalettes,
|
|
70810
70853
|
generateNeutralColorPalettes: generateNeutralColorPalettes
|
|
70811
|
-
})), genCommonMapToken(token));
|
|
70854
|
+
})), genSizeMapToken(token)), shared_genControlHeight(token)), genCommonMapToken(token));
|
|
70812
70855
|
}
|
|
70813
70856
|
;// CONCATENATED MODULE: ./node_modules/antd/es/theme/util/getAlphaColor.js
|
|
70814
70857
|
|
|
@@ -70905,6 +70948,7 @@ function formatToken(derivativeToken) {
|
|
|
70905
70948
|
colorTextHeading: mergedToken.colorText,
|
|
70906
70949
|
colorTextLabel: mergedToken.colorTextSecondary,
|
|
70907
70950
|
colorTextDescription: mergedToken.colorTextTertiary,
|
|
70951
|
+
colorTextLightSolid: mergedToken.colorWhite,
|
|
70908
70952
|
colorHighlight: mergedToken.colorError,
|
|
70909
70953
|
colorBgTextHover: mergedToken.colorFillSecondary,
|
|
70910
70954
|
colorBgTextActive: mergedToken.colorFill,
|
|
@@ -70932,7 +70976,7 @@ function formatToken(derivativeToken) {
|
|
|
70932
70976
|
lineHeightHeading4: lineHeights[3],
|
|
70933
70977
|
lineHeightHeading5: lineHeights[2],
|
|
70934
70978
|
// Control
|
|
70935
|
-
|
|
70979
|
+
lineWidth: mergedToken.lineWidth,
|
|
70936
70980
|
controlOutlineWidth: mergedToken.lineWidth * 2,
|
|
70937
70981
|
// Checkbox size and expand icon size
|
|
70938
70982
|
controlInteractiveSize: mergedToken.controlHeight / 2,
|
|
@@ -70942,11 +70986,11 @@ function formatToken(derivativeToken) {
|
|
|
70942
70986
|
controlItemBgActiveDisabled: mergedToken.colorFill,
|
|
70943
70987
|
controlTmpOutline: mergedToken.colorFillQuaternary,
|
|
70944
70988
|
controlOutline: util_getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer),
|
|
70945
|
-
|
|
70946
|
-
|
|
70947
|
-
|
|
70948
|
-
|
|
70949
|
-
|
|
70989
|
+
lineType: mergedToken.lineType,
|
|
70990
|
+
borderRadius: mergedToken.borderRadius,
|
|
70991
|
+
borderRadiusXS: mergedToken.borderRadiusXS,
|
|
70992
|
+
borderRadiusSM: mergedToken.borderRadiusSM,
|
|
70993
|
+
borderRadiusLG: mergedToken.borderRadiusLG,
|
|
70950
70994
|
fontWeightStrong: 600,
|
|
70951
70995
|
opacityLoading: 0.65,
|
|
70952
70996
|
linkDecoration: 'none',
|
|
@@ -70954,21 +70998,27 @@ function formatToken(derivativeToken) {
|
|
|
70954
70998
|
linkFocusDecoration: 'none',
|
|
70955
70999
|
controlPaddingHorizontal: 12,
|
|
70956
71000
|
controlPaddingHorizontalSM: 8,
|
|
70957
|
-
|
|
70958
|
-
|
|
70959
|
-
|
|
70960
|
-
|
|
70961
|
-
|
|
70962
|
-
paddingLG:
|
|
70963
|
-
paddingXL:
|
|
70964
|
-
|
|
70965
|
-
|
|
70966
|
-
|
|
70967
|
-
|
|
70968
|
-
|
|
70969
|
-
|
|
70970
|
-
|
|
70971
|
-
|
|
71001
|
+
paddingXXS: mergedToken.sizeXXS,
|
|
71002
|
+
paddingXS: mergedToken.sizeXS,
|
|
71003
|
+
paddingSM: mergedToken.sizeSM,
|
|
71004
|
+
padding: mergedToken.size,
|
|
71005
|
+
paddingMD: mergedToken.sizeMD,
|
|
71006
|
+
paddingLG: mergedToken.sizeLG,
|
|
71007
|
+
paddingXL: mergedToken.sizeXL,
|
|
71008
|
+
paddingContentHorizontalLG: mergedToken.sizeLG,
|
|
71009
|
+
paddingContentVerticalLG: mergedToken.sizeMS,
|
|
71010
|
+
paddingContentHorizontal: mergedToken.sizeMS,
|
|
71011
|
+
paddingContentVertical: mergedToken.sizeSM,
|
|
71012
|
+
paddingContentHorizontalSM: mergedToken.size,
|
|
71013
|
+
paddingContentVerticalSM: mergedToken.sizeXS,
|
|
71014
|
+
marginXXS: mergedToken.sizeXXS,
|
|
71015
|
+
marginXS: mergedToken.sizeXS,
|
|
71016
|
+
marginSM: mergedToken.sizeSM,
|
|
71017
|
+
margin: mergedToken.size,
|
|
71018
|
+
marginMD: mergedToken.sizeMD,
|
|
71019
|
+
marginLG: mergedToken.sizeLG,
|
|
71020
|
+
marginXL: mergedToken.sizeXL,
|
|
71021
|
+
marginXXL: mergedToken.sizeXXL,
|
|
70972
71022
|
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
71023
|
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
71024
|
screenXS: screenXS,
|
|
@@ -71179,8 +71229,8 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
|
|
|
71179
71229
|
height: token.checkboxSize,
|
|
71180
71230
|
direction: 'ltr',
|
|
71181
71231
|
backgroundColor: token.colorBgContainer,
|
|
71182
|
-
border: "".concat(token.
|
|
71183
|
-
borderRadius: token.
|
|
71232
|
+
border: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorBorder),
|
|
71233
|
+
borderRadius: token.borderRadiusSM,
|
|
71184
71234
|
borderCollapse: 'separate',
|
|
71185
71235
|
transition: "all ".concat(token.motionDurationFast),
|
|
71186
71236
|
'&:after': {
|
|
@@ -71191,7 +71241,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
|
|
|
71191
71241
|
display: 'table',
|
|
71192
71242
|
width: token.checkboxSize / 14 * 5,
|
|
71193
71243
|
height: token.checkboxSize / 14 * 8,
|
|
71194
|
-
border: "".concat(token.lineWidthBold, "px solid ").concat(token.
|
|
71244
|
+
border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorWhite),
|
|
71195
71245
|
borderTop: 0,
|
|
71196
71246
|
borderInlineStart: 0,
|
|
71197
71247
|
transform: 'rotate(45deg) scale(0) translate(-50%,-50%)',
|
|
@@ -71238,7 +71288,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
|
|
|
71238
71288
|
insetInlineStart: 0,
|
|
71239
71289
|
width: '100%',
|
|
71240
71290
|
height: '100%',
|
|
71241
|
-
borderRadius: token.
|
|
71291
|
+
borderRadius: token.borderRadiusSM,
|
|
71242
71292
|
visibility: 'hidden',
|
|
71243
71293
|
border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorPrimary),
|
|
71244
71294
|
animationName: antCheckboxEffect,
|
|
@@ -71361,7 +71411,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
|
|
|
71361
71411
|
}
|
|
71362
71412
|
var opts = getOptions();
|
|
71363
71413
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) {
|
|
71364
|
-
return registeredValues.
|
|
71414
|
+
return registeredValues.includes(val);
|
|
71365
71415
|
}).sort(function (a, b) {
|
|
71366
71416
|
var indexA = opts.findIndex(function (opt) {
|
|
71367
71417
|
return opt.value === a;
|
|
@@ -71386,7 +71436,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
|
|
|
71386
71436
|
key: option.value.toString(),
|
|
71387
71437
|
disabled: 'disabled' in option ? option.disabled : restProps.disabled,
|
|
71388
71438
|
value: option.value,
|
|
71389
|
-
checked: value.
|
|
71439
|
+
checked: value.includes(option.value),
|
|
71390
71440
|
onChange: option.onChange,
|
|
71391
71441
|
className: "".concat(groupPrefixCls, "-item"),
|
|
71392
71442
|
style: option.style
|
|
@@ -71511,7 +71561,7 @@ var InternalCheckbox = function InternalCheckbox(_a, ref) {
|
|
|
71511
71561
|
}
|
|
71512
71562
|
};
|
|
71513
71563
|
checkboxProps.name = checkboxGroup.name;
|
|
71514
|
-
checkboxProps.checked = checkboxGroup.value.
|
|
71564
|
+
checkboxProps.checked = checkboxGroup.value.includes(restProps.value);
|
|
71515
71565
|
}
|
|
71516
71566
|
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
71567
|
var checkboxClass = classnames_default()(defineProperty_defineProperty({}, "".concat(prefixCls, "-indeterminate"), indeterminate), hashId);
|
|
@@ -76032,14 +76082,14 @@ var date_picker_locale_en_US_locale = {
|
|
|
76032
76082
|
;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/en_US.js
|
|
76033
76083
|
|
|
76034
76084
|
/* harmony default export */ var calendar_locale_en_US = (date_picker_locale_en_US);
|
|
76035
|
-
;// CONCATENATED MODULE: ./node_modules/antd/es/locale/
|
|
76085
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/locale/en_US.js
|
|
76036
76086
|
/* eslint-disable no-template-curly-in-string */
|
|
76037
76087
|
|
|
76038
76088
|
|
|
76039
76089
|
|
|
76040
76090
|
|
|
76041
|
-
var
|
|
76042
|
-
var
|
|
76091
|
+
var en_US_typeTemplate = '${label} is not a valid ${type}';
|
|
76092
|
+
var en_US_localeValues = {
|
|
76043
76093
|
locale: 'en',
|
|
76044
76094
|
Pagination: locale_en_US,
|
|
76045
76095
|
DatePicker: date_picker_locale_en_US,
|
|
@@ -76067,6 +76117,11 @@ var default_localeValues = {
|
|
|
76067
76117
|
triggerAsc: 'Click to sort ascending',
|
|
76068
76118
|
cancelSort: 'Click to cancel sorting'
|
|
76069
76119
|
},
|
|
76120
|
+
Tour: {
|
|
76121
|
+
Next: 'Next',
|
|
76122
|
+
Previous: 'Previous',
|
|
76123
|
+
Finish: 'Finish'
|
|
76124
|
+
},
|
|
76070
76125
|
Modal: {
|
|
76071
76126
|
okText: 'OK',
|
|
76072
76127
|
cancelText: 'Cancel',
|
|
@@ -76123,19 +76178,19 @@ var default_localeValues = {
|
|
|
76123
76178
|
invalid: '${label} is an invalid date'
|
|
76124
76179
|
},
|
|
76125
76180
|
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:
|
|
76181
|
+
string: en_US_typeTemplate,
|
|
76182
|
+
method: en_US_typeTemplate,
|
|
76183
|
+
array: en_US_typeTemplate,
|
|
76184
|
+
object: en_US_typeTemplate,
|
|
76185
|
+
number: en_US_typeTemplate,
|
|
76186
|
+
date: en_US_typeTemplate,
|
|
76187
|
+
"boolean": en_US_typeTemplate,
|
|
76188
|
+
integer: en_US_typeTemplate,
|
|
76189
|
+
"float": en_US_typeTemplate,
|
|
76190
|
+
regexp: en_US_typeTemplate,
|
|
76191
|
+
email: en_US_typeTemplate,
|
|
76192
|
+
url: en_US_typeTemplate,
|
|
76193
|
+
hex: en_US_typeTemplate
|
|
76139
76194
|
},
|
|
76140
76195
|
string: {
|
|
76141
76196
|
len: '${label} must be ${len} characters',
|
|
@@ -76164,16 +76219,16 @@ var default_localeValues = {
|
|
|
76164
76219
|
preview: 'Preview'
|
|
76165
76220
|
}
|
|
76166
76221
|
};
|
|
76167
|
-
/* harmony default export */ var
|
|
76222
|
+
/* harmony default export */ var antd_es_locale_en_US = (en_US_localeValues);
|
|
76168
76223
|
;// CONCATENATED MODULE: ./node_modules/antd/es/modal/locale.js
|
|
76169
76224
|
|
|
76170
76225
|
|
|
76171
|
-
var runtimeLocale = extends_extends({},
|
|
76226
|
+
var runtimeLocale = extends_extends({}, antd_es_locale_en_US.Modal);
|
|
76172
76227
|
function changeConfirmLocale(newLocale) {
|
|
76173
76228
|
if (newLocale) {
|
|
76174
76229
|
runtimeLocale = extends_extends(extends_extends({}, runtimeLocale), newLocale);
|
|
76175
76230
|
} else {
|
|
76176
|
-
runtimeLocale = extends_extends({},
|
|
76231
|
+
runtimeLocale = extends_extends({}, antd_es_locale_en_US.Modal);
|
|
76177
76232
|
}
|
|
76178
76233
|
}
|
|
76179
76234
|
function getConfirmLocale() {
|
|
@@ -76212,9 +76267,6 @@ var LocaleProvider = function LocaleProvider(props) {
|
|
|
76212
76267
|
}, children);
|
|
76213
76268
|
};
|
|
76214
76269
|
/* 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
76270
|
;// CONCATENATED MODULE: ./node_modules/antd/es/locale-provider/LocaleReceiver.js
|
|
76219
76271
|
|
|
76220
76272
|
|
|
@@ -76228,7 +76280,7 @@ var LocaleReceiver = function LocaleReceiver(props) {
|
|
|
76228
76280
|
var antLocale = external_React_.useContext(locale_provider_context);
|
|
76229
76281
|
var getLocale = external_React_.useMemo(function () {
|
|
76230
76282
|
var _a;
|
|
76231
|
-
var locale = defaultLocale ||
|
|
76283
|
+
var locale = defaultLocale || antd_es_locale_en_US[componentName];
|
|
76232
76284
|
var localeFromContext = (_a = antLocale === null || antLocale === void 0 ? void 0 : antLocale[componentName]) !== null && _a !== void 0 ? _a : {};
|
|
76233
76285
|
return extends_extends(extends_extends({}, locale instanceof Function ? locale() : locale), localeFromContext || {});
|
|
76234
76286
|
}, [componentName, defaultLocale, antLocale]);
|
|
@@ -76236,7 +76288,7 @@ var LocaleReceiver = function LocaleReceiver(props) {
|
|
|
76236
76288
|
var localeCode = antLocale && antLocale.locale;
|
|
76237
76289
|
// Had use LocaleProvide but didn't set locale
|
|
76238
76290
|
if (antLocale && antLocale.exist && !localeCode) {
|
|
76239
|
-
return
|
|
76291
|
+
return antd_es_locale_en_US.locale;
|
|
76240
76292
|
}
|
|
76241
76293
|
return localeCode;
|
|
76242
76294
|
}, [antLocale]);
|
|
@@ -76523,7 +76575,7 @@ var ProviderChildren = function ProviderChildren(props) {
|
|
|
76523
76575
|
// Additional Form provider
|
|
76524
76576
|
var validateMessages = {};
|
|
76525
76577
|
if (locale) {
|
|
76526
|
-
validateMessages = ((_a = locale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || ((_b =
|
|
76578
|
+
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
76579
|
}
|
|
76528
76580
|
if (form && form.validateMessages) {
|
|
76529
76581
|
validateMessages = extends_extends(extends_extends({}, validateMessages), form.validateMessages);
|
|
@@ -76870,6 +76922,154 @@ var tupleNum = function tupleNum() {
|
|
|
76870
76922
|
}
|
|
76871
76923
|
return args;
|
|
76872
76924
|
};
|
|
76925
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/style/compact.js
|
|
76926
|
+
|
|
76927
|
+
var genSpaceCompactStyle = function genSpaceCompactStyle(token) {
|
|
76928
|
+
var componentCls = token.componentCls;
|
|
76929
|
+
return defineProperty_defineProperty({}, componentCls, {
|
|
76930
|
+
display: 'inline-flex',
|
|
76931
|
+
'&-block': {
|
|
76932
|
+
display: 'flex',
|
|
76933
|
+
width: '100%'
|
|
76934
|
+
},
|
|
76935
|
+
'&-vertical': {
|
|
76936
|
+
flexDirection: 'column'
|
|
76937
|
+
}
|
|
76938
|
+
});
|
|
76939
|
+
};
|
|
76940
|
+
// ============================== Export ==============================
|
|
76941
|
+
/* harmony default export */ var compact = (genSpaceCompactStyle);
|
|
76942
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/style/index.js
|
|
76943
|
+
|
|
76944
|
+
|
|
76945
|
+
|
|
76946
|
+
var genSpaceStyle = function genSpaceStyle(token) {
|
|
76947
|
+
var componentCls = token.componentCls;
|
|
76948
|
+
return defineProperty_defineProperty({}, componentCls, defineProperty_defineProperty({
|
|
76949
|
+
display: 'inline-flex',
|
|
76950
|
+
'&-rtl': {
|
|
76951
|
+
direction: 'rtl'
|
|
76952
|
+
},
|
|
76953
|
+
'&-vertical': {
|
|
76954
|
+
flexDirection: 'column'
|
|
76955
|
+
},
|
|
76956
|
+
'&-align': {
|
|
76957
|
+
flexDirection: 'column',
|
|
76958
|
+
'&-center': {
|
|
76959
|
+
alignItems: 'center'
|
|
76960
|
+
},
|
|
76961
|
+
'&-start': {
|
|
76962
|
+
alignItems: 'flex-start'
|
|
76963
|
+
},
|
|
76964
|
+
'&-end': {
|
|
76965
|
+
alignItems: 'flex-end'
|
|
76966
|
+
},
|
|
76967
|
+
'&-baseline': {
|
|
76968
|
+
alignItems: 'flex-baseline'
|
|
76969
|
+
}
|
|
76970
|
+
}
|
|
76971
|
+
}, "".concat(componentCls, "-space-item"), {
|
|
76972
|
+
'&:empty': {
|
|
76973
|
+
display: 'none'
|
|
76974
|
+
}
|
|
76975
|
+
}));
|
|
76976
|
+
};
|
|
76977
|
+
// ============================== Export ==============================
|
|
76978
|
+
/* harmony default export */ var space_style = (genComponentStyleHook('Space', function (token) {
|
|
76979
|
+
return [genSpaceStyle(token), compact(token)];
|
|
76980
|
+
}));
|
|
76981
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/Compact.js
|
|
76982
|
+
|
|
76983
|
+
|
|
76984
|
+
|
|
76985
|
+
var Compact_rest = undefined && undefined.__rest || function (s, e) {
|
|
76986
|
+
var t = {};
|
|
76987
|
+
for (var p in s) {
|
|
76988
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
76989
|
+
}
|
|
76990
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
76991
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
76992
|
+
}
|
|
76993
|
+
return t;
|
|
76994
|
+
};
|
|
76995
|
+
|
|
76996
|
+
|
|
76997
|
+
|
|
76998
|
+
|
|
76999
|
+
|
|
77000
|
+
var SpaceCompactItemContext = /*#__PURE__*/external_React_.createContext(null);
|
|
77001
|
+
var useCompactItemContext = function useCompactItemContext(prefixCls, direction) {
|
|
77002
|
+
var compactItemContext = external_React_.useContext(SpaceCompactItemContext);
|
|
77003
|
+
var compactItemClassnames = external_React_.useMemo(function () {
|
|
77004
|
+
var _classNames;
|
|
77005
|
+
if (!compactItemContext) return '';
|
|
77006
|
+
var compactDirection = compactItemContext.compactDirection,
|
|
77007
|
+
isFirstItem = compactItemContext.isFirstItem,
|
|
77008
|
+
isLastItem = compactItemContext.isLastItem;
|
|
77009
|
+
var separator = compactDirection === 'vertical' ? '-vertical-' : '-';
|
|
77010
|
+
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));
|
|
77011
|
+
}, [prefixCls, direction, compactItemContext]);
|
|
77012
|
+
return {
|
|
77013
|
+
compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize,
|
|
77014
|
+
compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection,
|
|
77015
|
+
compactItemClassnames: compactItemClassnames
|
|
77016
|
+
};
|
|
77017
|
+
};
|
|
77018
|
+
var NoCompactStyle = function NoCompactStyle(_ref) {
|
|
77019
|
+
var children = _ref.children;
|
|
77020
|
+
return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {
|
|
77021
|
+
value: null
|
|
77022
|
+
}, children);
|
|
77023
|
+
};
|
|
77024
|
+
var CompactItem = function CompactItem(_a) {
|
|
77025
|
+
var children = _a.children,
|
|
77026
|
+
otherProps = Compact_rest(_a, ["children"]);
|
|
77027
|
+
return /*#__PURE__*/external_React_.createElement(SpaceCompactItemContext.Provider, {
|
|
77028
|
+
value: otherProps
|
|
77029
|
+
}, children);
|
|
77030
|
+
};
|
|
77031
|
+
var Compact = function Compact(props) {
|
|
77032
|
+
var _classNames2;
|
|
77033
|
+
var _React$useContext = external_React_.useContext(context_ConfigContext),
|
|
77034
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
77035
|
+
directionConfig = _React$useContext.direction;
|
|
77036
|
+
var _props$size = props.size,
|
|
77037
|
+
size = _props$size === void 0 ? 'middle' : _props$size,
|
|
77038
|
+
direction = props.direction,
|
|
77039
|
+
block = props.block,
|
|
77040
|
+
customizePrefixCls = props.prefixCls,
|
|
77041
|
+
className = props.className,
|
|
77042
|
+
children = props.children,
|
|
77043
|
+
restProps = Compact_rest(props, ["size", "direction", "block", "prefixCls", "className", "children"]);
|
|
77044
|
+
var prefixCls = getPrefixCls('space-compact', customizePrefixCls);
|
|
77045
|
+
var _useStyle = space_style(prefixCls),
|
|
77046
|
+
_useStyle2 = slicedToArray_slicedToArray(_useStyle, 2),
|
|
77047
|
+
wrapSSR = _useStyle2[0],
|
|
77048
|
+
hashId = _useStyle2[1];
|
|
77049
|
+
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);
|
|
77050
|
+
var compactItemContext = external_React_.useContext(SpaceCompactItemContext);
|
|
77051
|
+
var childNodes = toArray_toArray(children);
|
|
77052
|
+
var nodes = external_React_.useMemo(function () {
|
|
77053
|
+
return childNodes.map(function (child, i) {
|
|
77054
|
+
var key = child && child.key || "".concat(prefixCls, "-item-").concat(i);
|
|
77055
|
+
return /*#__PURE__*/external_React_.createElement(CompactItem, {
|
|
77056
|
+
key: key,
|
|
77057
|
+
compactSize: size,
|
|
77058
|
+
compactDirection: direction,
|
|
77059
|
+
isFirstItem: i === 0 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isFirstItem)),
|
|
77060
|
+
isLastItem: i === childNodes.length - 1 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isLastItem))
|
|
77061
|
+
}, child);
|
|
77062
|
+
});
|
|
77063
|
+
}, [size, childNodes, compactItemContext]);
|
|
77064
|
+
// =========================== Render ===========================
|
|
77065
|
+
if (childNodes.length === 0) {
|
|
77066
|
+
return null;
|
|
77067
|
+
}
|
|
77068
|
+
return wrapSSR( /*#__PURE__*/external_React_.createElement("div", extends_extends({
|
|
77069
|
+
className: clx
|
|
77070
|
+
}, restProps), nodes));
|
|
77071
|
+
};
|
|
77072
|
+
/* harmony default export */ var space_Compact = (Compact);
|
|
76873
77073
|
;// CONCATENATED MODULE: ./node_modules/antd/es/_util/raf.js
|
|
76874
77074
|
|
|
76875
77075
|
var id = 0;
|
|
@@ -77038,7 +77238,7 @@ var InternalWave = /*#__PURE__*/function (_React$Component) {
|
|
|
77038
77238
|
var _this$props = _this.props,
|
|
77039
77239
|
insertExtraNode = _this$props.insertExtraNode,
|
|
77040
77240
|
disabled = _this$props.disabled;
|
|
77041
|
-
if (disabled || !node || isHidden(node) || node.className.
|
|
77241
|
+
if (disabled || !node || isHidden(node) || node.className.includes('-leave')) {
|
|
77042
77242
|
return;
|
|
77043
77243
|
}
|
|
77044
77244
|
_this.extraNode = document.createElement('div');
|
|
@@ -77083,7 +77283,7 @@ var InternalWave = /*#__PURE__*/function (_React$Component) {
|
|
|
77083
77283
|
_this.resetEffect(e.target);
|
|
77084
77284
|
};
|
|
77085
77285
|
_this.bindAnimationEvent = function (node) {
|
|
77086
|
-
if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.
|
|
77286
|
+
if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.includes('disabled')) {
|
|
77087
77287
|
return;
|
|
77088
77288
|
}
|
|
77089
77289
|
var onClick = function onClick(e) {
|
|
@@ -77320,8 +77520,8 @@ var genButtonBorderStyle = function genButtonBorderStyle(buttonTypeCls, borderCo
|
|
|
77320
77520
|
var genGroupStyle = function genGroupStyle(token) {
|
|
77321
77521
|
var _componentCls, _ref2;
|
|
77322
77522
|
var componentCls = token.componentCls,
|
|
77323
|
-
|
|
77324
|
-
|
|
77523
|
+
fontSize = token.fontSize,
|
|
77524
|
+
lineWidth = token.lineWidth,
|
|
77325
77525
|
colorPrimaryHover = token.colorPrimaryHover,
|
|
77326
77526
|
colorErrorHover = token.colorErrorHover;
|
|
77327
77527
|
return defineProperty_defineProperty({}, "".concat(componentCls, "-group"), [(_ref2 = {
|
|
@@ -77333,7 +77533,7 @@ var genGroupStyle = function genGroupStyle(token) {
|
|
|
77333
77533
|
borderEndEndRadius: 0
|
|
77334
77534
|
}),
|
|
77335
77535
|
'&:not(:first-child)': defineProperty_defineProperty({
|
|
77336
|
-
marginInlineStart: -
|
|
77536
|
+
marginInlineStart: -lineWidth
|
|
77337
77537
|
}, "&, & > ".concat(componentCls), {
|
|
77338
77538
|
borderStartStartRadius: 0,
|
|
77339
77539
|
borderEndStartRadius: 0
|
|
@@ -77346,24 +77546,109 @@ var genGroupStyle = function genGroupStyle(token) {
|
|
|
77346
77546
|
}), defineProperty_defineProperty(_componentCls, '&[disabled]', {
|
|
77347
77547
|
zIndex: 0
|
|
77348
77548
|
}), _componentCls)), defineProperty_defineProperty(_ref2, "".concat(componentCls, "-icon-only"), {
|
|
77349
|
-
fontSize:
|
|
77549
|
+
fontSize: fontSize
|
|
77350
77550
|
}), _ref2),
|
|
77351
77551
|
// Border Color
|
|
77352
77552
|
genButtonBorderStyle("".concat(componentCls, "-primary"), colorPrimaryHover), genButtonBorderStyle("".concat(componentCls, "-danger"), colorErrorHover)]);
|
|
77353
77553
|
};
|
|
77354
77554
|
/* harmony default export */ var style_group = (genGroupStyle);
|
|
77555
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/style/compact-item.js
|
|
77556
|
+
|
|
77557
|
+
|
|
77558
|
+
// handle border collapse
|
|
77559
|
+
function compactItemBorder(token, borderedItemCls, popoverFocusedCls) {
|
|
77560
|
+
var childCombinator = borderedItemCls ? '> *' : '';
|
|
77561
|
+
return {
|
|
77562
|
+
'&-item:not(&-last-item)': {
|
|
77563
|
+
marginInlineEnd: -token.lineWidth
|
|
77564
|
+
},
|
|
77565
|
+
'&-item': extends_extends(extends_extends(defineProperty_defineProperty({}, "&:hover ".concat(childCombinator, ", &:focus ").concat(childCombinator, ", &:active ").concat(childCombinator), {
|
|
77566
|
+
zIndex: 2
|
|
77567
|
+
}), popoverFocusedCls ? defineProperty_defineProperty({}, "&".concat(popoverFocusedCls), {
|
|
77568
|
+
zIndex: 2
|
|
77569
|
+
}) : {}), defineProperty_defineProperty({}, "&[disabled] ".concat(childCombinator), {
|
|
77570
|
+
zIndex: 0
|
|
77571
|
+
}))
|
|
77572
|
+
};
|
|
77573
|
+
}
|
|
77574
|
+
// handle border-radius
|
|
77575
|
+
function compactItemBorderRadius(prefixCls, borderedElementCls) {
|
|
77576
|
+
var _ref2;
|
|
77577
|
+
var childCombinator = borderedElementCls ? "> ".concat(borderedElementCls) : '';
|
|
77578
|
+
return _ref2 = {}, defineProperty_defineProperty(_ref2, "&-item:not(&-first-item):not(&-last-item) ".concat(childCombinator), {
|
|
77579
|
+
borderRadius: 0
|
|
77580
|
+
}), defineProperty_defineProperty(_ref2, '&-item&-first-item', defineProperty_defineProperty({}, "& ".concat(childCombinator, ", &").concat(prefixCls, "-sm ").concat(childCombinator, ", &").concat(prefixCls, "-lg ").concat(childCombinator), {
|
|
77581
|
+
borderStartEndRadius: 0,
|
|
77582
|
+
borderEndEndRadius: 0
|
|
77583
|
+
})), defineProperty_defineProperty(_ref2, '&-item&-last-item', defineProperty_defineProperty({}, "& ".concat(childCombinator, ", &").concat(prefixCls, "-sm ").concat(childCombinator, ", &").concat(prefixCls, "-lg ").concat(childCombinator), {
|
|
77584
|
+
borderStartStartRadius: 0,
|
|
77585
|
+
borderEndStartRadius: 0
|
|
77586
|
+
})), _ref2;
|
|
77587
|
+
}
|
|
77588
|
+
function genCompactItemStyle(token, prefixCls, /** Some component borders are implemented on child elements like `Select` */
|
|
77589
|
+
borderedElementCls,
|
|
77590
|
+
/**
|
|
77591
|
+
* Some components have special `focus` className especially with popovers like `Select` and
|
|
77592
|
+
* `DatePicker`
|
|
77593
|
+
*/
|
|
77594
|
+
popoverFocusedCls) {
|
|
77595
|
+
return {
|
|
77596
|
+
'&-compact': extends_extends(extends_extends({}, compactItemBorder(token, borderedElementCls, popoverFocusedCls)), compactItemBorderRadius(prefixCls, borderedElementCls))
|
|
77597
|
+
};
|
|
77598
|
+
}
|
|
77599
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/style/compact-item-vertical.js
|
|
77600
|
+
|
|
77601
|
+
|
|
77602
|
+
function compactItemVerticalBorder(token) {
|
|
77603
|
+
return {
|
|
77604
|
+
// border collapse
|
|
77605
|
+
'&-item:not(&-last-item)': {
|
|
77606
|
+
marginBottom: -token.lineWidth
|
|
77607
|
+
},
|
|
77608
|
+
'&-item': {
|
|
77609
|
+
'&:hover,&:focus,&:active': {
|
|
77610
|
+
zIndex: 2
|
|
77611
|
+
},
|
|
77612
|
+
'&[disabled]': {
|
|
77613
|
+
zIndex: 0
|
|
77614
|
+
}
|
|
77615
|
+
}
|
|
77616
|
+
};
|
|
77617
|
+
}
|
|
77618
|
+
function compactItemBorderVerticalRadius(prefixCls) {
|
|
77619
|
+
return {
|
|
77620
|
+
'&-item:not(&-first-item):not(&-last-item)': {
|
|
77621
|
+
borderRadius: 0
|
|
77622
|
+
},
|
|
77623
|
+
'&-item&-first-item': defineProperty_defineProperty({}, "&, &".concat(prefixCls, "-sm, &").concat(prefixCls, "-lg"), {
|
|
77624
|
+
borderEndEndRadius: 0,
|
|
77625
|
+
borderEndStartRadius: 0
|
|
77626
|
+
}),
|
|
77627
|
+
'&-item&-last-item': defineProperty_defineProperty({}, "&, &".concat(prefixCls, "-sm, &").concat(prefixCls, "-lg"), {
|
|
77628
|
+
borderStartStartRadius: 0,
|
|
77629
|
+
borderStartEndRadius: 0
|
|
77630
|
+
})
|
|
77631
|
+
};
|
|
77632
|
+
}
|
|
77633
|
+
function genCompactItemVerticalStyle(token, prefixCls) {
|
|
77634
|
+
return {
|
|
77635
|
+
'&-compact-vertical': extends_extends(extends_extends({}, compactItemVerticalBorder(token)), compactItemBorderVerticalRadius(prefixCls))
|
|
77636
|
+
};
|
|
77637
|
+
}
|
|
77355
77638
|
;// CONCATENATED MODULE: ./node_modules/antd/es/button/style/index.js
|
|
77356
77639
|
|
|
77357
77640
|
|
|
77358
77641
|
|
|
77359
77642
|
|
|
77360
77643
|
|
|
77644
|
+
|
|
77645
|
+
|
|
77361
77646
|
// ============================== Shared ==============================
|
|
77362
77647
|
var genSharedButtonStyle = function genSharedButtonStyle(token) {
|
|
77363
|
-
var
|
|
77648
|
+
var _extends2, _extends3;
|
|
77364
77649
|
var componentCls = token.componentCls,
|
|
77365
77650
|
iconCls = token.iconCls;
|
|
77366
|
-
return defineProperty_defineProperty({}, componentCls, (
|
|
77651
|
+
return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends(extends_extends((_extends2 = {
|
|
77367
77652
|
outline: 'none',
|
|
77368
77653
|
position: 'relative',
|
|
77369
77654
|
display: 'inline-block',
|
|
@@ -77372,7 +77657,7 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
|
|
|
77372
77657
|
textAlign: 'center',
|
|
77373
77658
|
backgroundImage: 'none',
|
|
77374
77659
|
backgroundColor: 'transparent',
|
|
77375
|
-
border: "".concat(token.
|
|
77660
|
+
border: "".concat(token.lineWidth, "px ").concat(token.lineType, " transparent"),
|
|
77376
77661
|
cursor: 'pointer',
|
|
77377
77662
|
transition: "all ".concat(token.motionDurationFast, " ").concat(token.motionEaseInOut),
|
|
77378
77663
|
userSelect: 'none',
|
|
@@ -77382,11 +77667,44 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
|
|
|
77382
77667
|
'> span': {
|
|
77383
77668
|
display: 'inline-block'
|
|
77384
77669
|
}
|
|
77385
|
-
}, defineProperty_defineProperty(
|
|
77670
|
+
}, defineProperty_defineProperty(_extends2, "> ".concat(iconCls, " + span, > span + ").concat(iconCls), {
|
|
77386
77671
|
marginInlineStart: token.marginXS
|
|
77387
|
-
}), defineProperty_defineProperty(
|
|
77672
|
+
}), defineProperty_defineProperty(_extends2, "&".concat(componentCls, "-block"), {
|
|
77388
77673
|
width: '100%'
|
|
77389
|
-
}), defineProperty_defineProperty(
|
|
77674
|
+
}), defineProperty_defineProperty(_extends2, '&:not(:disabled)', extends_extends({}, genFocusStyle(token))), _extends2), genCompactItemStyle(token, componentCls)), genCompactItemVerticalStyle(token, componentCls)), (_extends3 = {
|
|
77675
|
+
// make `btn-icon-only` not too narrow
|
|
77676
|
+
'&-icon-only&-compact-item': {
|
|
77677
|
+
flex: 'none'
|
|
77678
|
+
}
|
|
77679
|
+
}, defineProperty_defineProperty(_extends3, "&-compact-item".concat(componentCls, "-primary"), {
|
|
77680
|
+
'&:not([disabled]) + &:not([disabled])': {
|
|
77681
|
+
position: 'relative',
|
|
77682
|
+
'&:after': {
|
|
77683
|
+
position: 'absolute',
|
|
77684
|
+
top: -token.lineWidth,
|
|
77685
|
+
insetInlineStart: -token.lineWidth,
|
|
77686
|
+
display: 'inline-block',
|
|
77687
|
+
width: token.lineWidth,
|
|
77688
|
+
height: "calc(100% + ".concat(token.lineWidth * 2, "px)"),
|
|
77689
|
+
backgroundColor: token.colorPrimaryBorder,
|
|
77690
|
+
content: '""'
|
|
77691
|
+
}
|
|
77692
|
+
}
|
|
77693
|
+
}), defineProperty_defineProperty(_extends3, '&-compact-vertical-item', defineProperty_defineProperty({}, "&".concat(componentCls, "-primary"), {
|
|
77694
|
+
'&:not([disabled]) + &:not([disabled])': {
|
|
77695
|
+
position: 'relative',
|
|
77696
|
+
'&:after': {
|
|
77697
|
+
position: 'absolute',
|
|
77698
|
+
top: -token.lineWidth,
|
|
77699
|
+
insetInlineStart: -token.lineWidth,
|
|
77700
|
+
display: 'inline-block',
|
|
77701
|
+
width: "calc(100% + ".concat(token.lineWidth * 2, "px)"),
|
|
77702
|
+
height: token.lineWidth,
|
|
77703
|
+
backgroundColor: token.colorPrimaryBorder,
|
|
77704
|
+
content: '""'
|
|
77705
|
+
}
|
|
77706
|
+
}
|
|
77707
|
+
})), _extends3)));
|
|
77390
77708
|
};
|
|
77391
77709
|
var genHoverActiveButtonStyle = function genHoverActiveButtonStyle(hoverStyle, activeStyle) {
|
|
77392
77710
|
return {
|
|
@@ -77561,8 +77879,8 @@ var genSizeButtonStyle = function genSizeButtonStyle(token) {
|
|
|
77561
77879
|
var sizePrefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
77562
77880
|
var componentCls = token.componentCls,
|
|
77563
77881
|
iconCls = token.iconCls;
|
|
77564
|
-
var paddingVertical = Math.max(0, (token.controlHeight - token.fontSize * token.lineHeight) / 2 - token.
|
|
77565
|
-
var paddingHorizontal = token.
|
|
77882
|
+
var paddingVertical = Math.max(0, (token.controlHeight - token.fontSize * token.lineHeight) / 2 - token.lineWidth);
|
|
77883
|
+
var paddingHorizontal = token.buttonPaddingHorizontal - token.lineWidth;
|
|
77566
77884
|
var iconOnlyCls = "".concat(componentCls, "-icon-only");
|
|
77567
77885
|
return [
|
|
77568
77886
|
// Size
|
|
@@ -77570,7 +77888,7 @@ var genSizeButtonStyle = function genSizeButtonStyle(token) {
|
|
|
77570
77888
|
fontSize: token.fontSize,
|
|
77571
77889
|
height: token.controlHeight,
|
|
77572
77890
|
padding: "".concat(paddingVertical, "px ").concat(paddingHorizontal, "px"),
|
|
77573
|
-
borderRadius: token.
|
|
77891
|
+
borderRadius: token.borderRadius
|
|
77574
77892
|
}, defineProperty_defineProperty(_$concat$concat, "&".concat(iconOnlyCls), {
|
|
77575
77893
|
width: token.controlHeight,
|
|
77576
77894
|
paddingInlineStart: 0,
|
|
@@ -77596,7 +77914,8 @@ var genSizeSmallButtonStyle = function genSizeSmallButtonStyle(token) {
|
|
|
77596
77914
|
var smallToken = statistic_merge(token, {
|
|
77597
77915
|
controlHeight: token.controlHeightSM,
|
|
77598
77916
|
padding: token.paddingXS,
|
|
77599
|
-
|
|
77917
|
+
buttonPaddingHorizontal: 8,
|
|
77918
|
+
borderRadius: token.borderRadiusSM
|
|
77600
77919
|
});
|
|
77601
77920
|
return genSizeButtonStyle(smallToken, "".concat(token.componentCls, "-sm"));
|
|
77602
77921
|
};
|
|
@@ -77604,15 +77923,17 @@ var genSizeLargeButtonStyle = function genSizeLargeButtonStyle(token) {
|
|
|
77604
77923
|
var largeToken = statistic_merge(token, {
|
|
77605
77924
|
controlHeight: token.controlHeightLG,
|
|
77606
77925
|
fontSize: token.fontSizeLG,
|
|
77607
|
-
|
|
77926
|
+
borderRadius: token.borderRadiusLG
|
|
77608
77927
|
});
|
|
77609
77928
|
return genSizeButtonStyle(largeToken, "".concat(token.componentCls, "-lg"));
|
|
77610
77929
|
};
|
|
77611
77930
|
// ============================== Export ==============================
|
|
77612
77931
|
/* harmony default export */ var button_style = (genComponentStyleHook('Button', function (token) {
|
|
77613
|
-
var controlTmpOutline = token.controlTmpOutline
|
|
77932
|
+
var controlTmpOutline = token.controlTmpOutline,
|
|
77933
|
+
paddingContentHorizontal = token.paddingContentHorizontal;
|
|
77614
77934
|
var buttonToken = statistic_merge(token, {
|
|
77615
|
-
colorOutlineDefault: controlTmpOutline
|
|
77935
|
+
colorOutlineDefault: controlTmpOutline,
|
|
77936
|
+
buttonPaddingHorizontal: paddingContentHorizontal
|
|
77616
77937
|
});
|
|
77617
77938
|
return [
|
|
77618
77939
|
// Shared
|
|
@@ -77652,6 +77973,7 @@ var button_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
77652
77973
|
|
|
77653
77974
|
|
|
77654
77975
|
|
|
77976
|
+
|
|
77655
77977
|
// CSSINJS
|
|
77656
77978
|
|
|
77657
77979
|
var rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/;
|
|
@@ -77662,9 +77984,6 @@ function isString(str) {
|
|
|
77662
77984
|
function isUnBorderedButtonType(type) {
|
|
77663
77985
|
return type === 'text' || type === 'link';
|
|
77664
77986
|
}
|
|
77665
|
-
function isReactFragment(node) {
|
|
77666
|
-
return /*#__PURE__*/ /*#__PURE__*/external_React_.isValidElement(node) && node.type === external_React_.Fragment;
|
|
77667
|
-
}
|
|
77668
77987
|
// Insert one space between two chinese characters automatically.
|
|
77669
77988
|
function insertSpace(child, needInserted) {
|
|
77670
77989
|
// Check the child if is undefined or null.
|
|
@@ -77681,7 +78000,7 @@ function insertSpace(child, needInserted) {
|
|
|
77681
78000
|
if (typeof child === 'string') {
|
|
77682
78001
|
return isTwoCNChar(child) ? /*#__PURE__*/external_React_.createElement("span", null, child.split('').join(SPACE)) : /*#__PURE__*/external_React_.createElement("span", null, child);
|
|
77683
78002
|
}
|
|
77684
|
-
if (
|
|
78003
|
+
if (isFragment(child)) {
|
|
77685
78004
|
return /*#__PURE__*/external_React_.createElement("span", null, child);
|
|
77686
78005
|
}
|
|
77687
78006
|
return child;
|
|
@@ -77816,16 +78135,19 @@ var InternalButton = function InternalButton(props, ref) {
|
|
|
77816
78135
|
false ? 0 : void 0;
|
|
77817
78136
|
false ? 0 : void 0;
|
|
77818
78137
|
var autoInsertSpace = autoInsertSpaceInButton !== false;
|
|
78138
|
+
var _useCompactItemContex = useCompactItemContext(prefixCls, direction),
|
|
78139
|
+
compactSize = _useCompactItemContex.compactSize,
|
|
78140
|
+
compactItemClassnames = _useCompactItemContex.compactItemClassnames;
|
|
77819
78141
|
var sizeClassNameMap = {
|
|
77820
78142
|
large: 'lg',
|
|
77821
78143
|
small: 'sm',
|
|
77822
78144
|
middle: undefined
|
|
77823
78145
|
};
|
|
77824
|
-
var sizeFullname = groupSize || customizeSize || size;
|
|
78146
|
+
var sizeFullname = compactSize || groupSize || customizeSize || size;
|
|
77825
78147
|
var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
|
|
77826
78148
|
var iconType = innerLoading ? 'loading' : icon;
|
|
77827
78149
|
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);
|
|
78150
|
+
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
78151
|
var iconNode = icon && !innerLoading ? icon : /*#__PURE__*/external_React_.createElement(button_LoadingIcon, {
|
|
77830
78152
|
existIcon: !!icon,
|
|
77831
78153
|
prefixCls: prefixCls,
|
|
@@ -77861,6 +78183,219 @@ Button.__ANT_BUTTON = true;
|
|
|
77861
78183
|
;// CONCATENATED MODULE: ./node_modules/antd/es/button/index.js
|
|
77862
78184
|
|
|
77863
78185
|
/* harmony default export */ var es_button = (button_button);
|
|
78186
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/_util/styleChecker.js
|
|
78187
|
+
|
|
78188
|
+
|
|
78189
|
+
var canUseDocElement = function canUseDocElement() {
|
|
78190
|
+
return canUseDom() && window.document.documentElement;
|
|
78191
|
+
};
|
|
78192
|
+
|
|
78193
|
+
var flexGapSupported;
|
|
78194
|
+
var detectFlexGapSupported = function detectFlexGapSupported() {
|
|
78195
|
+
if (!canUseDocElement()) {
|
|
78196
|
+
return false;
|
|
78197
|
+
}
|
|
78198
|
+
if (flexGapSupported !== undefined) {
|
|
78199
|
+
return flexGapSupported;
|
|
78200
|
+
}
|
|
78201
|
+
// create flex container with row-gap set
|
|
78202
|
+
var flex = document.createElement('div');
|
|
78203
|
+
flex.style.display = 'flex';
|
|
78204
|
+
flex.style.flexDirection = 'column';
|
|
78205
|
+
flex.style.rowGap = '1px';
|
|
78206
|
+
// create two, elements inside it
|
|
78207
|
+
flex.appendChild(document.createElement('div'));
|
|
78208
|
+
flex.appendChild(document.createElement('div'));
|
|
78209
|
+
// append to the DOM (needed to obtain scrollHeight)
|
|
78210
|
+
document.body.appendChild(flex);
|
|
78211
|
+
flexGapSupported = flex.scrollHeight === 1; // flex container should be 1px high from the row-gap
|
|
78212
|
+
document.body.removeChild(flex);
|
|
78213
|
+
return flexGapSupported;
|
|
78214
|
+
};
|
|
78215
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/_util/hooks/useFlexGapSupport.js
|
|
78216
|
+
|
|
78217
|
+
|
|
78218
|
+
|
|
78219
|
+
/* harmony default export */ var useFlexGapSupport = (function () {
|
|
78220
|
+
var _React$useState = external_React_.useState(false),
|
|
78221
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
78222
|
+
flexible = _React$useState2[0],
|
|
78223
|
+
setFlexible = _React$useState2[1];
|
|
78224
|
+
external_React_.useEffect(function () {
|
|
78225
|
+
setFlexible(detectFlexGapSupported());
|
|
78226
|
+
}, []);
|
|
78227
|
+
return flexible;
|
|
78228
|
+
});
|
|
78229
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/Item.js
|
|
78230
|
+
|
|
78231
|
+
|
|
78232
|
+
|
|
78233
|
+
|
|
78234
|
+
function Item(_ref) {
|
|
78235
|
+
var className = _ref.className,
|
|
78236
|
+
direction = _ref.direction,
|
|
78237
|
+
index = _ref.index,
|
|
78238
|
+
marginDirection = _ref.marginDirection,
|
|
78239
|
+
children = _ref.children,
|
|
78240
|
+
split = _ref.split,
|
|
78241
|
+
wrap = _ref.wrap;
|
|
78242
|
+
var _React$useContext = external_React_.useContext(SpaceContext),
|
|
78243
|
+
horizontalSize = _React$useContext.horizontalSize,
|
|
78244
|
+
verticalSize = _React$useContext.verticalSize,
|
|
78245
|
+
latestIndex = _React$useContext.latestIndex,
|
|
78246
|
+
supportFlexGap = _React$useContext.supportFlexGap;
|
|
78247
|
+
var style = {};
|
|
78248
|
+
if (!supportFlexGap) {
|
|
78249
|
+
if (direction === 'vertical') {
|
|
78250
|
+
if (index < latestIndex) {
|
|
78251
|
+
style = {
|
|
78252
|
+
marginBottom: horizontalSize / (split ? 2 : 1)
|
|
78253
|
+
};
|
|
78254
|
+
}
|
|
78255
|
+
} else {
|
|
78256
|
+
style = extends_extends(extends_extends({}, index < latestIndex && defineProperty_defineProperty({}, marginDirection, horizontalSize / (split ? 2 : 1))), wrap && {
|
|
78257
|
+
paddingBottom: verticalSize
|
|
78258
|
+
});
|
|
78259
|
+
}
|
|
78260
|
+
}
|
|
78261
|
+
if (children === null || children === undefined) {
|
|
78262
|
+
return null;
|
|
78263
|
+
}
|
|
78264
|
+
return /*#__PURE__*/external_React_.createElement(external_React_.Fragment, null, /*#__PURE__*/external_React_.createElement("div", {
|
|
78265
|
+
className: className,
|
|
78266
|
+
style: style
|
|
78267
|
+
}, children), index < latestIndex && split && /*#__PURE__*/external_React_.createElement("span", {
|
|
78268
|
+
className: "".concat(className, "-split"),
|
|
78269
|
+
style: style
|
|
78270
|
+
}, split));
|
|
78271
|
+
}
|
|
78272
|
+
;// CONCATENATED MODULE: ./node_modules/antd/es/space/index.js
|
|
78273
|
+
|
|
78274
|
+
|
|
78275
|
+
|
|
78276
|
+
var space_rest = undefined && undefined.__rest || function (s, e) {
|
|
78277
|
+
var t = {};
|
|
78278
|
+
for (var p in s) {
|
|
78279
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
78280
|
+
}
|
|
78281
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
78282
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
78283
|
+
}
|
|
78284
|
+
return t;
|
|
78285
|
+
};
|
|
78286
|
+
|
|
78287
|
+
|
|
78288
|
+
|
|
78289
|
+
|
|
78290
|
+
|
|
78291
|
+
|
|
78292
|
+
|
|
78293
|
+
|
|
78294
|
+
var SpaceContext = /*#__PURE__*/external_React_.createContext({
|
|
78295
|
+
latestIndex: 0,
|
|
78296
|
+
horizontalSize: 0,
|
|
78297
|
+
verticalSize: 0,
|
|
78298
|
+
supportFlexGap: false
|
|
78299
|
+
});
|
|
78300
|
+
var spaceSize = {
|
|
78301
|
+
small: 8,
|
|
78302
|
+
middle: 16,
|
|
78303
|
+
large: 24
|
|
78304
|
+
};
|
|
78305
|
+
function getNumberSize(size) {
|
|
78306
|
+
return typeof size === 'string' ? spaceSize[size] : size || 0;
|
|
78307
|
+
}
|
|
78308
|
+
var Space = function Space(props) {
|
|
78309
|
+
var _classNames;
|
|
78310
|
+
var _React$useContext = external_React_.useContext(context_ConfigContext),
|
|
78311
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
78312
|
+
space = _React$useContext.space,
|
|
78313
|
+
directionConfig = _React$useContext.direction;
|
|
78314
|
+
var _props$size = props.size,
|
|
78315
|
+
size = _props$size === void 0 ? (space === null || space === void 0 ? void 0 : space.size) || 'small' : _props$size,
|
|
78316
|
+
align = props.align,
|
|
78317
|
+
className = props.className,
|
|
78318
|
+
children = props.children,
|
|
78319
|
+
_props$direction = props.direction,
|
|
78320
|
+
direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
|
|
78321
|
+
customizePrefixCls = props.prefixCls,
|
|
78322
|
+
split = props.split,
|
|
78323
|
+
style = props.style,
|
|
78324
|
+
_props$wrap = props.wrap,
|
|
78325
|
+
wrap = _props$wrap === void 0 ? false : _props$wrap,
|
|
78326
|
+
otherProps = space_rest(props, ["size", "align", "className", "children", "direction", "prefixCls", "split", "style", "wrap"]);
|
|
78327
|
+
var supportFlexGap = useFlexGapSupport();
|
|
78328
|
+
var _React$useMemo = external_React_.useMemo(function () {
|
|
78329
|
+
return (Array.isArray(size) ? size : [size, size]).map(function (item) {
|
|
78330
|
+
return getNumberSize(item);
|
|
78331
|
+
});
|
|
78332
|
+
}, [size]),
|
|
78333
|
+
_React$useMemo2 = slicedToArray_slicedToArray(_React$useMemo, 2),
|
|
78334
|
+
horizontalSize = _React$useMemo2[0],
|
|
78335
|
+
verticalSize = _React$useMemo2[1];
|
|
78336
|
+
var childNodes = toArray_toArray(children, {
|
|
78337
|
+
keepEmpty: true
|
|
78338
|
+
});
|
|
78339
|
+
var mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
|
|
78340
|
+
var prefixCls = getPrefixCls('space', customizePrefixCls);
|
|
78341
|
+
var _useStyle = space_style(prefixCls),
|
|
78342
|
+
_useStyle2 = slicedToArray_slicedToArray(_useStyle, 2),
|
|
78343
|
+
wrapSSR = _useStyle2[0],
|
|
78344
|
+
hashId = _useStyle2[1];
|
|
78345
|
+
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);
|
|
78346
|
+
var itemClassName = "".concat(prefixCls, "-item");
|
|
78347
|
+
var marginDirection = directionConfig === 'rtl' ? 'marginLeft' : 'marginRight';
|
|
78348
|
+
// Calculate latest one
|
|
78349
|
+
var latestIndex = 0;
|
|
78350
|
+
var nodes = childNodes.map(function (child, i) {
|
|
78351
|
+
if (child !== null && child !== undefined) {
|
|
78352
|
+
latestIndex = i;
|
|
78353
|
+
}
|
|
78354
|
+
var key = child && child.key || "".concat(itemClassName, "-").concat(i);
|
|
78355
|
+
return /*#__PURE__*/external_React_.createElement(Item, {
|
|
78356
|
+
className: itemClassName,
|
|
78357
|
+
key: key,
|
|
78358
|
+
direction: direction,
|
|
78359
|
+
index: i,
|
|
78360
|
+
marginDirection: marginDirection,
|
|
78361
|
+
split: split,
|
|
78362
|
+
wrap: wrap
|
|
78363
|
+
}, child);
|
|
78364
|
+
});
|
|
78365
|
+
var spaceContext = external_React_.useMemo(function () {
|
|
78366
|
+
return {
|
|
78367
|
+
horizontalSize: horizontalSize,
|
|
78368
|
+
verticalSize: verticalSize,
|
|
78369
|
+
latestIndex: latestIndex,
|
|
78370
|
+
supportFlexGap: supportFlexGap
|
|
78371
|
+
};
|
|
78372
|
+
}, [horizontalSize, verticalSize, latestIndex, supportFlexGap]);
|
|
78373
|
+
// =========================== Render ===========================
|
|
78374
|
+
if (childNodes.length === 0) {
|
|
78375
|
+
return null;
|
|
78376
|
+
}
|
|
78377
|
+
var gapStyle = {};
|
|
78378
|
+
if (wrap) {
|
|
78379
|
+
gapStyle.flexWrap = 'wrap';
|
|
78380
|
+
// Patch for gap not support
|
|
78381
|
+
if (!supportFlexGap) {
|
|
78382
|
+
gapStyle.marginBottom = -verticalSize;
|
|
78383
|
+
}
|
|
78384
|
+
}
|
|
78385
|
+
if (supportFlexGap) {
|
|
78386
|
+
gapStyle.columnGap = horizontalSize;
|
|
78387
|
+
gapStyle.rowGap = verticalSize;
|
|
78388
|
+
}
|
|
78389
|
+
return wrapSSR( /*#__PURE__*/external_React_.createElement("div", extends_extends({
|
|
78390
|
+
className: cn,
|
|
78391
|
+
style: extends_extends(extends_extends({}, gapStyle), style)
|
|
78392
|
+
}, otherProps), /*#__PURE__*/external_React_.createElement(SpaceContext.Provider, {
|
|
78393
|
+
value: spaceContext
|
|
78394
|
+
}, nodes)));
|
|
78395
|
+
};
|
|
78396
|
+
var CompoundedSpace = Space;
|
|
78397
|
+
CompoundedSpace.Compact = space_Compact;
|
|
78398
|
+
/* harmony default export */ var space = (CompoundedSpace);
|
|
77864
78399
|
;// CONCATENATED MODULE: ./node_modules/antd/es/style/roundedArrow.js
|
|
77865
78400
|
var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor, boxShadow) {
|
|
77866
78401
|
var unitWidth = width / 2;
|
|
@@ -77929,9 +78464,9 @@ function getArrowOffset(options) {
|
|
|
77929
78464
|
var maxVerticalContentRadius = MAX_VERTICAL_CONTENT_RADIUS;
|
|
77930
78465
|
var sizePopupArrow = options.sizePopupArrow,
|
|
77931
78466
|
contentRadius = options.contentRadius,
|
|
77932
|
-
|
|
78467
|
+
borderRadiusOuter = options.borderRadiusOuter,
|
|
77933
78468
|
limitVerticalRadius = options.limitVerticalRadius;
|
|
77934
|
-
var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(
|
|
78469
|
+
var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(borderRadiusOuter * (Math.sqrt(2) - 1));
|
|
77935
78470
|
var dropdownArrowOffset = (contentRadius > 12 ? contentRadius + 2 : 12) - arrowInnerOffset;
|
|
77936
78471
|
var dropdownArrowOffsetVertical = limitVerticalRadius ? maxVerticalContentRadius - arrowInnerOffset : dropdownArrowOffset;
|
|
77937
78472
|
return {
|
|
@@ -77944,28 +78479,28 @@ function getArrowStyle(token, options) {
|
|
|
77944
78479
|
var componentCls = token.componentCls,
|
|
77945
78480
|
sizePopupArrow = token.sizePopupArrow,
|
|
77946
78481
|
marginXXS = token.marginXXS,
|
|
77947
|
-
|
|
77948
|
-
|
|
78482
|
+
borderRadiusXS = token.borderRadiusXS,
|
|
78483
|
+
borderRadiusOuter = token.borderRadiusOuter,
|
|
77949
78484
|
boxShadowPopoverArrow = token.boxShadowPopoverArrow;
|
|
77950
78485
|
var colorBg = options.colorBg,
|
|
77951
78486
|
showArrowCls = options.showArrowCls,
|
|
77952
78487
|
_options$contentRadiu = options.contentRadius,
|
|
77953
|
-
contentRadius = _options$contentRadiu === void 0 ? token.
|
|
78488
|
+
contentRadius = _options$contentRadiu === void 0 ? token.borderRadiusLG : _options$contentRadiu,
|
|
77954
78489
|
limitVerticalRadius = options.limitVerticalRadius;
|
|
77955
78490
|
var _getArrowOffset = getArrowOffset({
|
|
77956
78491
|
sizePopupArrow: sizePopupArrow,
|
|
77957
78492
|
contentRadius: contentRadius,
|
|
77958
|
-
|
|
78493
|
+
borderRadiusOuter: borderRadiusOuter,
|
|
77959
78494
|
limitVerticalRadius: limitVerticalRadius
|
|
77960
78495
|
}),
|
|
77961
78496
|
dropdownArrowOffsetVertical = _getArrowOffset.dropdownArrowOffsetVertical,
|
|
77962
78497
|
dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
|
|
77963
|
-
var dropdownArrowDistance = sizePopupArrow + marginXXS;
|
|
78498
|
+
var dropdownArrowDistance = sizePopupArrow / 2 + marginXXS;
|
|
77964
78499
|
return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-arrow"), [extends_extends(extends_extends({
|
|
77965
78500
|
position: 'absolute',
|
|
77966
78501
|
zIndex: 1,
|
|
77967
78502
|
display: 'block'
|
|
77968
|
-
}, roundedArrow(sizePopupArrow,
|
|
78503
|
+
}, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBg, boxShadowPopoverArrow)), {
|
|
77969
78504
|
'&:before': {
|
|
77970
78505
|
background: colorBg
|
|
77971
78506
|
}
|
|
@@ -78409,9 +78944,9 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78409
78944
|
motionDurationMid = token.motionDurationMid,
|
|
78410
78945
|
motionDurationFast = token.motionDurationFast,
|
|
78411
78946
|
dropdownPaddingVertical = token.dropdownPaddingVertical,
|
|
78412
|
-
|
|
78947
|
+
fontSize = token.fontSize,
|
|
78413
78948
|
dropdownEdgeChildPadding = token.dropdownEdgeChildPadding,
|
|
78414
|
-
|
|
78949
|
+
borderRadius = token.borderRadius,
|
|
78415
78950
|
colorTextDisabled = token.colorTextDisabled,
|
|
78416
78951
|
fontSizeIcon = token.fontSizeIcon,
|
|
78417
78952
|
controlPaddingHorizontal = token.controlPaddingHorizontal,
|
|
@@ -78429,7 +78964,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78429
78964
|
// A placeholder out of dropdown visible range to avoid close when user moving
|
|
78430
78965
|
'&::before': {
|
|
78431
78966
|
position: 'absolute',
|
|
78432
|
-
insetBlock: -dropdownArrowDistance + sizePopupArrow,
|
|
78967
|
+
insetBlock: -dropdownArrowDistance + sizePopupArrow / 2,
|
|
78433
78968
|
// insetInlineStart: -7, // FIXME: Seems not work for hidden element
|
|
78434
78969
|
zIndex: -9999,
|
|
78435
78970
|
opacity: 0.0001,
|
|
@@ -78453,7 +78988,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78453
78988
|
position: 'absolute',
|
|
78454
78989
|
zIndex: 1,
|
|
78455
78990
|
display: 'block'
|
|
78456
|
-
}, roundedArrow(sizePopupArrow, token.
|
|
78991
|
+
}, 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
78992
|
bottom: dropdownArrowDistance,
|
|
78458
78993
|
transform: 'translateY(100%) rotate(180deg)'
|
|
78459
78994
|
}), defineProperty_defineProperty(_extends2, "&-placement-top > ".concat(componentCls, "-arrow"), {
|
|
@@ -78519,7 +79054,7 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78519
79054
|
listStyleType: 'none',
|
|
78520
79055
|
backgroundColor: colorBgElevated,
|
|
78521
79056
|
backgroundClip: 'padding-box',
|
|
78522
|
-
borderRadius: token.
|
|
79057
|
+
borderRadius: token.borderRadiusLG,
|
|
78523
79058
|
outline: 'none',
|
|
78524
79059
|
boxShadow: token.boxShadowSecondary
|
|
78525
79060
|
}, genFocusStyle(token)), (_extends5 = {}, defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-group-title"), {
|
|
@@ -78530,9 +79065,9 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78530
79065
|
position: 'relative',
|
|
78531
79066
|
display: 'flex',
|
|
78532
79067
|
alignItems: 'center',
|
|
78533
|
-
borderRadius: token.
|
|
79068
|
+
borderRadius: token.borderRadiusSM
|
|
78534
79069
|
}), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-icon"), {
|
|
78535
|
-
minWidth:
|
|
79070
|
+
minWidth: fontSize,
|
|
78536
79071
|
marginInlineEnd: token.marginXS,
|
|
78537
79072
|
fontSize: token.fontSizeSM
|
|
78538
79073
|
}), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-title-content"), {
|
|
@@ -78555,15 +79090,15 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78555
79090
|
padding: "".concat(dropdownPaddingVertical, "px ").concat(controlPaddingHorizontal, "px"),
|
|
78556
79091
|
color: token.colorText,
|
|
78557
79092
|
fontWeight: 'normal',
|
|
78558
|
-
fontSize:
|
|
79093
|
+
fontSize: fontSize,
|
|
78559
79094
|
lineHeight: token.lineHeight,
|
|
78560
79095
|
cursor: 'pointer',
|
|
78561
79096
|
transition: "all ".concat(motionDurationFast),
|
|
78562
79097
|
'&:first-child': !dropdownEdgeChildPadding ? {
|
|
78563
|
-
borderRadius: "".concat(
|
|
79098
|
+
borderRadius: "".concat(borderRadius, "px ").concat(borderRadius, "px 0 0")
|
|
78564
79099
|
} : [],
|
|
78565
79100
|
'&:last-child': !dropdownEdgeChildPadding ? {
|
|
78566
|
-
borderRadius: "0 0 ".concat(
|
|
79101
|
+
borderRadius: "0 0 ".concat(borderRadius, "px ").concat(borderRadius, "px")
|
|
78567
79102
|
} : []
|
|
78568
79103
|
}, "&:hover, &-active", {
|
|
78569
79104
|
backgroundColor: token.controlItemBgHover
|
|
@@ -78626,23 +79161,23 @@ var genBaseStyle = function genBaseStyle(token) {
|
|
|
78626
79161
|
var marginXXS = token.marginXXS,
|
|
78627
79162
|
sizePopupArrow = token.sizePopupArrow,
|
|
78628
79163
|
controlHeight = token.controlHeight,
|
|
78629
|
-
|
|
79164
|
+
fontSize = token.fontSize,
|
|
78630
79165
|
lineHeight = token.lineHeight,
|
|
78631
79166
|
paddingXXS = token.paddingXXS,
|
|
78632
79167
|
componentCls = token.componentCls,
|
|
78633
|
-
|
|
78634
|
-
|
|
78635
|
-
var dropdownPaddingVertical = (controlHeight -
|
|
79168
|
+
borderRadiusOuter = token.borderRadiusOuter,
|
|
79169
|
+
borderRadiusLG = token.borderRadiusLG;
|
|
79170
|
+
var dropdownPaddingVertical = (controlHeight - fontSize * lineHeight) / 2;
|
|
78636
79171
|
var _getArrowOffset = getArrowOffset({
|
|
78637
79172
|
sizePopupArrow: sizePopupArrow,
|
|
78638
|
-
contentRadius:
|
|
78639
|
-
|
|
79173
|
+
contentRadius: borderRadiusLG,
|
|
79174
|
+
borderRadiusOuter: borderRadiusOuter
|
|
78640
79175
|
}),
|
|
78641
79176
|
dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
|
|
78642
79177
|
var dropdownToken = statistic_merge(token, {
|
|
78643
79178
|
menuCls: "".concat(componentCls, "-menu"),
|
|
78644
79179
|
rootPrefixCls: rootPrefixCls,
|
|
78645
|
-
dropdownArrowDistance: sizePopupArrow + marginXXS,
|
|
79180
|
+
dropdownArrowDistance: sizePopupArrow / 2 + marginXXS,
|
|
78646
79181
|
dropdownArrowOffset: dropdownArrowOffset,
|
|
78647
79182
|
dropdownPaddingVertical: dropdownPaddingVertical,
|
|
78648
79183
|
dropdownEdgeChildPadding: paddingXXS
|
|
@@ -78673,7 +79208,8 @@ var dropdown_button_rest = undefined && undefined.__rest || function (s, e) {
|
|
|
78673
79208
|
|
|
78674
79209
|
|
|
78675
79210
|
|
|
78676
|
-
|
|
79211
|
+
|
|
79212
|
+
|
|
78677
79213
|
var dropdown_button_DropdownButton = function DropdownButton(props) {
|
|
78678
79214
|
var _React$useContext = external_React_.useContext(context_ConfigContext),
|
|
78679
79215
|
getContextPopupContainer = _React$useContext.getPopupContainer,
|
|
@@ -78729,6 +79265,10 @@ var dropdown_button_DropdownButton = function DropdownButton(props) {
|
|
|
78729
79265
|
overlayStyle: overlayStyle,
|
|
78730
79266
|
destroyPopupOnHide: destroyPopupOnHide
|
|
78731
79267
|
};
|
|
79268
|
+
var _useCompactItemContex = useCompactItemContext(prefixCls, direction),
|
|
79269
|
+
compactSize = _useCompactItemContex.compactSize,
|
|
79270
|
+
compactItemClassnames = _useCompactItemContex.compactItemClassnames;
|
|
79271
|
+
var classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
|
|
78732
79272
|
if ('open' in props) {
|
|
78733
79273
|
dropdownProps.open = open;
|
|
78734
79274
|
}
|
|
@@ -78756,9 +79296,11 @@ var dropdown_button_DropdownButton = function DropdownButton(props) {
|
|
|
78756
79296
|
_buttonsRender2 = slicedToArray_slicedToArray(_buttonsRender, 2),
|
|
78757
79297
|
leftButtonToRender = _buttonsRender2[0],
|
|
78758
79298
|
rightButtonToRender = _buttonsRender2[1];
|
|
78759
|
-
return wrapSSR( /*#__PURE__*/external_React_.createElement(
|
|
78760
|
-
className:
|
|
78761
|
-
|
|
79299
|
+
return wrapSSR( /*#__PURE__*/external_React_.createElement(space.Compact, extends_extends({
|
|
79300
|
+
className: classes,
|
|
79301
|
+
size: compactSize,
|
|
79302
|
+
block: true
|
|
79303
|
+
}, restProps), leftButtonToRender, /*#__PURE__*/external_React_.createElement(dropdown, extends_extends({}, dropdownProps), rightButtonToRender)));
|
|
78762
79304
|
};
|
|
78763
79305
|
dropdown_button_DropdownButton.__ANT_BUTTON = true;
|
|
78764
79306
|
/* harmony default export */ var dropdown_button = (dropdown_button_DropdownButton);
|
|
@@ -78997,9 +79539,9 @@ function InternalItem(props, ref) {
|
|
|
78997
79539
|
}
|
|
78998
79540
|
return itemNode;
|
|
78999
79541
|
}
|
|
79000
|
-
var
|
|
79001
|
-
|
|
79002
|
-
/* harmony default export */ var es_Item = (
|
|
79542
|
+
var Item_Item = /*#__PURE__*/external_React_.forwardRef(InternalItem);
|
|
79543
|
+
Item_Item.displayName = 'Item';
|
|
79544
|
+
/* harmony default export */ var es_Item = (Item_Item);
|
|
79003
79545
|
;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/hooks/useBatchFrameState.js
|
|
79004
79546
|
|
|
79005
79547
|
|
|
@@ -81686,6 +82228,7 @@ var getThemeStyle = function getThemeStyle(token, themeSuffix) {
|
|
|
81686
82228
|
;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/vertical.js
|
|
81687
82229
|
|
|
81688
82230
|
|
|
82231
|
+
|
|
81689
82232
|
var getVerticalInlineStyle = function getVerticalInlineStyle(token) {
|
|
81690
82233
|
var _ref;
|
|
81691
82234
|
var componentCls = token.componentCls,
|
|
@@ -81808,12 +82351,9 @@ var getVerticalStyle = function getVerticalStyle(token) {
|
|
|
81808
82351
|
display: 'none'
|
|
81809
82352
|
}), defineProperty_defineProperty(_tooltip, 'a, a:hover', {
|
|
81810
82353
|
color: colorTextLightSolid
|
|
81811
|
-
}), _tooltip)), defineProperty_defineProperty(_$concat5, "".concat(componentCls, "-item-group-title"), {
|
|
81812
|
-
paddingInline: paddingXS
|
|
81813
|
-
|
|
81814
|
-
whiteSpace: 'nowrap',
|
|
81815
|
-
textOverflow: 'ellipsis'
|
|
81816
|
-
}), _$concat5))];
|
|
82354
|
+
}), _tooltip)), defineProperty_defineProperty(_$concat5, "".concat(componentCls, "-item-group-title"), extends_extends(extends_extends({}, textEllipsis), {
|
|
82355
|
+
paddingInline: paddingXS
|
|
82356
|
+
})), _$concat5))];
|
|
81817
82357
|
};
|
|
81818
82358
|
/* harmony default export */ var vertical = (getVerticalStyle);
|
|
81819
82359
|
;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/index.js
|
|
@@ -81844,8 +82384,8 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81844
82384
|
lineWidth = token.lineWidth,
|
|
81845
82385
|
iconCls = token.iconCls,
|
|
81846
82386
|
zIndexPopup = token.zIndexPopup,
|
|
81847
|
-
|
|
81848
|
-
|
|
82387
|
+
borderRadius = token.borderRadius,
|
|
82388
|
+
borderRadiusLG = token.borderRadiusLG,
|
|
81849
82389
|
radiusSubMenuItem = token.radiusSubMenuItem,
|
|
81850
82390
|
menuArrowSize = token.menuArrowSize,
|
|
81851
82391
|
controlHeightSM = token.controlHeightSM,
|
|
@@ -81955,7 +82495,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81955
82495
|
position: 'absolute',
|
|
81956
82496
|
zIndex: zIndexPopup,
|
|
81957
82497
|
background: 'transparent',
|
|
81958
|
-
borderRadius:
|
|
82498
|
+
borderRadius: borderRadiusLG,
|
|
81959
82499
|
boxShadow: 'none',
|
|
81960
82500
|
transformOrigin: '0 0',
|
|
81961
82501
|
// https://github.com/ant-design/ant-design/issues/13955
|
|
@@ -81975,7 +82515,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81975
82515
|
insetInlineStart: menuPanelMaskInset
|
|
81976
82516
|
}
|
|
81977
82517
|
}, "> ".concat(componentCls), (_$concat4 = {
|
|
81978
|
-
borderRadius:
|
|
82518
|
+
borderRadius: borderRadiusLG
|
|
81979
82519
|
}, defineProperty_defineProperty(_$concat4, "> ".concat(componentCls, "-item"), {
|
|
81980
82520
|
borderRadius: radiusSubMenuItem
|
|
81981
82521
|
}), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-submenu-title::after"), {
|
|
@@ -81995,7 +82535,7 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
81995
82535
|
width: menuArrowSize * 0.6,
|
|
81996
82536
|
height: menuArrowSize * 0.15,
|
|
81997
82537
|
backgroundColor: 'currentcolor',
|
|
81998
|
-
borderRadius:
|
|
82538
|
+
borderRadius: borderRadius,
|
|
81999
82539
|
transition: ["background ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "transform ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "top ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "color ".concat(motionDurationSlow, " ").concat(motionEaseInOut)].join(','),
|
|
82000
82540
|
content: '""'
|
|
82001
82541
|
},
|
|
@@ -82106,8 +82646,8 @@ var getBaseStyle = function getBaseStyle(token) {
|
|
|
82106
82646
|
return {
|
|
82107
82647
|
dropdownWidth: 160,
|
|
82108
82648
|
zIndexPopup: token.zIndexPopupBase + 50,
|
|
82109
|
-
radiusItem: token.
|
|
82110
|
-
radiusSubMenuItem: token.
|
|
82649
|
+
radiusItem: token.borderRadiusLG,
|
|
82650
|
+
radiusSubMenuItem: token.borderRadiusSM,
|
|
82111
82651
|
colorItemText: colorText,
|
|
82112
82652
|
colorItemTextHover: colorText,
|
|
82113
82653
|
colorItemTextHoverHorizontal: colorPrimary,
|
|
@@ -82548,7 +83088,7 @@ var genTooltipStyle = function genTooltipStyle(token) {
|
|
|
82548
83088
|
})),
|
|
82549
83089
|
// Arrow Style
|
|
82550
83090
|
getArrowStyle(statistic_merge(token, {
|
|
82551
|
-
|
|
83091
|
+
borderRadiusOuter: tooltipRadiusOuter
|
|
82552
83092
|
}), {
|
|
82553
83093
|
colorBg: 'var(--antd-arrow-background-color)',
|
|
82554
83094
|
showArrowCls: '',
|
|
@@ -82568,17 +83108,17 @@ var genTooltipStyle = function genTooltipStyle(token) {
|
|
|
82568
83108
|
if (injectStyle === false) {
|
|
82569
83109
|
return [];
|
|
82570
83110
|
}
|
|
82571
|
-
var
|
|
83111
|
+
var borderRadius = token.borderRadius,
|
|
82572
83112
|
colorTextLightSolid = token.colorTextLightSolid,
|
|
82573
83113
|
colorBgDefault = token.colorBgDefault,
|
|
82574
|
-
|
|
83114
|
+
borderRadiusOuter = token.borderRadiusOuter;
|
|
82575
83115
|
var TooltipToken = statistic_merge(token, {
|
|
82576
83116
|
// default variables
|
|
82577
83117
|
tooltipMaxWidth: 250,
|
|
82578
83118
|
tooltipColor: colorTextLightSolid,
|
|
82579
|
-
tooltipBorderRadius:
|
|
83119
|
+
tooltipBorderRadius: borderRadius,
|
|
82580
83120
|
tooltipBg: colorBgDefault,
|
|
82581
|
-
tooltipRadiusOuter:
|
|
83121
|
+
tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter
|
|
82582
83122
|
});
|
|
82583
83123
|
return [genTooltipStyle(TooltipToken), initZoomMotion(token, 'zoom-big-fast')];
|
|
82584
83124
|
}, function (_ref3) {
|
|
@@ -82795,14 +83335,14 @@ var tooltip_Tooltip = /*#__PURE__*/external_React_.forwardRef(function (props, r
|
|
|
82795
83335
|
top: '50%',
|
|
82796
83336
|
left: '50%'
|
|
82797
83337
|
};
|
|
82798
|
-
if (
|
|
83338
|
+
if (/top|Bottom/.test(placement)) {
|
|
82799
83339
|
transformOrigin.top = "".concat(rect.height - align.offset[1], "px");
|
|
82800
|
-
} else if (
|
|
83340
|
+
} else if (/Top|bottom/.test(placement)) {
|
|
82801
83341
|
transformOrigin.top = "".concat(-align.offset[1], "px");
|
|
82802
83342
|
}
|
|
82803
|
-
if (
|
|
83343
|
+
if (/left|Right/.test(placement)) {
|
|
82804
83344
|
transformOrigin.left = "".concat(rect.width - align.offset[0], "px");
|
|
82805
|
-
} else if (
|
|
83345
|
+
} else if (/right|Left/.test(placement)) {
|
|
82806
83346
|
transformOrigin.left = "".concat(-align.offset[0], "px");
|
|
82807
83347
|
}
|
|
82808
83348
|
domNode.style.transformOrigin = "".concat(transformOrigin.left, " ").concat(transformOrigin.top);
|
|
@@ -83357,15 +83897,16 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83357
83897
|
motionEaseInOutCirc = token.motionEaseInOutCirc,
|
|
83358
83898
|
radioButtonBg = token.radioButtonBg,
|
|
83359
83899
|
colorBorder = token.colorBorder,
|
|
83360
|
-
|
|
83900
|
+
lineWidth = token.lineWidth,
|
|
83361
83901
|
radioDotSize = token.radioDotSize,
|
|
83362
83902
|
colorBgContainerDisabled = token.colorBgContainerDisabled,
|
|
83363
83903
|
colorTextDisabled = token.colorTextDisabled,
|
|
83364
83904
|
paddingXS = token.paddingXS,
|
|
83365
83905
|
radioDotDisabledColor = token.radioDotDisabledColor,
|
|
83366
|
-
|
|
83906
|
+
lineType = token.lineType,
|
|
83367
83907
|
radioDotDisabledSize = token.radioDotDisabledSize,
|
|
83368
|
-
wireframe = token.wireframe
|
|
83908
|
+
wireframe = token.wireframe,
|
|
83909
|
+
colorWhite = token.colorWhite;
|
|
83369
83910
|
var radioInnerPrefixCls = "".concat(componentCls, "-inner");
|
|
83370
83911
|
return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), extends_extends(extends_extends({}, style_resetComponent(token)), (_extends3 = {
|
|
83371
83912
|
position: 'relative',
|
|
@@ -83393,7 +83934,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83393
83934
|
insetInlineStart: 0,
|
|
83394
83935
|
width: '100%',
|
|
83395
83936
|
height: '100%',
|
|
83396
|
-
border: "".concat(
|
|
83937
|
+
border: "".concat(lineWidth, "px ").concat(lineType, " ").concat(radioCheckedColor),
|
|
83397
83938
|
borderRadius: '50%',
|
|
83398
83939
|
visibility: 'hidden',
|
|
83399
83940
|
animationName: antRadioEffect,
|
|
@@ -83422,7 +83963,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83422
83963
|
height: radioSize,
|
|
83423
83964
|
marginBlockStart: radioSize / -2,
|
|
83424
83965
|
marginInlineStart: radioSize / -2,
|
|
83425
|
-
backgroundColor: wireframe ? radioCheckedColor :
|
|
83966
|
+
backgroundColor: wireframe ? radioCheckedColor : colorWhite,
|
|
83426
83967
|
borderBlockStart: 0,
|
|
83427
83968
|
borderInlineStart: 0,
|
|
83428
83969
|
borderRadius: radioSize,
|
|
@@ -83441,7 +83982,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
|
|
|
83441
83982
|
backgroundColor: radioButtonBg,
|
|
83442
83983
|
borderColor: colorBorder,
|
|
83443
83984
|
borderStyle: 'solid',
|
|
83444
|
-
borderWidth:
|
|
83985
|
+
borderWidth: lineWidth,
|
|
83445
83986
|
borderRadius: '50%',
|
|
83446
83987
|
transition: "all ".concat(motionDurationFast)
|
|
83447
83988
|
}), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-input"), {
|
|
@@ -83490,8 +84031,8 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83490
84031
|
var radioButtonColor = token.radioButtonColor,
|
|
83491
84032
|
controlHeight = token.controlHeight,
|
|
83492
84033
|
componentCls = token.componentCls,
|
|
83493
|
-
|
|
83494
|
-
|
|
84034
|
+
lineWidth = token.lineWidth,
|
|
84035
|
+
lineType = token.lineType,
|
|
83495
84036
|
colorBorder = token.colorBorder,
|
|
83496
84037
|
motionDurationSlow = token.motionDurationSlow,
|
|
83497
84038
|
motionDurationFast = token.motionDurationFast,
|
|
@@ -83502,9 +84043,9 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83502
84043
|
controlHeightLG = token.controlHeightLG,
|
|
83503
84044
|
controlHeightSM = token.controlHeightSM,
|
|
83504
84045
|
paddingXS = token.paddingXS,
|
|
83505
|
-
|
|
83506
|
-
|
|
83507
|
-
|
|
84046
|
+
borderRadius = token.borderRadius,
|
|
84047
|
+
borderRadiusSM = token.borderRadiusSM,
|
|
84048
|
+
borderRadiusLG = token.borderRadiusLG,
|
|
83508
84049
|
radioCheckedColor = token.radioCheckedColor,
|
|
83509
84050
|
radioButtonCheckedBg = token.radioButtonCheckedBg,
|
|
83510
84051
|
radioButtonHoverColor = token.radioButtonHoverColor,
|
|
@@ -83523,14 +84064,14 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83523
84064
|
paddingBlock: 0,
|
|
83524
84065
|
color: radioButtonColor,
|
|
83525
84066
|
fontSize: fontSize,
|
|
83526
|
-
lineHeight: "".concat(controlHeight -
|
|
84067
|
+
lineHeight: "".concat(controlHeight - lineWidth * 2, "px"),
|
|
83527
84068
|
background: radioButtonBg,
|
|
83528
|
-
border: "".concat(
|
|
84069
|
+
border: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorBorder),
|
|
83529
84070
|
// strange align fix for chrome but works
|
|
83530
84071
|
// https://gw.alipayobjects.com/zos/rmsportal/VFTfKXJuogBAXcvfAUWJ.gif
|
|
83531
|
-
borderBlockStartWidth:
|
|
84072
|
+
borderBlockStartWidth: lineWidth + 0.02,
|
|
83532
84073
|
borderInlineStartWidth: 0,
|
|
83533
|
-
borderInlineEndWidth:
|
|
84074
|
+
borderInlineEndWidth: lineWidth,
|
|
83534
84075
|
cursor: 'pointer',
|
|
83535
84076
|
transition: ["color ".concat(motionDurationFast), "background ".concat(motionDurationFast), "border-color ".concat(motionDurationFast), "box-shadow ".concat(motionDurationFast)].join(','),
|
|
83536
84077
|
a: {
|
|
@@ -83546,51 +84087,51 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83546
84087
|
}), defineProperty_defineProperty(_$concat4, '&:not(:first-child)', {
|
|
83547
84088
|
'&::before': {
|
|
83548
84089
|
position: 'absolute',
|
|
83549
|
-
insetBlockStart: -
|
|
83550
|
-
insetInlineStart: -
|
|
84090
|
+
insetBlockStart: -lineWidth,
|
|
84091
|
+
insetInlineStart: -lineWidth,
|
|
83551
84092
|
display: 'block',
|
|
83552
84093
|
boxSizing: 'content-box',
|
|
83553
84094
|
width: 1,
|
|
83554
84095
|
height: '100%',
|
|
83555
|
-
paddingBlock:
|
|
84096
|
+
paddingBlock: lineWidth,
|
|
83556
84097
|
paddingInline: 0,
|
|
83557
84098
|
backgroundColor: colorBorder,
|
|
83558
84099
|
transition: "background-color ".concat(motionDurationSlow),
|
|
83559
84100
|
content: '""'
|
|
83560
84101
|
}
|
|
83561
84102
|
}), defineProperty_defineProperty(_$concat4, '&:first-child', {
|
|
83562
|
-
borderInlineStart: "".concat(
|
|
83563
|
-
borderStartStartRadius:
|
|
83564
|
-
borderEndStartRadius:
|
|
84103
|
+
borderInlineStart: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorBorder),
|
|
84104
|
+
borderStartStartRadius: borderRadius,
|
|
84105
|
+
borderEndStartRadius: borderRadius
|
|
83565
84106
|
}), defineProperty_defineProperty(_$concat4, '&:last-child', {
|
|
83566
|
-
borderStartEndRadius:
|
|
83567
|
-
borderEndEndRadius:
|
|
84107
|
+
borderStartEndRadius: borderRadius,
|
|
84108
|
+
borderEndEndRadius: borderRadius
|
|
83568
84109
|
}), defineProperty_defineProperty(_$concat4, '&:first-child:last-child', {
|
|
83569
|
-
borderRadius:
|
|
84110
|
+
borderRadius: borderRadius
|
|
83570
84111
|
}), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-large &"), {
|
|
83571
84112
|
height: controlHeightLG,
|
|
83572
84113
|
fontSize: fontSizeLG,
|
|
83573
|
-
lineHeight: "".concat(controlHeightLG -
|
|
84114
|
+
lineHeight: "".concat(controlHeightLG - lineWidth * 2, "px"),
|
|
83574
84115
|
'&:first-child': {
|
|
83575
|
-
borderStartStartRadius:
|
|
83576
|
-
borderEndStartRadius:
|
|
84116
|
+
borderStartStartRadius: borderRadiusLG,
|
|
84117
|
+
borderEndStartRadius: borderRadiusLG
|
|
83577
84118
|
},
|
|
83578
84119
|
'&:last-child': {
|
|
83579
|
-
borderStartEndRadius:
|
|
83580
|
-
borderEndEndRadius:
|
|
84120
|
+
borderStartEndRadius: borderRadiusLG,
|
|
84121
|
+
borderEndEndRadius: borderRadiusLG
|
|
83581
84122
|
}
|
|
83582
84123
|
}), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-small &"), {
|
|
83583
84124
|
height: controlHeightSM,
|
|
83584
|
-
paddingInline: paddingXS -
|
|
84125
|
+
paddingInline: paddingXS - lineWidth,
|
|
83585
84126
|
paddingBlock: 0,
|
|
83586
|
-
lineHeight: "".concat(controlHeightSM -
|
|
84127
|
+
lineHeight: "".concat(controlHeightSM - lineWidth * 2, "px"),
|
|
83587
84128
|
'&:first-child': {
|
|
83588
|
-
borderStartStartRadius:
|
|
83589
|
-
borderEndStartRadius:
|
|
84129
|
+
borderStartStartRadius: borderRadiusSM,
|
|
84130
|
+
borderEndStartRadius: borderRadiusSM
|
|
83590
84131
|
},
|
|
83591
84132
|
'&:last-child': {
|
|
83592
|
-
borderStartEndRadius:
|
|
83593
|
-
borderEndEndRadius:
|
|
84133
|
+
borderStartEndRadius: borderRadiusSM,
|
|
84134
|
+
borderEndEndRadius: borderRadiusSM
|
|
83594
84135
|
}
|
|
83595
84136
|
}), defineProperty_defineProperty(_$concat4, '&:hover', {
|
|
83596
84137
|
position: 'relative',
|
|
@@ -83659,7 +84200,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83659
84200
|
// ============================== Export ==============================
|
|
83660
84201
|
/* harmony default export */ var radio_style = (genComponentStyleHook('Radio', function (token) {
|
|
83661
84202
|
var padding = token.padding,
|
|
83662
|
-
|
|
84203
|
+
lineWidth = token.lineWidth,
|
|
83663
84204
|
colorBgContainerDisabled = token.colorBgContainerDisabled,
|
|
83664
84205
|
colorTextDisabled = token.colorTextDisabled,
|
|
83665
84206
|
colorBgContainer = token.colorBgContainer,
|
|
@@ -83673,21 +84214,21 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
|
|
|
83673
84214
|
colorPrimary = token.colorPrimary,
|
|
83674
84215
|
marginXS = token.marginXS,
|
|
83675
84216
|
controlOutlineWidth = token.controlOutlineWidth,
|
|
83676
|
-
paddingXXS = token.paddingXXS,
|
|
83677
84217
|
wireframe = token.wireframe;
|
|
83678
84218
|
// Radio
|
|
83679
84219
|
var radioFocusShadow = "0 0 0 ".concat(controlOutlineWidth, "px ").concat(controlOutline);
|
|
83680
84220
|
var radioButtonFocusShadow = radioFocusShadow;
|
|
83681
84221
|
var radioSize = fontSizeLG;
|
|
83682
84222
|
var radioTop = (Math.round(fontSize * lineHeight) - radioSize) / 2;
|
|
83683
|
-
var
|
|
83684
|
-
var
|
|
84223
|
+
var dotPadding = 4; // Fixed value
|
|
84224
|
+
var radioDotDisabledSize = radioSize - dotPadding * 2;
|
|
84225
|
+
var radioDotSize = wireframe ? radioDotDisabledSize : radioSize - (dotPadding + lineWidth) * 2;
|
|
83685
84226
|
var radioCheckedColor = colorPrimary;
|
|
83686
84227
|
// Radio buttons
|
|
83687
84228
|
var radioButtonColor = colorText;
|
|
83688
84229
|
var radioButtonHoverColor = colorPrimaryHover;
|
|
83689
84230
|
var radioButtonActiveColor = colorPrimaryActive;
|
|
83690
|
-
var radioButtonPaddingHorizontal = padding -
|
|
84231
|
+
var radioButtonPaddingHorizontal = padding - lineWidth;
|
|
83691
84232
|
var radioDisabledButtonCheckedColor = colorTextDisabled;
|
|
83692
84233
|
var radioWrapperMarginRight = marginXS;
|
|
83693
84234
|
var radioToken = statistic_merge(token, {
|
|
@@ -85301,17 +85842,17 @@ function BaseProList(props) {
|
|
|
85301
85842
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
85302
85843
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
85303
85844
|
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.
|
|
85310
|
-
"@ant-design/pro-list": "2.0.
|
|
85311
|
-
"@ant-design/pro-provider": "2.0.
|
|
85845
|
+
"@ant-design/pro-card": "2.0.23",
|
|
85846
|
+
"@ant-design/pro-components": "2.3.29",
|
|
85847
|
+
"@ant-design/pro-descriptions": "2.0.25",
|
|
85848
|
+
"@ant-design/pro-field": "2.1.18",
|
|
85849
|
+
"@ant-design/pro-form": "2.2.16",
|
|
85850
|
+
"@ant-design/pro-layout": "7.2.0",
|
|
85851
|
+
"@ant-design/pro-list": "2.0.26",
|
|
85852
|
+
"@ant-design/pro-provider": "2.0.14",
|
|
85312
85853
|
"@ant-design/pro-skeleton": "2.0.4",
|
|
85313
|
-
"@ant-design/pro-table": "3.1.
|
|
85314
|
-
"@ant-design/pro-utils": "2.
|
|
85854
|
+
"@ant-design/pro-table": "3.1.3",
|
|
85855
|
+
"@ant-design/pro-utils": "2.3.1"
|
|
85315
85856
|
};
|
|
85316
85857
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
85317
85858
|
|