@ant-design/pro-components 2.3.8 → 2.3.10

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.
@@ -8873,9 +8873,9 @@ function pad2(c) {
8873
8873
  /***/ (function(module, exports) {
8874
8874
 
8875
8875
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
8876
- Copyright (c) 2018 Jed Watson.
8877
- Licensed under the MIT License (MIT), see
8878
- http://jedwatson.github.io/classnames
8876
+ Copyright (c) 2018 Jed Watson.
8877
+ Licensed under the MIT License (MIT), see
8878
+ http://jedwatson.github.io/classnames
8879
8879
  */
8880
8880
 
8881
8881
  /* global define */
@@ -8883,6 +8883,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
8883
8883
  'use strict';
8884
8884
 
8885
8885
  var hasOwn = {}.hasOwnProperty;
8886
+ var nativeCodeString = '[native code]';
8886
8887
 
8887
8888
  function classNames() {
8888
8889
  var classes = [];
@@ -8903,14 +8904,15 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
8903
8904
  }
8904
8905
  }
8905
8906
  } else if (argType === 'object') {
8906
- if (arg.toString === Object.prototype.toString) {
8907
- for (var key in arg) {
8908
- if (hasOwn.call(arg, key) && arg[key]) {
8909
- classes.push(key);
8910
- }
8911
- }
8912
- } else {
8907
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
8913
8908
  classes.push(arg.toString());
8909
+ continue;
8910
+ }
8911
+
8912
+ for (var key in arg) {
8913
+ if (hasOwn.call(arg, key) && arg[key]) {
8914
+ classes.push(key);
8915
+ }
8914
8916
  }
8915
8917
  }
8916
8918
  }
@@ -20756,18 +20758,27 @@ function removeCSS(key) {
20756
20758
  var existNode = findExistNode(key, option);
20757
20759
  existNode === null || existNode === void 0 ? void 0 : (_existNode$parentNode = existNode.parentNode) === null || _existNode$parentNode === void 0 ? void 0 : _existNode$parentNode.removeChild(existNode);
20758
20760
  }
20761
+ /**
20762
+ * qiankun will inject `appendChild` to insert into other
20763
+ */
20759
20764
 
20760
- function updateCSS(css, key) {
20761
- var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
20762
- var container = getContainer(option); // Get real parent
20763
20765
 
20764
- if (!containerCache.has(container)) {
20766
+ function syncRealContainer(container, option) {
20767
+ var cachedRealContainer = containerCache.get(container); // Find real container when not cached or cached container removed
20768
+
20769
+ if (!cachedRealContainer || !document.contains(cachedRealContainer)) {
20765
20770
  var placeholderStyle = injectCSS('', option);
20766
20771
  var parentNode = placeholderStyle.parentNode;
20767
20772
  containerCache.set(container, parentNode);
20768
20773
  parentNode.removeChild(placeholderStyle);
20769
20774
  }
20775
+ }
20770
20776
 
20777
+ function updateCSS(css, key) {
20778
+ var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
20779
+ var container = getContainer(option); // Sync real parent
20780
+
20781
+ syncRealContainer(container, option);
20771
20782
  var existNode = findExistNode(key, option);
20772
20783
 
20773
20784
  if (existNode) {
@@ -28576,17 +28587,26 @@ function removeCSS(key) {
28576
28587
  var existNode = findExistNode(key, option);
28577
28588
  existNode === null || existNode === void 0 ? void 0 : (_existNode$parentNode = existNode.parentNode) === null || _existNode$parentNode === void 0 ? void 0 : _existNode$parentNode.removeChild(existNode);
28578
28589
  }
28579
- function updateCSS(css, key) {
28580
- var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
28581
- var container = getContainer(option); // Get real parent
28590
+ /**
28591
+ * qiankun will inject `appendChild` to insert into other
28592
+ */
28593
+
28594
+ function syncRealContainer(container, option) {
28595
+ var cachedRealContainer = containerCache.get(container); // Find real container when not cached or cached container removed
28582
28596
 
28583
- if (!containerCache.has(container)) {
28597
+ if (!cachedRealContainer || !document.contains(cachedRealContainer)) {
28584
28598
  var placeholderStyle = injectCSS('', option);
28585
28599
  var parentNode = placeholderStyle.parentNode;
28586
28600
  containerCache.set(container, parentNode);
28587
28601
  parentNode.removeChild(placeholderStyle);
28588
28602
  }
28603
+ }
28589
28604
 
28605
+ function updateCSS(css, key) {
28606
+ var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
28607
+ var container = getContainer(option); // Sync real parent
28608
+
28609
+ syncRealContainer(container, option);
28590
28610
  var existNode = findExistNode(key, option);
28591
28611
 
28592
28612
  if (existNode) {
@@ -29510,7 +29530,23 @@ var StyleProvider = function StyleProvider(props) {
29510
29530
  }, children);
29511
29531
  };
29512
29532
  /* harmony default export */ var es_StyleContext = (StyleContext);
29513
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/useGlobalCache.js
29533
+ ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/hooks/useHMR.js
29534
+ function useProdHMR() {
29535
+ return false;
29536
+ }
29537
+
29538
+ var webpackHMR = false;
29539
+
29540
+ function useDevHMR() {
29541
+ return webpackHMR;
29542
+ }
29543
+
29544
+ /* harmony default export */ var useHMR = ( true ? useProdHMR : 0); // Webpack `module.hot.accept` do not support any deps update trigger
29545
+ // We have to hack handler to force mark as HRM
29546
+
29547
+ if (false) { var originWebpackHotUpdate, win; }
29548
+ ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js
29549
+
29514
29550
 
29515
29551
 
29516
29552
 
@@ -29519,7 +29555,8 @@ function useClientCache(prefix, keyPath, cacheFn, onCacheRemove) {
29519
29555
  var _React$useContext = external_React_.useContext(es_StyleContext),
29520
29556
  globalCache = _React$useContext.cache;
29521
29557
 
29522
- var fullPath = [prefix].concat(toConsumableArray_toConsumableArray(keyPath)); // Create cache
29558
+ var fullPath = [prefix].concat(toConsumableArray_toConsumableArray(keyPath));
29559
+ var HMRUpdate = useHMR(); // Create cache
29523
29560
 
29524
29561
  external_React_.useMemo(function () {
29525
29562
  globalCache.update(fullPath, function (prevCache) {
@@ -29527,9 +29564,14 @@ function useClientCache(prefix, keyPath, cacheFn, onCacheRemove) {
29527
29564
  _ref2 = slicedToArray_slicedToArray(_ref, 2),
29528
29565
  _ref2$ = _ref2[0],
29529
29566
  times = _ref2$ === void 0 ? 0 : _ref2$,
29530
- cache = _ref2[1];
29567
+ cache = _ref2[1]; // HMR should always ignore cache since developer may change it
29568
+
29531
29569
 
29532
- var mergedCache = cache || cacheFn();
29570
+ var tmpCache = cache;
29571
+
29572
+ if (false) {}
29573
+
29574
+ var mergedCache = tmpCache || cacheFn();
29533
29575
  return [times + 1, mergedCache];
29534
29576
  });
29535
29577
  },
@@ -29548,7 +29590,7 @@ function useClientCache(prefix, keyPath, cacheFn, onCacheRemove) {
29548
29590
  var nextCount = times - 1;
29549
29591
 
29550
29592
  if (nextCount === 0) {
29551
- onCacheRemove === null || onCacheRemove === void 0 ? void 0 : onCacheRemove(cache);
29593
+ onCacheRemove === null || onCacheRemove === void 0 ? void 0 : onCacheRemove(cache, false);
29552
29594
  return null;
29553
29595
  }
29554
29596
 
@@ -29590,6 +29632,8 @@ function noteOnce(valid, message) {
29590
29632
 
29591
29633
 
29592
29634
 
29635
+
29636
+
29593
29637
  function flattenToken(token) {
29594
29638
  var str = '';
29595
29639
  Object.keys(token).forEach(function (key) {
@@ -29724,7 +29768,53 @@ var styleValidate = function styleValidate(key, value) {
29724
29768
  return;
29725
29769
  }
29726
29770
  };
29727
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/useStyleRegister.js
29771
+ var layerKey = "layer-".concat(Date.now(), "-").concat(Math.random()).replace(/\./g, '');
29772
+ var layerWidth = '903px';
29773
+
29774
+ function supportSelector(styleStr, handleElement) {
29775
+ if (canUseDom()) {
29776
+ var _ele$parentNode;
29777
+
29778
+ updateCSS(styleStr, layerKey);
29779
+ var ele = document.createElement('div');
29780
+ ele.style.position = 'fixed';
29781
+ ele.style.left = '0';
29782
+ ele.style.top = '0';
29783
+ handleElement === null || handleElement === void 0 ? void 0 : handleElement(ele);
29784
+ document.body.appendChild(ele);
29785
+
29786
+ if (false) {}
29787
+
29788
+ var support = getComputedStyle(ele).width === layerWidth;
29789
+ (_ele$parentNode = ele.parentNode) === null || _ele$parentNode === void 0 ? void 0 : _ele$parentNode.removeChild(ele);
29790
+ removeCSS(layerKey);
29791
+ return support;
29792
+ }
29793
+
29794
+ return false;
29795
+ }
29796
+
29797
+ var canWhere = undefined;
29798
+ function supportWhere() {
29799
+ if (canWhere === undefined) {
29800
+ canWhere = supportSelector(":where(.".concat(layerKey, ") { width: ").concat(layerWidth, "!important; }"), function (ele) {
29801
+ ele.className = layerKey;
29802
+ });
29803
+ }
29804
+
29805
+ return canWhere;
29806
+ }
29807
+ var canLayer = undefined;
29808
+ function supportLayer() {
29809
+ if (canLayer === undefined) {
29810
+ canLayer = supportSelector("@layer ".concat(layerKey, " { .").concat(layerKey, " { width: ").concat(layerWidth, "!important; } }"), function (ele) {
29811
+ ele.className = layerKey;
29812
+ });
29813
+ }
29814
+
29815
+ return canLayer;
29816
+ }
29817
+ ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js
29728
29818
 
29729
29819
 
29730
29820
 
@@ -29747,18 +29837,50 @@ var SKIP_CHECK = '_skip_check_'; // ============================================
29747
29837
  // Preprocessor style content to browser support one
29748
29838
 
29749
29839
  function normalizeStyle(styleStr) {
29750
- return Serializer_serialize(compile(styleStr), stringify);
29840
+ var serialized = Serializer_serialize(compile(styleStr), stringify);
29841
+ return serialized.replace(/\{%%%\:[^;];}/g, ';');
29751
29842
  }
29752
29843
 
29753
29844
  function isCompoundCSSProperty(value) {
29754
29845
  return typeof_typeof(value) === 'object' && value && SKIP_CHECK in value;
29755
29846
  }
29756
29847
 
29757
- var animationStatistics = {}; // Parse CSSObject to style content
29848
+ var animationStatistics = {}; // 注入 hash
29849
+
29850
+ function injectSelectorHash(key, hashId) {
29851
+ if (!hashId) {
29852
+ return key;
29853
+ }
29854
+
29855
+ var hashClassName = ".".concat(hashId);
29856
+ var hashSelector = supportWhere() ? ":where(".concat(hashClassName, ")") : hashClassName; // 注入 hashId
29857
+
29858
+ var keys = key.split(',').map(function (k) {
29859
+ var _firstPath$match;
29758
29860
 
29759
- var parseStyle = function parseStyle(interpolation, hashId, path) {
29760
- var root = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
29761
- var injectHash = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
29861
+ var fullPath = k.trim().split(/\s+/); // 如果 Selector 第一个是 HTML Element,那我们就插到它的后面。反之,就插到最前面。
29862
+
29863
+ var firstPath = fullPath[0] || '';
29864
+ var htmlElement = ((_firstPath$match = firstPath.match(/^\w+/)) === null || _firstPath$match === void 0 ? void 0 : _firstPath$match[0]) || '';
29865
+ firstPath = "".concat(htmlElement).concat(hashSelector).concat(firstPath.slice(htmlElement.length));
29866
+ return [firstPath].concat(toConsumableArray_toConsumableArray(fullPath.slice(1))).join(' ');
29867
+ });
29868
+ return keys.join(',');
29869
+ } // Parse CSSObject to style content
29870
+
29871
+
29872
+ var parseStyle = function parseStyle(interpolation) {
29873
+ var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
29874
+
29875
+ var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
29876
+ root: true
29877
+ },
29878
+ root = _ref.root,
29879
+ injectHash = _ref.injectHash;
29880
+
29881
+ var hashId = config.hashId,
29882
+ layer = config.layer,
29883
+ path = config.path;
29762
29884
  var styleStr = '';
29763
29885
 
29764
29886
  function parseKeyframes(keyframes) {
@@ -29767,7 +29889,9 @@ var parseStyle = function parseStyle(interpolation, hashId, path) {
29767
29889
  }
29768
29890
 
29769
29891
  animationStatistics[keyframes.getName(hashId)] = true;
29770
- return "@keyframes ".concat(keyframes.getName(hashId)).concat(parseStyle(keyframes.style, hashId, path, false));
29892
+ return "@keyframes ".concat(keyframes.getName(hashId)).concat(parseStyle(keyframes.style, config, {
29893
+ root: false
29894
+ }));
29771
29895
  }
29772
29896
 
29773
29897
  function flattenList(list) {
@@ -29783,8 +29907,13 @@ var parseStyle = function parseStyle(interpolation, hashId, path) {
29783
29907
  }
29784
29908
 
29785
29909
  var flattenStyleList = flattenList(Array.isArray(interpolation) ? interpolation : [interpolation]);
29786
- flattenStyleList.forEach(function (style) {
29787
- if (style._keyframe) {
29910
+ flattenStyleList.forEach(function (originStyle) {
29911
+ // Only root level can use raw string
29912
+ var style = typeof originStyle === 'string' && !root ? {} : originStyle;
29913
+
29914
+ if (typeof style === 'string') {
29915
+ styleStr += "".concat(style, "\n");
29916
+ } else if (style._keyframe) {
29788
29917
  // Keyframe
29789
29918
  styleStr += parseKeyframes(style);
29790
29919
  } else {
@@ -29805,10 +29934,7 @@ var parseStyle = function parseStyle(interpolation, hashId, path) {
29805
29934
  subInjectHash = true;
29806
29935
  } else {
29807
29936
  // 注入 hashId
29808
- var keys = key.split(',').map(function (k) {
29809
- return ".".concat(hashId).concat(k.trim());
29810
- });
29811
- mergedKey = keys.join(',');
29937
+ mergedKey = injectSelectorHash(key, hashId);
29812
29938
  }
29813
29939
  } else if (root && !hashId && (mergedKey === '&' || mergedKey === '')) {
29814
29940
  // In case of `{ '&': { a: { color: 'red' } } }` or `{ '': { a: { color: 'red' } } }` without hashId,
@@ -29820,7 +29946,12 @@ var parseStyle = function parseStyle(interpolation, hashId, path) {
29820
29946
  nextRoot = true;
29821
29947
  }
29822
29948
 
29823
- styleStr += "".concat(mergedKey).concat(parseStyle(value, hashId, "".concat(path, " -> ").concat(mergedKey), nextRoot, subInjectHash));
29949
+ styleStr += "".concat(mergedKey).concat(parseStyle(value, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29950
+ path: "".concat(path, " -> ").concat(mergedKey)
29951
+ }), {
29952
+ root: nextRoot,
29953
+ injectHash: subInjectHash
29954
+ }));
29824
29955
  } else {
29825
29956
  var _value$value;
29826
29957
 
@@ -29853,6 +29984,15 @@ var parseStyle = function parseStyle(interpolation, hashId, path) {
29853
29984
 
29854
29985
  if (!root) {
29855
29986
  styleStr = "{".concat(styleStr, "}");
29987
+ } else if (layer && supportLayer()) {
29988
+ var layerCells = layer.split(',');
29989
+ var layerName = layerCells[layerCells.length - 1].trim();
29990
+ styleStr = "@layer ".concat(layerName, " {").concat(styleStr, "}"); // Order of layer if needed
29991
+
29992
+ if (layerCells.length > 1) {
29993
+ // zombieJ: stylis do not support layer order, so we need to handle it manually.
29994
+ styleStr = "@layer ".concat(layer, "{%%%:%}").concat(styleStr);
29995
+ }
29856
29996
  }
29857
29997
 
29858
29998
  return styleStr;
@@ -29875,7 +30015,8 @@ function Empty() {
29875
30015
  function useStyleRegister(info, styleFn) {
29876
30016
  var token = info.token,
29877
30017
  path = info.path,
29878
- hashId = info.hashId;
30018
+ hashId = info.hashId,
30019
+ layer = info.layer;
29879
30020
 
29880
30021
  var _React$useContext = external_React_.useContext(es_StyleContext),
29881
30022
  autoClear = _React$useContext.autoClear,
@@ -29892,7 +30033,11 @@ function useStyleRegister(info, styleFn) {
29892
30033
  var _useGlobalCache = useClientCache('style', fullPath, // Create cache if needed
29893
30034
  function () {
29894
30035
  var styleObj = styleFn();
29895
- var styleStr = normalizeStyle(parseStyle(styleObj, hashId, path.join('-')));
30036
+ var styleStr = normalizeStyle(parseStyle(styleObj, {
30037
+ hashId: hashId,
30038
+ layer: layer,
30039
+ path: path.join('-')
30040
+ }));
29896
30041
  var styleId = uniqueHash(fullPath, styleStr); // Clear animation statistics
29897
30042
 
29898
30043
  animationStatistics = {};
@@ -29911,11 +30056,11 @@ function useStyleRegister(info, styleFn) {
29911
30056
 
29912
30057
  return [styleStr, tokenKey, styleId];
29913
30058
  }, // Remove cache if no need
29914
- function (_ref) {
29915
- var _ref2 = slicedToArray_slicedToArray(_ref, 3),
29916
- styleId = _ref2[2];
30059
+ function (_ref2, fromHMR) {
30060
+ var _ref3 = slicedToArray_slicedToArray(_ref2, 3),
30061
+ styleId = _ref3[2];
29917
30062
 
29918
- if (autoClear && isClientSide) {
30063
+ if ((fromHMR || autoClear) && isClientSide) {
29919
30064
  removeCSS(styleId, {
29920
30065
  mark: StyleContext_ATTR_MARK
29921
30066
  });
@@ -29964,7 +30109,7 @@ function extractStyle(cache) {
29964
30109
  });
29965
30110
  return styleText;
29966
30111
  }
29967
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/useCacheToken.js
30112
+ ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js
29968
30113
 
29969
30114
 
29970
30115
 
@@ -32936,6 +33081,15 @@ function isPlainObject(o) {
32936
33081
 
32937
33082
  return true;
32938
33083
  }
33084
+ /**
33085
+ * 一个比较hack的moment判断工具
33086
+ * @param value
33087
+ * @returns
33088
+ */
33089
+
33090
+ var isMoment = function isMoment(value) {
33091
+ return !!(value === null || value === void 0 ? void 0 : value._isAMomentObject);
33092
+ };
32939
33093
  /**
32940
33094
  * 根据不同的格式转化 dayjs
32941
33095
  *
@@ -32944,12 +33098,13 @@ function isPlainObject(o) {
32944
33098
  * @param valueType
32945
33099
  */
32946
33100
 
33101
+
32947
33102
  var convertMoment = function convertMoment(value, dateFormatter, valueType) {
32948
33103
  if (!dateFormatter) {
32949
33104
  return value;
32950
33105
  }
32951
33106
 
32952
- if (dayjs_min_default().isDayjs(value)) {
33107
+ if (dayjs_min_default().isDayjs(value) || isMoment(value)) {
32953
33108
  if (dateFormatter === 'number') {
32954
33109
  return value.valueOf();
32955
33110
  }
@@ -33008,7 +33163,8 @@ var conversionMomentValue = function conversionMomentValue(value, dateFormatter,
33008
33163
 
33009
33164
  if (isPlainObject(itemValue) && // 不是数组
33010
33165
  !Array.isArray(itemValue) && // 不是 dayjs
33011
- !dayjs_min_default().isDayjs(itemValue)) {
33166
+ !dayjs_min_default().isDayjs(itemValue) && // 不是 moment
33167
+ !isMoment(itemValue)) {
33012
33168
  tmpValue[key] = conversionMomentValue(itemValue, dateFormatter, valueTypeMap, omitNil, [key]);
33013
33169
  return;
33014
33170
  } // 处理 FormList 的 value
@@ -33016,7 +33172,7 @@ var conversionMomentValue = function conversionMomentValue(value, dateFormatter,
33016
33172
 
33017
33173
  if (Array.isArray(itemValue)) {
33018
33174
  tmpValue[key] = itemValue.map(function (arrayValue, index) {
33019
- if (dayjs_min_default().isDayjs(arrayValue)) {
33175
+ if (dayjs_min_default().isDayjs(arrayValue) || isMoment(arrayValue)) {
33020
33176
  return convertMoment(arrayValue, dateFormat || dateFormatter, valueType);
33021
33177
  }
33022
33178
 
@@ -34129,8 +34285,22 @@ var omitUndefinedAndEmptyArr = function omitUndefinedAndEmptyArr(obj) {
34129
34285
  ;// CONCATENATED MODULE: ./packages/utils/es/parseValueToMoment/index.js
34130
34286
 
34131
34287
 
34288
+ /**
34289
+ * 一个比较hack的moment判断工具
34290
+ * @param value
34291
+ * @returns
34292
+ */
34293
+
34294
+ var parseValueToMoment_isMoment = function isMoment(value) {
34295
+ return !!(value === null || value === void 0 ? void 0 : value._isAMomentObject);
34296
+ };
34297
+
34132
34298
  var parseValueToDay = function parseValueToDay(value, formatter) {
34133
- if (isNil(value) || dayjs_min_default().isDayjs(value)) {
34299
+ if (isNil(value) || dayjs_min_default().isDayjs(value) || parseValueToMoment_isMoment(value)) {
34300
+ if (parseValueToMoment_isMoment(value)) {
34301
+ return dayjs_min_default()(value);
34302
+ }
34303
+
34134
34304
  return value;
34135
34305
  }
34136
34306
 
@@ -36949,7 +37119,7 @@ var genColStyle = function genColStyle(index, token) {
36949
37119
 
36950
37120
  return defineProperty_defineProperty({}, "".concat(componentCls, "-col-").concat(index), {
36951
37121
  flexShrink: 0,
36952
- width: "".concat(Math.round(index / GRID_COLUMNS * 100), "%")
37122
+ width: "".concat(index / GRID_COLUMNS * 100, "%")
36953
37123
  });
36954
37124
  };
36955
37125
 
@@ -52395,10 +52565,22 @@ function DrawerForm(_ref) {
52395
52565
  }());
52396
52566
  var drawerOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
52397
52567
  open: open,
52398
- onOpenChange: onVisibleChange
52568
+ onOpenChange: onVisibleChange,
52569
+ afterOpenChange: function afterOpenChange(e) {
52570
+ var _drawerProps$afterOpe;
52571
+
52572
+ if (!e) resetFields();
52573
+ drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe === void 0 ? void 0 : _drawerProps$afterOpe.call(drawerProps, e);
52574
+ }
52399
52575
  } : {
52400
52576
  visible: open,
52401
- onVisibleChange: onVisibleChange
52577
+ onVisibleChange: onVisibleChange,
52578
+ afterVisibleChange: function afterVisibleChange(e) {
52579
+ var _drawerProps$afterOpe2;
52580
+
52581
+ if (!e) resetFields();
52582
+ drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe2 = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe2 === void 0 ? void 0 : _drawerProps$afterOpe2.call(drawerProps, e);
52583
+ }
52402
52584
  };
52403
52585
  return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
52404
52586
  children: [(0,jsx_runtime.jsx)(external_antd_.Drawer, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
@@ -52414,20 +52596,6 @@ function DrawerForm(_ref) {
52414
52596
  drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$onClose2 = drawerProps.onClose) === null || _drawerProps$onClose2 === void 0 ? void 0 : _drawerProps$onClose2.call(drawerProps, e);
52415
52597
  resetFields();
52416
52598
  },
52417
- afterOpenChange: function afterOpenChange(e) {
52418
- var _drawerProps$afterOpe;
52419
-
52420
- resetFields();
52421
- drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe === void 0 ? void 0 : _drawerProps$afterOpe.call(drawerProps, e);
52422
- },
52423
- //@ts-expect-error
52424
- afterVisibleChange: function afterVisibleChange(e) {
52425
- var _drawerProps$afterVis;
52426
-
52427
- if (!e) resetFields(); //@ts-expect-error
52428
-
52429
- drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterVis = drawerProps.afterVisibleChange) === null || _drawerProps$afterVis === void 0 ? void 0 : _drawerProps$afterVis.call(drawerProps, e);
52430
- },
52431
52599
  footer: rest.submitter !== false && (0,jsx_runtime.jsx)("div", {
52432
52600
  ref: footerDomRef,
52433
52601
  style: {
@@ -61011,29 +61179,32 @@ function genStringToTheme(val) {
61011
61179
  }
61012
61180
  function clearMenuItem(menusData) {
61013
61181
  return menusData.map(function (item) {
61014
- var children = item.children || item.routes;
61182
+ var children = item.children || [];
61015
61183
 
61016
61184
  var finalItem = objectSpread2_objectSpread2({}, item);
61017
61185
 
61186
+ if (!finalItem.children && finalItem.routes) {
61187
+ finalItem.children = finalItem.routes;
61188
+ }
61189
+
61018
61190
  if (!finalItem.name || finalItem.hideInMenu) {
61019
61191
  return null;
61020
61192
  }
61021
61193
 
61022
- if (finalItem && (finalItem === null || finalItem === void 0 ? void 0 : finalItem.routes)) {
61194
+ if (finalItem && (finalItem === null || finalItem === void 0 ? void 0 : finalItem.children)) {
61023
61195
  if (!finalItem.hideChildrenInMenu && children.some(function (child) {
61024
61196
  return child && child.name && !child.hideInMenu;
61025
61197
  })) {
61026
61198
  return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
61027
- children: clearMenuItem(children),
61028
- routes: clearMenuItem(children)
61199
+ children: clearMenuItem(children)
61029
61200
  });
61030
61201
  } // children 为空就直接删掉
61031
61202
 
61032
61203
 
61033
- delete finalItem.routes;
61034
61204
  delete finalItem.children;
61035
61205
  }
61036
61206
 
61207
+ delete finalItem.routes;
61037
61208
  return finalItem;
61038
61209
  }).filter(function (item) {
61039
61210
  return item;
@@ -61972,6 +62143,7 @@ function menu_useStyle(prefixCls) {
61972
62143
 
61973
62144
 
61974
62145
 
62146
+
61975
62147
  var IconFont = create({
61976
62148
  scriptUrl: defaultSettings.iconfontUrl
61977
62149
  }); // Allow menu.js config icon as string or ReactNode
@@ -62046,6 +62218,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(props) {
62046
62218
  var name = _this.getIntlName(item);
62047
62219
 
62048
62220
  var children = (item === null || item === void 0 ? void 0 : item.children) || (item === null || item === void 0 ? void 0 : item.routes);
62221
+ (0,lib_warning["default"])(!(item === null || item === void 0 ? void 0 : item.routes), 'routes 将会废弃,为了保证兼容请使用 children 作为子节点定义方式');
62049
62222
  var menuType = isGroup && level === 0 ? 'group' : undefined;
62050
62223
 
62051
62224
  if (Array.isArray(children) && children.length > 0) {
@@ -64740,6 +64913,14 @@ var SettingDrawer = function SettingDrawer(props) {
64740
64913
  }, []);
64741
64914
  (0,external_React_.useEffect)(function () {
64742
64915
  updateTheme(settingState.navTheme === 'realDark');
64916
+
64917
+ if (compareVersions(external_antd_.version, '5.0.0') < 0) {
64918
+ external_antd_.ConfigProvider.config({
64919
+ theme: {
64920
+ primaryColor: settingState.colorPrimary
64921
+ }
64922
+ });
64923
+ }
64743
64924
  }, [settingState.colorPrimary, settingState.navTheme]);
64744
64925
  /**
64745
64926
  * 修改设置
@@ -68051,6 +68232,12 @@ var BaseProLayout = function BaseProLayout(props) {
68051
68232
  }),
68052
68233
  _useState2 = slicedToArray_slicedToArray(_useState, 1),
68053
68234
  defaultId = _useState2[0];
68235
+ /**
68236
+ * 处理国际化相关 formatMessage
68237
+ * 如果有用户配置的以用户为主
68238
+ * 如果没有用自己实现的
68239
+ */
68240
+
68054
68241
 
68055
68242
  var formatMessage = (0,external_React_.useCallback)(function (_ref4) {
68056
68243
  var id = _ref4.id,
@@ -73975,8 +74162,10 @@ function genProColumnToColumn(params) {
73975
74162
  var Table_excluded = ["rowKey", "tableClassName", "action", "tableColumn", "type", "pagination", "rowSelection", "size", "defaultSize", "tableStyle", "toolbarDom", "searchNode", "style", "cardProps", "alertDom", "name", "onSortChange", "onFilterChange", "options", "isLightFilter", "className", "cardBordered", "editableUtils", "getRowKey"],
73976
74163
  Table_excluded2 = ["cardBordered", "request", "className", "params", "defaultData", "headerTitle", "postData", "ghost", "pagination", "actionRef", "columns", "toolBarRender", "onLoad", "onRequestError", "style", "cardProps", "tableStyle", "tableClassName", "columnsStateMap", "onColumnsStateChange", "options", "search", "name", "onLoadingChange", "rowSelection", "beforeSearchSubmit", "tableAlertRender", "defaultClassName", "formRef", "type", "columnEmptyText", "toolbar", "rowKey", "manualRequest", "polling", "tooltip", "revalidateOnFocus"];
73977
74164
 
74165
+ // 兼容代码-----------
73978
74166
 
73979
- /* eslint max-classes-per-file: ["error", 3] */
74167
+
74168
+ //----------------------
73980
74169
 
73981
74170
 
73982
74171
 
@@ -75556,10 +75745,6 @@ function FieldEditableTable(props) {
75556
75745
  FieldEditableTable.RecordCreator = RecordCreator;
75557
75746
  /* harmony default export */ var components_EditableTable = (FieldEditableTable);
75558
75747
  ;// CONCATENATED MODULE: ./packages/table/es/index.js
75559
- // 兼容代码-----------
75560
-
75561
- //----------------------
75562
-
75563
75748
 
75564
75749
 
75565
75750
 
@@ -79702,7 +79887,7 @@ var InternalTreeNode = /*#__PURE__*/function (_React$Component) {
79702
79887
  } : undefined;
79703
79888
  return /*#__PURE__*/external_React_.createElement("div", extends_extends({
79704
79889
  ref: domRef,
79705
- className: classnames_default()(className, "".concat(prefixCls, "-treenode"), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-disabled"), disabled), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-switcher-").concat(expanded ? 'open' : 'close'), !isLeaf), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-checkbox-checked"), checked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-checkbox-indeterminate"), halfChecked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-selected"), selected), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-loading"), loading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-active"), active), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-leaf-last"), isEndNode), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-draggable"), draggableWithoutDisabled), defineProperty_defineProperty(_classNames, "dragging", dragging), defineProperty_defineProperty(_classNames, 'drop-target', dropTargetKey === eventKey), defineProperty_defineProperty(_classNames, 'drop-container', dropContainerKey === eventKey), defineProperty_defineProperty(_classNames, 'drag-over', !disabled && dragOver), defineProperty_defineProperty(_classNames, 'drag-over-gap-top', !disabled && dragOverGapTop), defineProperty_defineProperty(_classNames, 'drag-over-gap-bottom', !disabled && dragOverGapBottom), defineProperty_defineProperty(_classNames, 'filter-node', filterTreeNode && filterTreeNode(convertNodePropsToEventData(this.props))), _classNames)),
79890
+ className: classnames_default()(className, "".concat(prefixCls, "-treenode"), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-disabled"), disabled), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-switcher-").concat(expanded ? 'open' : 'close'), !isLeaf), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-checkbox-checked"), checked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-checkbox-indeterminate"), halfChecked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-selected"), selected), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-loading"), loading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-active"), active), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-leaf-last"), isEndNode), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-treenode-draggable"), mergedDraggable), defineProperty_defineProperty(_classNames, "dragging", dragging), defineProperty_defineProperty(_classNames, 'drop-target', dropTargetKey === eventKey), defineProperty_defineProperty(_classNames, 'drop-container', dropContainerKey === eventKey), defineProperty_defineProperty(_classNames, 'drag-over', !disabled && dragOver), defineProperty_defineProperty(_classNames, 'drag-over-gap-top', !disabled && dragOverGapTop), defineProperty_defineProperty(_classNames, 'drag-over-gap-bottom', !disabled && dragOverGapBottom), defineProperty_defineProperty(_classNames, 'filter-node', filterTreeNode && filterTreeNode(convertNodePropsToEventData(this.props))), _classNames)),
79706
79891
  style: style // Draggable config
79707
79892
  ,
79708
79893
  draggable: draggableWithoutDisabled,
@@ -80773,6 +80958,7 @@ function statisticToken(token) {
80773
80958
 
80774
80959
 
80775
80960
 
80961
+
80776
80962
  var style_resetComponent = function resetComponent(token) {
80777
80963
  return {
80778
80964
  boxSizing: 'border-box',
@@ -80782,8 +80968,9 @@ var style_resetComponent = function resetComponent(token) {
80782
80968
  fontSize: token.fontSize,
80783
80969
  // font-variant: @font-variant-base;
80784
80970
  lineHeight: token.lineHeight,
80785
- listStyle: 'none' // font-feature-settings: @font-feature-settings-base;
80786
-
80971
+ listStyle: 'none',
80972
+ // font-feature-settings: @font-feature-settings-base;
80973
+ fontFamily: token.fontFamily
80787
80974
  };
80788
80975
  };
80789
80976
  var resetIcon = function resetIcon() {
@@ -80856,8 +81043,28 @@ var genLinkStyle = function genLinkStyle(token) {
80856
81043
  }), _a)
80857
81044
  };
80858
81045
  };
81046
+ var genFontStyle = function genFontStyle(token, rootPrefixCls) {
81047
+ var fontFamily = token.fontFamily,
81048
+ fontSize = token.fontSize;
81049
+ return defineProperty_defineProperty({}, "[class^=\"".concat(rootPrefixCls, "-\"], [class*=\" ").concat(rootPrefixCls, "-\"]"), {
81050
+ fontFamily: fontFamily,
81051
+ fontSize: fontSize
81052
+ });
81053
+ };
81054
+ var genFocusOutline = function genFocusOutline(token) {
81055
+ return {
81056
+ outline: "".concat(token.lineWidth * 4, "px solid ").concat(token.colorPrimaryBorder),
81057
+ outlineOffset: 1,
81058
+ transition: 'outline-offset 0s, outline 0s'
81059
+ };
81060
+ };
81061
+ var genFocusStyle = function genFocusStyle(token) {
81062
+ return {
81063
+ '&:focus-visible': extends_extends({}, genFocusOutline(token))
81064
+ };
81065
+ };
80859
81066
  ;// CONCATENATED MODULE: ./node_modules/antd/es/version/version.js
80860
- /* harmony default export */ var version = ('5.0.0-experimental.23');
81067
+ /* harmony default export */ var version = ('5.0.0-experimental.24');
80861
81068
  ;// CONCATENATED MODULE: ./node_modules/antd/es/version/index.js
80862
81069
  /* eslint import/no-unresolved: 0 */
80863
81070
  // @ts-ignore
@@ -80866,7 +81073,7 @@ var genLinkStyle = function genLinkStyle(token) {
80866
81073
  ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/seed.js
80867
81074
 
80868
81075
  var defaultPresetColors = {
80869
- blue: '#1890FF',
81076
+ blue: '#1677ff',
80870
81077
  purple: '#722ED1',
80871
81078
  cyan: '#13C2C2',
80872
81079
  green: '#52C41A',
@@ -80886,8 +81093,8 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
80886
81093
  colorPrimary: '#1677ff',
80887
81094
  colorSuccess: '#52c41a',
80888
81095
  colorWarning: '#faad14',
80889
- colorError: '#ff4d4f',
80890
- colorInfo: '#1890ff',
81096
+ colorError: '#f5222d',
81097
+ colorInfo: '#1677ff',
80891
81098
  colorTextBase: '',
80892
81099
  colorTextLightSolid: '#fff',
80893
81100
  colorBgBase: '',
@@ -80922,7 +81129,9 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
80922
81129
  zIndexBase: 0,
80923
81130
  zIndexPopupBase: 1000,
80924
81131
  // Image
80925
- opacityImage: 1
81132
+ opacityImage: 1,
81133
+ // Wireframe
81134
+ wireframe: false
80926
81135
  });
80927
81136
 
80928
81137
  /* harmony default export */ var seed = (seedToken);
@@ -80960,7 +81169,7 @@ function genColorMapToken(seed, _ref) {
80960
81169
  colorSuccessBgHover: successColors[2],
80961
81170
  colorSuccessBorder: successColors[3],
80962
81171
  colorSuccessBorderHover: successColors[4],
80963
- colorSuccessHover: successColors[5],
81172
+ colorSuccessHover: successColors[4],
80964
81173
  colorSuccess: successColors[6],
80965
81174
  colorSuccessActive: successColors[7],
80966
81175
  colorSuccessTextHover: successColors[8],
@@ -80970,8 +81179,8 @@ function genColorMapToken(seed, _ref) {
80970
81179
  colorErrorBgHover: errorColors[2],
80971
81180
  colorErrorBorder: errorColors[3],
80972
81181
  colorErrorBorderHover: errorColors[4],
80973
- colorErrorHover: errorColors[5],
80974
- colorError: errorColors[6],
81182
+ colorErrorHover: errorColors[4],
81183
+ colorError: errorColors[5],
80975
81184
  colorErrorActive: errorColors[7],
80976
81185
  colorErrorTextHover: errorColors[8],
80977
81186
  colorErrorText: errorColors[9],
@@ -80980,7 +81189,7 @@ function genColorMapToken(seed, _ref) {
80980
81189
  colorWarningBgHover: warningColors[2],
80981
81190
  colorWarningBorder: warningColors[3],
80982
81191
  colorWarningBorderHover: warningColors[4],
80983
- colorWarningHover: warningColors[5],
81192
+ colorWarningHover: warningColors[4],
80984
81193
  colorWarning: warningColors[6],
80985
81194
  colorWarningActive: warningColors[7],
80986
81195
  colorWarningTextHover: warningColors[8],
@@ -80990,7 +81199,7 @@ function genColorMapToken(seed, _ref) {
80990
81199
  colorInfoBgHover: infoColors[2],
80991
81200
  colorInfoBorder: infoColors[3],
80992
81201
  colorInfoBorderHover: infoColors[4],
80993
- colorInfoHover: infoColors[5],
81202
+ colorInfoHover: infoColors[4],
80994
81203
  colorInfo: infoColors[6],
80995
81204
  colorInfoActive: infoColors[7],
80996
81205
  colorInfoTextHover: infoColors[8],
@@ -81154,11 +81363,11 @@ var generateNeutralColorPalettes = function generateNeutralColorPalettes(bgBaseC
81154
81363
  return {
81155
81364
  colorBgBase: colorBgBase,
81156
81365
  colorTextBase: colorTextBase,
81157
- colorText: getAlphaColor(colorTextBase, 0.85),
81366
+ colorText: getAlphaColor(colorTextBase, 0.88),
81158
81367
  colorTextSecondary: getAlphaColor(colorTextBase, 0.65),
81159
81368
  colorTextTertiary: getAlphaColor(colorTextBase, 0.45),
81160
81369
  colorTextQuaternary: getAlphaColor(colorTextBase, 0.25),
81161
- colorFill: getAlphaColor(colorTextBase, 0.12),
81370
+ colorFill: getAlphaColor(colorTextBase, 0.15),
81162
81371
  colorFillSecondary: getAlphaColor(colorTextBase, 0.06),
81163
81372
  colorFillTertiary: getAlphaColor(colorTextBase, 0.04),
81164
81373
  colorFillQuaternary: getAlphaColor(colorTextBase, 0.02),
@@ -81235,9 +81444,9 @@ function formatToken(derivativeToken) {
81235
81444
  var fontSizeSM = fontSizes[0]; // Generate alias token
81236
81445
 
81237
81446
  var aliasToken = extends_extends(extends_extends(extends_extends({}, mergedToken), {
81238
- colorLink: mergedToken.colorPrimaryText,
81239
- colorLinkHover: mergedToken.colorPrimaryTextHover,
81240
- colorLinkActive: mergedToken.colorPrimaryActive,
81447
+ colorLink: mergedToken.colorInfoText,
81448
+ colorLinkHover: mergedToken.colorInfoHover,
81449
+ colorLinkActive: mergedToken.colorInfoActive,
81241
81450
  // ============== Background ============== //
81242
81451
  colorFillContent: mergedToken.colorFillSecondary,
81243
81452
  colorFillContentHover: mergedToken.colorFill,
@@ -81252,6 +81461,8 @@ function formatToken(derivativeToken) {
81252
81461
  colorTextLabel: mergedToken.colorTextSecondary,
81253
81462
  colorTextDescription: mergedToken.colorTextTertiary,
81254
81463
  colorHighlight: mergedToken.colorError,
81464
+ colorBgTextHover: mergedToken.colorFillSecondary,
81465
+ colorBgTextActive: mergedToken.colorFill,
81255
81466
  colorIcon: mergedToken.colorTextTertiary,
81256
81467
  colorIconHover: mergedToken.colorText,
81257
81468
  colorErrorOutline: mergedToken.colorErrorBg,
@@ -81423,11 +81634,12 @@ function genComponentStyleHook(component, styleFn, getDefaultToken) {
81423
81634
  theme: theme,
81424
81635
  token: token,
81425
81636
  hashId: hashId,
81426
- path: ['Link']
81637
+ path: ['Shared', rootPrefixCls]
81427
81638
  }, function () {
81428
- return {
81639
+ return [{
81640
+ // Link
81429
81641
  '&': genLinkStyle(token)
81430
- };
81642
+ }, genFontStyle(token, rootPrefixCls)];
81431
81643
  });
81432
81644
  return [useStyleRegister({
81433
81645
  theme: theme,
@@ -81489,7 +81701,7 @@ var antCheckboxEffect = new Keyframes('antCheckboxEffect', {
81489
81701
  }); // ============================== Styles ==============================
81490
81702
 
81491
81703
  var genCheckboxStyle = function genCheckboxStyle(token) {
81492
- var _extends2, _ref, _ref3, _$concat, _$concat2, _ref5;
81704
+ var _extends2, _ref, _ref3, _$concat2, _ref4, _$concat3, _ref5;
81493
81705
 
81494
81706
  var checkboxCls = token.checkboxCls;
81495
81707
  var wrapperCls = "".concat(checkboxCls, "-wrapper");
@@ -81524,7 +81736,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
81524
81736
  whiteSpace: 'nowrap',
81525
81737
  lineHeight: 1,
81526
81738
  cursor: 'pointer'
81527
- }, defineProperty_defineProperty(_extends2, "".concat(checkboxCls, "-input"), {
81739
+ }, defineProperty_defineProperty(_extends2, "".concat(checkboxCls, "-input"), defineProperty_defineProperty({
81528
81740
  position: 'absolute',
81529
81741
  inset: 0,
81530
81742
  zIndex: 1,
@@ -81532,7 +81744,8 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
81532
81744
  height: '100%',
81533
81745
  cursor: 'pointer',
81534
81746
  opacity: 0
81535
- }), defineProperty_defineProperty(_extends2, "".concat(checkboxCls, "-inner"), {
81747
+ }, "&:focus-visible + ".concat(checkboxCls, "-inner"), extends_extends({}, genFocusOutline(token)))), defineProperty_defineProperty(_extends2, "".concat(checkboxCls, "-inner"), {
81748
+ boxSizing: 'border-box',
81536
81749
  position: 'relative',
81537
81750
  top: 0,
81538
81751
  insetInlineStart: 0,
@@ -81544,8 +81757,9 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
81544
81757
  border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " ").concat(token.colorBorder),
81545
81758
  borderRadius: token.controlRadiusSM,
81546
81759
  borderCollapse: 'separate',
81547
- transition: "all ".concat(token.motionDurationSlow),
81760
+ transition: "all ".concat(token.motionDurationFast),
81548
81761
  '&:after': {
81762
+ boxSizing: 'border-box',
81549
81763
  position: 'absolute',
81550
81764
  top: '50%',
81551
81765
  insetInlineStart: '21.5%',
@@ -81580,10 +81794,9 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
81580
81794
  })
81581
81795
  }), (_ref3 = {}, defineProperty_defineProperty(_ref3, "".concat(wrapperCls, ":hover ").concat(checkboxCls, ":after"), {
81582
81796
  visibility: 'visible'
81583
- }), defineProperty_defineProperty(_ref3, "\n ".concat(wrapperCls, ":hover:not(").concat(wrapperCls, "-disabled),\n ").concat(checkboxCls, ":hover:not(").concat(checkboxCls, "-disabled),\n ").concat(checkboxCls, "-input:focus +\n "), defineProperty_defineProperty({}, "".concat(checkboxCls, "-inner"), {
81797
+ }), defineProperty_defineProperty(_ref3, "\n ".concat(wrapperCls, ":not(").concat(wrapperCls, "-disabled),\n ").concat(checkboxCls, ":not(").concat(checkboxCls, "-disabled)\n "), defineProperty_defineProperty({}, "&:hover ".concat(checkboxCls, "-inner"), {
81584
81798
  borderColor: token.colorPrimary
81585
- })), _ref3), // ==================== Checked ====================
81586
- defineProperty_defineProperty({}, "".concat(checkboxCls, "-checked"), (_$concat = {}, defineProperty_defineProperty(_$concat, "".concat(checkboxCls, "-inner"), {
81799
+ })), _ref3), (_ref4 = {}, defineProperty_defineProperty(_ref4, "".concat(checkboxCls, "-checked"), (_$concat2 = {}, defineProperty_defineProperty(_$concat2, "".concat(checkboxCls, "-inner"), {
81587
81800
  backgroundColor: token.colorPrimary,
81588
81801
  borderColor: token.colorPrimary,
81589
81802
  '&:after': {
@@ -81591,13 +81804,12 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
81591
81804
  transform: 'rotate(45deg) scale(1) translate(-50%,-50%)',
81592
81805
  transition: "all ".concat(token.motionDurationSlow, " ").concat(token.motionEaseOutBack, " ").concat(token.motionDurationFast)
81593
81806
  }
81594
- }), defineProperty_defineProperty(_$concat, '&:after', {
81807
+ }), defineProperty_defineProperty(_$concat2, '&:after', {
81595
81808
  position: 'absolute',
81596
81809
  top: 0,
81597
81810
  insetInlineStart: 0,
81598
81811
  width: '100%',
81599
81812
  height: '100%',
81600
- border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " ").concat(token.colorPrimary),
81601
81813
  borderRadius: token.controlRadiusSM,
81602
81814
  visibility: 'hidden',
81603
81815
  animationName: antCheckboxEffect,
@@ -81605,21 +81817,24 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
81605
81817
  animationTimingFunction: 'ease-in-out',
81606
81818
  animationFillMode: 'backwards',
81607
81819
  content: '""'
81608
- }), _$concat)), (_ref5 = {}, defineProperty_defineProperty(_ref5, "".concat(wrapperCls, "-disabled"), {
81820
+ }), _$concat2)), defineProperty_defineProperty(_ref4, "\n ".concat(wrapperCls, "-checked:not(").concat(wrapperCls, "-disabled),\n ").concat(checkboxCls, "-checked:not(").concat(checkboxCls, "-disabled)\n "), defineProperty_defineProperty({}, "&:hover ".concat(checkboxCls, "-inner"), {
81821
+ backgroundColor: token.colorPrimaryHover,
81822
+ borderColor: 'transparent'
81823
+ })), _ref4), (_ref5 = {}, defineProperty_defineProperty(_ref5, "".concat(wrapperCls, "-disabled"), {
81609
81824
  cursor: 'not-allowed'
81610
- }), defineProperty_defineProperty(_ref5, "".concat(checkboxCls, "-disabled"), (_$concat2 = {}, defineProperty_defineProperty(_$concat2, "&, ".concat(checkboxCls, "-input"), {
81825
+ }), defineProperty_defineProperty(_ref5, "".concat(checkboxCls, "-disabled"), (_$concat3 = {}, defineProperty_defineProperty(_$concat3, "&, ".concat(checkboxCls, "-input"), {
81611
81826
  cursor: 'not-allowed'
81612
- }), defineProperty_defineProperty(_$concat2, "".concat(checkboxCls, "-inner"), {
81827
+ }), defineProperty_defineProperty(_$concat3, "".concat(checkboxCls, "-inner"), {
81613
81828
  background: token.colorBgContainerDisabled,
81614
81829
  borderColor: token.colorBorder,
81615
81830
  '&:after': {
81616
81831
  borderColor: token.colorTextDisabled
81617
81832
  }
81618
- }), defineProperty_defineProperty(_$concat2, '&:after', {
81833
+ }), defineProperty_defineProperty(_$concat3, '&:after', {
81619
81834
  display: 'none'
81620
- }), defineProperty_defineProperty(_$concat2, '& + span', {
81835
+ }), defineProperty_defineProperty(_$concat3, '& + span', {
81621
81836
  color: token.colorTextDisabled
81622
- }), _$concat2)), _ref5)];
81837
+ }), _$concat3)), _ref5)];
81623
81838
  }; // ============================== Export ==============================
81624
81839
 
81625
81840
  function getStyle(prefixCls, token) {
@@ -88117,7 +88332,10 @@ function isFragment(child) {
88117
88332
  return child && child.type === external_React_.Fragment;
88118
88333
  }
88119
88334
  function replaceElement(element, replacement, props) {
88120
- if (!isValidElement(element)) return replacement;
88335
+ if (!isValidElement(element)) {
88336
+ return replacement;
88337
+ }
88338
+
88121
88339
  return /*#__PURE__*/external_React_.cloneElement(element, typeof props === 'function' ? props(element.props || {}) : props);
88122
88340
  }
88123
88341
  function cloneElement(element, props) {
@@ -88703,6 +88921,7 @@ var genGroupStyle = function genGroupStyle(token) {
88703
88921
 
88704
88922
 
88705
88923
 
88924
+
88706
88925
  // ============================== Shared ==============================
88707
88926
 
88708
88927
  var genSharedButtonStyle = function genSharedButtonStyle(token) {
@@ -88721,7 +88940,7 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
88721
88940
  backgroundColor: 'transparent',
88722
88941
  border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " transparent"),
88723
88942
  cursor: 'pointer',
88724
- transition: "all ".concat(token.motionDurationSlow, " ").concat(token.motionEaseInOut),
88943
+ transition: "all ".concat(token.motionDurationFast, " ").concat(token.motionEaseInOut),
88725
88944
  userSelect: 'none',
88726
88945
  touchAction: 'manipulation',
88727
88946
  lineHeight: token.lineHeight,
@@ -88733,13 +88952,13 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
88733
88952
  marginInlineStart: token.marginXS
88734
88953
  }), defineProperty_defineProperty(_componentCls, "&".concat(componentCls, "-block"), {
88735
88954
  width: '100%'
88736
- }), _componentCls));
88955
+ }), defineProperty_defineProperty(_componentCls, '&:not(:disabled)', extends_extends({}, genFocusStyle(token))), _componentCls));
88737
88956
  };
88738
88957
 
88739
88958
  var genHoverActiveButtonStyle = function genHoverActiveButtonStyle(hoverStyle, activeStyle) {
88740
88959
  return {
88741
88960
  '&:not(:disabled)': {
88742
- '&:hover, &:focus': hoverStyle,
88961
+ '&:hover': hoverStyle,
88743
88962
  '&:active': activeStyle
88744
88963
  }
88745
88964
  };
@@ -88960,12 +89179,8 @@ var genSizeLargeButtonStyle = function genSizeLargeButtonStyle(token) {
88960
89179
 
88961
89180
 
88962
89181
  /* harmony default export */ var button_style = (genComponentStyleHook('Button', function (token) {
88963
- var controlTmpOutline = token.controlTmpOutline,
88964
- colorFillQuaternary = token.colorFillQuaternary,
88965
- colorFillTertiary = token.colorFillTertiary;
89182
+ var controlTmpOutline = token.controlTmpOutline;
88966
89183
  var buttonToken = statistic_merge(token, {
88967
- colorBgTextHover: colorFillQuaternary,
88968
- colorBgTextActive: colorFillTertiary,
88969
89184
  colorOutlineDefault: controlTmpOutline
88970
89185
  });
88971
89186
  return [// Shared
@@ -89255,6 +89470,205 @@ Button.__ANT_BUTTON = true;
89255
89470
  ;// CONCATENATED MODULE: ./node_modules/antd/es/button/index.js
89256
89471
 
89257
89472
  /* harmony default export */ var es_button = (button_button);
89473
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/style/roundedArrow.js
89474
+ var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor, boxShadow) {
89475
+ var unitWidth = width / 2;
89476
+ var ax = unitWidth - outerRadius * (Math.sqrt(2) - 1);
89477
+ var ay = unitWidth;
89478
+ var bx = unitWidth + outerRadius * (1 - 1 / Math.sqrt(2));
89479
+ var by = unitWidth - outerRadius * (1 - 1 / Math.sqrt(2));
89480
+ var cx = 2 * unitWidth - innerRadius * (1 / Math.sqrt(2));
89481
+ var cy = innerRadius * (1 / Math.sqrt(2));
89482
+ var dx = 4 * unitWidth - cx;
89483
+ var dy = cy;
89484
+ var ex = 4 * unitWidth - bx;
89485
+ var ey = by;
89486
+ var fx = 4 * unitWidth - ax;
89487
+ var fy = ay;
89488
+ return {
89489
+ borderRadius: {
89490
+ _skip_check_: true,
89491
+ value: "0 0 ".concat(innerRadius, "px")
89492
+ },
89493
+ pointerEvents: 'none',
89494
+ width: width * 2,
89495
+ height: width * 2,
89496
+ overflow: 'hidden',
89497
+ '&::after': {
89498
+ content: '""',
89499
+ position: 'absolute',
89500
+ width: width / Math.sqrt(2),
89501
+ height: width / Math.sqrt(2),
89502
+ bottom: 0,
89503
+ insetInline: 0,
89504
+ margin: 'auto',
89505
+ borderRadius: {
89506
+ _skip_check_: true,
89507
+ value: "0 0 ".concat(innerRadius, "px 0")
89508
+ },
89509
+ transform: 'translateY(50%) rotate(-135deg)',
89510
+ boxShadow: boxShadow,
89511
+ zIndex: 0,
89512
+ background: 'transparent'
89513
+ },
89514
+ '&::before': {
89515
+ position: 'absolute',
89516
+ bottom: 0,
89517
+ insetInlineStart: 0,
89518
+ width: width * 2,
89519
+ height: width / 2,
89520
+ background: bgColor,
89521
+ clipPath: "path('M ".concat(ax, " ").concat(ay, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 0 ").concat(bx, " ").concat(by, " L ").concat(cx, " ").concat(cy, " A ").concat(innerRadius, " ").concat(innerRadius, " 0 0 1 ").concat(dx, " ").concat(dy, " L ").concat(ex, " ").concat(ey, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 0 ").concat(fx, " ").concat(fy, " Z')"),
89522
+ content: '""'
89523
+ }
89524
+ };
89525
+ };
89526
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/style/placementArrow.js
89527
+
89528
+
89529
+
89530
+
89531
+ function connectArrowCls(classList) {
89532
+ var showArrowCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
89533
+ return classList.map(function (cls) {
89534
+ return "".concat(showArrowCls).concat(cls);
89535
+ }).join(',');
89536
+ }
89537
+
89538
+ var MAX_VERTICAL_CONTENT_RADIUS = 8;
89539
+ function getArrowOffset(options) {
89540
+ var maxVerticalContentRadius = MAX_VERTICAL_CONTENT_RADIUS;
89541
+ var sizePopupArrow = options.sizePopupArrow,
89542
+ contentRadius = options.contentRadius,
89543
+ radiusOuter = options.radiusOuter,
89544
+ limitVerticalRadius = options.limitVerticalRadius;
89545
+ var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(radiusOuter * (Math.sqrt(2) - 1));
89546
+ var dropdownArrowOffset = (contentRadius > 12 ? contentRadius + 2 : 12) - arrowInnerOffset;
89547
+ var dropdownArrowOffsetVertical = limitVerticalRadius ? maxVerticalContentRadius - arrowInnerOffset : dropdownArrowOffset;
89548
+ return {
89549
+ dropdownArrowOffset: dropdownArrowOffset,
89550
+ dropdownArrowOffsetVertical: dropdownArrowOffsetVertical
89551
+ };
89552
+ }
89553
+ function getArrowStyle(token, options) {
89554
+ var _componentCls;
89555
+
89556
+ var componentCls = token.componentCls,
89557
+ sizePopupArrow = token.sizePopupArrow,
89558
+ marginXXS = token.marginXXS,
89559
+ radiusXS = token.radiusXS,
89560
+ radiusOuter = token.radiusOuter,
89561
+ boxShadowPopoverArrow = token.boxShadowPopoverArrow;
89562
+ var colorBg = options.colorBg,
89563
+ showArrowCls = options.showArrowCls,
89564
+ _options$contentRadiu = options.contentRadius,
89565
+ contentRadius = _options$contentRadiu === void 0 ? token.radiusLG : _options$contentRadiu,
89566
+ limitVerticalRadius = options.limitVerticalRadius;
89567
+
89568
+ var _getArrowOffset = getArrowOffset({
89569
+ sizePopupArrow: sizePopupArrow,
89570
+ contentRadius: contentRadius,
89571
+ radiusOuter: radiusOuter,
89572
+ limitVerticalRadius: limitVerticalRadius
89573
+ }),
89574
+ dropdownArrowOffsetVertical = _getArrowOffset.dropdownArrowOffsetVertical,
89575
+ dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
89576
+
89577
+ var dropdownArrowDistance = sizePopupArrow + marginXXS;
89578
+ return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-arrow"), [extends_extends(extends_extends({
89579
+ position: 'absolute',
89580
+ zIndex: 1,
89581
+ display: 'block'
89582
+ }, roundedArrow(sizePopupArrow, radiusXS, radiusOuter, colorBg, boxShadowPopoverArrow)), {
89583
+ '&:before': {
89584
+ background: colorBg
89585
+ }
89586
+ })]), defineProperty_defineProperty(_componentCls, ["&-placement-top ".concat(componentCls, "-arrow"), "&-placement-topLeft ".concat(componentCls, "-arrow"), "&-placement-topRight ".concat(componentCls, "-arrow")].join(','), {
89587
+ bottom: 0,
89588
+ transform: 'translateY(100%) rotate(180deg)'
89589
+ }), defineProperty_defineProperty(_componentCls, "&-placement-top ".concat(componentCls, "-arrow"), {
89590
+ left: {
89591
+ _skip_check_: true,
89592
+ value: '50%'
89593
+ },
89594
+ transform: 'translateX(-50%) translateY(100%) rotate(180deg)'
89595
+ }), defineProperty_defineProperty(_componentCls, "&-placement-topLeft ".concat(componentCls, "-arrow"), {
89596
+ left: {
89597
+ _skip_check_: true,
89598
+ value: dropdownArrowOffset
89599
+ }
89600
+ }), defineProperty_defineProperty(_componentCls, "&-placement-topRight ".concat(componentCls, "-arrow"), {
89601
+ right: {
89602
+ _skip_check_: true,
89603
+ value: dropdownArrowOffset
89604
+ }
89605
+ }), defineProperty_defineProperty(_componentCls, ["&-placement-bottom ".concat(componentCls, "-arrow"), "&-placement-bottomLeft ".concat(componentCls, "-arrow"), "&-placement-bottomRight ".concat(componentCls, "-arrow")].join(','), {
89606
+ top: 0,
89607
+ transform: "translateY(-100%)"
89608
+ }), defineProperty_defineProperty(_componentCls, "&-placement-bottom ".concat(componentCls, "-arrow"), {
89609
+ left: {
89610
+ _skip_check_: true,
89611
+ value: '50%'
89612
+ },
89613
+ transform: "translateX(-50%) translateY(-100%)"
89614
+ }), defineProperty_defineProperty(_componentCls, "&-placement-bottomLeft ".concat(componentCls, "-arrow"), {
89615
+ left: {
89616
+ _skip_check_: true,
89617
+ value: dropdownArrowOffset
89618
+ }
89619
+ }), defineProperty_defineProperty(_componentCls, "&-placement-bottomRight ".concat(componentCls, "-arrow"), {
89620
+ right: {
89621
+ _skip_check_: true,
89622
+ value: dropdownArrowOffset
89623
+ }
89624
+ }), defineProperty_defineProperty(_componentCls, ["&-placement-left ".concat(componentCls, "-arrow"), "&-placement-leftTop ".concat(componentCls, "-arrow"), "&-placement-leftBottom ".concat(componentCls, "-arrow")].join(','), {
89625
+ right: {
89626
+ _skip_check_: true,
89627
+ value: 0
89628
+ },
89629
+ transform: 'translateX(100%) rotate(90deg)'
89630
+ }), defineProperty_defineProperty(_componentCls, "&-placement-left ".concat(componentCls, "-arrow"), {
89631
+ top: {
89632
+ _skip_check_: true,
89633
+ value: '50%'
89634
+ },
89635
+ transform: 'translateY(-50%) translateX(100%) rotate(90deg)'
89636
+ }), defineProperty_defineProperty(_componentCls, "&-placement-leftTop ".concat(componentCls, "-arrow"), {
89637
+ top: dropdownArrowOffsetVertical
89638
+ }), defineProperty_defineProperty(_componentCls, "&-placement-leftBottom ".concat(componentCls, "-arrow"), {
89639
+ bottom: dropdownArrowOffsetVertical
89640
+ }), defineProperty_defineProperty(_componentCls, ["&-placement-right ".concat(componentCls, "-arrow"), "&-placement-rightTop ".concat(componentCls, "-arrow"), "&-placement-rightBottom ".concat(componentCls, "-arrow")].join(','), {
89641
+ left: {
89642
+ _skip_check_: true,
89643
+ value: 0
89644
+ },
89645
+ transform: 'translateX(-100%) rotate(-90deg)'
89646
+ }), defineProperty_defineProperty(_componentCls, "&-placement-right ".concat(componentCls, "-arrow"), {
89647
+ top: {
89648
+ _skip_check_: true,
89649
+ value: '50%'
89650
+ },
89651
+ transform: 'translateY(-50%) translateX(-100%) rotate(-90deg)'
89652
+ }), defineProperty_defineProperty(_componentCls, "&-placement-rightTop ".concat(componentCls, "-arrow"), {
89653
+ top: dropdownArrowOffsetVertical
89654
+ }), defineProperty_defineProperty(_componentCls, "&-placement-rightBottom ".concat(componentCls, "-arrow"), {
89655
+ bottom: dropdownArrowOffsetVertical
89656
+ }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-topLeft", "&-placement-top", "&-placement-topRight"], showArrowCls), {
89657
+ paddingBottom: dropdownArrowDistance
89658
+ }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-bottomLeft", "&-placement-bottom", "&-placement-bottomRight"], showArrowCls), {
89659
+ paddingTop: dropdownArrowDistance
89660
+ }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-leftTop", "&-placement-left", "&-placement-leftBottom"], showArrowCls), {
89661
+ paddingRight: {
89662
+ _skip_check_: true,
89663
+ value: dropdownArrowDistance
89664
+ }
89665
+ }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-rightTop", "&-placement-right", "&-placement-rightBottom"], showArrowCls), {
89666
+ paddingLeft: {
89667
+ _skip_check_: true,
89668
+ value: dropdownArrowDistance
89669
+ }
89670
+ }), _componentCls));
89671
+ }
89258
89672
  ;// CONCATENATED MODULE: ./node_modules/antd/es/style/motion/motion.js
89259
89673
 
89260
89674
 
@@ -89597,59 +90011,6 @@ var genStatusStyle = function genStatusStyle(token) {
89597
90011
  };
89598
90012
 
89599
90013
  /* harmony default export */ var style_status = (genStatusStyle);
89600
- ;// CONCATENATED MODULE: ./node_modules/antd/es/style/roundedArrow.js
89601
- var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor, boxShadow) {
89602
- var unitWidth = width / 2;
89603
- var ax = unitWidth - outerRadius * (Math.sqrt(2) - 1);
89604
- var ay = unitWidth;
89605
- var bx = unitWidth + outerRadius * (1 - 1 / Math.sqrt(2));
89606
- var by = unitWidth - outerRadius * (1 - 1 / Math.sqrt(2));
89607
- var cx = 2 * unitWidth - innerRadius * (1 / Math.sqrt(2));
89608
- var cy = innerRadius * (1 / Math.sqrt(2));
89609
- var dx = 4 * unitWidth - cx;
89610
- var dy = cy;
89611
- var ex = 4 * unitWidth - bx;
89612
- var ey = by;
89613
- var fx = 4 * unitWidth - ax;
89614
- var fy = ay;
89615
- return {
89616
- borderRadius: {
89617
- _skip_check_: true,
89618
- value: "0 0 ".concat(innerRadius, "px")
89619
- },
89620
- pointerEvents: 'none',
89621
- width: width * 2,
89622
- height: width * 2,
89623
- overflow: 'hidden',
89624
- '&::after': {
89625
- content: '""',
89626
- position: 'absolute',
89627
- width: width / Math.sqrt(2),
89628
- height: width / Math.sqrt(2),
89629
- bottom: 0,
89630
- insetInline: 0,
89631
- margin: 'auto',
89632
- borderRadius: {
89633
- _skip_check_: true,
89634
- value: "0 0 ".concat(innerRadius, "px 0")
89635
- },
89636
- transform: 'translateY(50%) rotate(-135deg)',
89637
- boxShadow: boxShadow,
89638
- zIndex: 0,
89639
- background: 'transparent'
89640
- },
89641
- '&::before': {
89642
- position: 'absolute',
89643
- bottom: 0,
89644
- insetInlineStart: 0,
89645
- width: width * 2,
89646
- height: width / 2,
89647
- background: bgColor,
89648
- clipPath: "path('M ".concat(ax, " ").concat(ay, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 0 ").concat(bx, " ").concat(by, " L ").concat(cx, " ").concat(cy, " A ").concat(innerRadius, " ").concat(innerRadius, " 0 0 1 ").concat(dx, " ").concat(dy, " L ").concat(ex, " ").concat(ey, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 0 ").concat(fx, " ").concat(fy, " Z')"),
89649
- content: '""'
89650
- }
89651
- };
89652
- };
89653
90014
  ;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/style/index.js
89654
90015
 
89655
90016
 
@@ -89657,10 +90018,11 @@ var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColo
89657
90018
 
89658
90019
 
89659
90020
 
90021
+
89660
90022
  // =============================== Base ===============================
89661
90023
 
89662
90024
  var genBaseStyle = function genBaseStyle(token) {
89663
- var _$concat, _extends2, _$concat$concat, _menuCls, _ref2;
90025
+ var _$concat, _extends2, _extends5, _ref2;
89664
90026
 
89665
90027
  var componentCls = token.componentCls,
89666
90028
  menuCls = token.menuCls,
@@ -89671,10 +90033,10 @@ var genBaseStyle = function genBaseStyle(token) {
89671
90033
  antCls = token.antCls,
89672
90034
  iconCls = token.iconCls,
89673
90035
  motionDurationMid = token.motionDurationMid,
89674
- motionDurationSlow = token.motionDurationSlow,
90036
+ motionDurationFast = token.motionDurationFast,
89675
90037
  dropdownPaddingVertical = token.dropdownPaddingVertical,
89676
90038
  fontSizeBase = token.fontSizeBase,
89677
- dropdownEdgeChildVerticalPadding = token.dropdownEdgeChildVerticalPadding,
90039
+ dropdownEdgeChildPadding = token.dropdownEdgeChildPadding,
89678
90040
  radiusBase = token.radiusBase,
89679
90041
  colorTextDisabled = token.colorTextDisabled,
89680
90042
  fontSizeIcon = token.fontSizeIcon,
@@ -89778,31 +90140,32 @@ var genBaseStyle = function genBaseStyle(token) {
89778
90140
  ul: {
89779
90141
  marginInline: '0.3em'
89780
90142
  }
89781
- }), defineProperty_defineProperty(_ref2, "".concat(componentCls, ", ").concat(componentCls, "-menu-submenu"), defineProperty_defineProperty({}, menuCls, (_menuCls = {
89782
- padding: "".concat(dropdownEdgeChildVerticalPadding, "px 0"),
90143
+ }), defineProperty_defineProperty(_ref2, "".concat(componentCls, ", ").concat(componentCls, "-menu-submenu"), defineProperty_defineProperty({}, menuCls, extends_extends(extends_extends({
90144
+ padding: dropdownEdgeChildPadding,
89783
90145
  listStyleType: 'none',
89784
90146
  backgroundColor: colorBgElevated,
89785
90147
  backgroundClip: 'padding-box',
89786
90148
  borderRadius: token.controlRadiusLG,
89787
90149
  outline: 'none',
89788
90150
  boxShadow: token.boxShadowSecondary
89789
- }, defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-item-group-title"), {
90151
+ }, genFocusStyle(token)), (_extends5 = {}, defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-group-title"), {
89790
90152
  padding: "".concat(dropdownPaddingVertical, "px ").concat(controlPaddingHorizontal, "px"),
89791
90153
  color: token.colorTextDescription,
89792
- transition: "all ".concat(motionDurationSlow)
89793
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-item"), {
90154
+ transition: "all ".concat(motionDurationFast)
90155
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item"), {
89794
90156
  position: 'relative',
89795
90157
  display: 'flex',
89796
- alignItems: 'center'
89797
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-item-icon"), {
90158
+ alignItems: 'center',
90159
+ borderRadius: token.radiusSM
90160
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-icon"), {
89798
90161
  minWidth: fontSizeBase,
89799
90162
  marginInlineEnd: token.marginXS,
89800
90163
  fontSize: token.fontSizeSM
89801
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-title-content"), {
90164
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-title-content"), {
89802
90165
  flex: 'auto',
89803
90166
  '> a': {
89804
90167
  color: 'inherit',
89805
- transition: "all ".concat(motionDurationSlow),
90168
+ transition: "all ".concat(motionDurationFast),
89806
90169
  '&:hover': {
89807
90170
  color: 'inherit'
89808
90171
  },
@@ -89812,7 +90175,7 @@ var genBaseStyle = function genBaseStyle(token) {
89812
90175
  content: '""'
89813
90176
  }
89814
90177
  }
89815
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-item, ").concat(menuCls, "-submenu-title"), (_$concat$concat = {
90178
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item, ").concat(menuCls, "-submenu-title"), extends_extends(extends_extends(defineProperty_defineProperty({
89816
90179
  clear: 'both',
89817
90180
  margin: 0,
89818
90181
  padding: "".concat(dropdownPaddingVertical, "px ").concat(controlPaddingHorizontal, "px"),
@@ -89821,37 +90184,43 @@ var genBaseStyle = function genBaseStyle(token) {
89821
90184
  fontSize: fontSizeBase,
89822
90185
  lineHeight: token.lineHeight,
89823
90186
  cursor: 'pointer',
89824
- transition: "all ".concat(motionDurationSlow),
89825
- '&:first-child': !dropdownEdgeChildVerticalPadding ? {
90187
+ transition: "all ".concat(motionDurationFast),
90188
+ '&:first-child': !dropdownEdgeChildPadding ? {
89826
90189
  borderRadius: "".concat(radiusBase, "px ").concat(radiusBase, "px 0 0")
89827
90190
  } : [],
89828
- '&:last-child': !dropdownEdgeChildVerticalPadding ? {
90191
+ '&:last-child': !dropdownEdgeChildPadding ? {
89829
90192
  borderRadius: "0 0 ".concat(radiusBase, "px ").concat(radiusBase, "px")
89830
- } : [],
90193
+ } : []
90194
+ }, "&:hover, &-active", {
90195
+ backgroundColor: token.controlItemBgHover
90196
+ }), genFocusStyle(token)), defineProperty_defineProperty({
89831
90197
  '&-selected': {
89832
90198
  color: token.colorPrimary,
89833
- backgroundColor: token.controlItemBgActive
89834
- }
89835
- }, defineProperty_defineProperty(_$concat$concat, "&:hover, &-active", {
89836
- backgroundColor: token.controlItemBgHover
89837
- }), defineProperty_defineProperty(_$concat$concat, '&-disabled', {
89838
- color: colorTextDisabled,
89839
- cursor: 'not-allowed',
89840
- '&:hover': {
90199
+ backgroundColor: token.controlItemBgActive,
90200
+ '&:hover, &-active': {
90201
+ backgroundColor: token.controlItemBgActiveHover
90202
+ }
90203
+ },
90204
+ '&-disabled': {
89841
90205
  color: colorTextDisabled,
89842
- backgroundColor: colorBgElevated,
89843
- cursor: 'not-allowed'
90206
+ cursor: 'not-allowed',
90207
+ '&:hover': {
90208
+ color: colorTextDisabled,
90209
+ backgroundColor: colorBgElevated,
90210
+ cursor: 'not-allowed'
90211
+ },
90212
+ a: {
90213
+ pointerEvents: 'none'
90214
+ }
89844
90215
  },
89845
- a: {
89846
- pointerEvents: 'none'
90216
+ '&-divider': {
90217
+ height: 1,
90218
+ margin: "".concat(token.marginXXS, "px 0"),
90219
+ overflow: 'hidden',
90220
+ lineHeight: 0,
90221
+ backgroundColor: token.colorSplit
89847
90222
  }
89848
- }), defineProperty_defineProperty(_$concat$concat, '&-divider', {
89849
- height: 1,
89850
- margin: "".concat(token.marginXXS, "px 0"),
89851
- overflow: 'hidden',
89852
- lineHeight: 0,
89853
- backgroundColor: token.colorSplit
89854
- }), defineProperty_defineProperty(_$concat$concat, "".concat(componentCls, "-menu-submenu-expand-icon"), defineProperty_defineProperty({
90223
+ }, "".concat(componentCls, "-menu-submenu-expand-icon"), defineProperty_defineProperty({
89855
90224
  position: 'absolute',
89856
90225
  insetInlineEnd: token.paddingXS
89857
90226
  }, "".concat(componentCls, "-menu-submenu-arrow-icon"), {
@@ -89859,21 +90228,21 @@ var genBaseStyle = function genBaseStyle(token) {
89859
90228
  color: token.colorTextDescription,
89860
90229
  fontSize: fontSizeIcon,
89861
90230
  fontStyle: 'normal'
89862
- })), _$concat$concat)), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-item-group-list"), {
90231
+ })))), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-group-list"), {
89863
90232
  margin: "0 ".concat(token.marginXS, "px"),
89864
90233
  padding: 0,
89865
90234
  listStyle: 'none'
89866
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-submenu-title"), {
90235
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-submenu-title"), {
89867
90236
  paddingInlineEnd: controlPaddingHorizontal + token.fontSizeSM
89868
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-submenu-vertical"), {
90237
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-submenu-vertical"), {
89869
90238
  position: 'relative'
89870
- }), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-submenu").concat(menuCls, "-submenu-disabled ").concat(componentCls, "-menu-submenu-title"), defineProperty_defineProperty({}, "&, ".concat(componentCls, "-menu-submenu-arrow-icon"), {
90239
+ }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-submenu").concat(menuCls, "-submenu-disabled ").concat(componentCls, "-menu-submenu-title"), defineProperty_defineProperty({}, "&, ".concat(componentCls, "-menu-submenu-arrow-icon"), {
89871
90240
  color: colorTextDisabled,
89872
90241
  backgroundColor: colorBgElevated,
89873
90242
  cursor: 'not-allowed'
89874
- })), defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-submenu-selected ").concat(componentCls, "-menu-submenu-title"), {
90243
+ })), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-submenu-selected ").concat(componentCls, "-menu-submenu-title"), {
89875
90244
  color: token.colorPrimary
89876
- }), _menuCls))), _ref2), // Follow code may reuse in other components
90245
+ }), _extends5)))), _ref2), // Follow code may reuse in other components
89877
90246
  [initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down'), initMoveMotion(token, 'move-up'), initMoveMotion(token, 'move-down')]];
89878
90247
  }; // ============================== Export ==============================
89879
90248
 
@@ -89886,15 +90255,25 @@ var genBaseStyle = function genBaseStyle(token) {
89886
90255
  fontSizeBase = token.fontSizeBase,
89887
90256
  lineHeight = token.lineHeight,
89888
90257
  paddingXXS = token.paddingXXS,
89889
- componentCls = token.componentCls;
90258
+ componentCls = token.componentCls,
90259
+ radiusOuter = token.radiusOuter,
90260
+ radiusLG = token.radiusLG;
89890
90261
  var dropdownPaddingVertical = (controlHeight - fontSizeBase * lineHeight) / 2;
90262
+
90263
+ var _getArrowOffset = getArrowOffset({
90264
+ sizePopupArrow: sizePopupArrow,
90265
+ contentRadius: radiusLG,
90266
+ radiusOuter: radiusOuter
90267
+ }),
90268
+ dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
90269
+
89891
90270
  var dropdownToken = statistic_merge(token, {
89892
90271
  menuCls: "".concat(componentCls, "-menu"),
89893
90272
  rootPrefixCls: rootPrefixCls,
89894
90273
  dropdownArrowDistance: sizePopupArrow + marginXXS,
89895
- dropdownArrowOffset: sizePopupArrow / Math.sqrt(2) * 2,
90274
+ dropdownArrowOffset: dropdownArrowOffset,
89896
90275
  dropdownPaddingVertical: dropdownPaddingVertical,
89897
- dropdownEdgeChildVerticalPadding: paddingXXS
90276
+ dropdownEdgeChildPadding: paddingXXS
89898
90277
  });
89899
90278
  return [genBaseStyle(dropdownToken), style_button(dropdownToken), style_status(dropdownToken)];
89900
90279
  }, function (token) {
@@ -90054,14 +90433,6 @@ var dropdown_Dropdown = function Dropdown(props) {
90054
90433
  getPrefixCls = _React$useContext.getPrefixCls,
90055
90434
  direction = _React$useContext.direction;
90056
90435
 
90057
- [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(function (_ref) {
90058
- var _ref2 = slicedToArray_slicedToArray(_ref, 2),
90059
- deprecatedName = _ref2[0],
90060
- newName = _ref2[1];
90061
-
90062
- false ? 0 : void 0;
90063
- });
90064
-
90065
90436
  var getTransitionName = function getTransitionName() {
90066
90437
  var rootPrefixCls = getPrefixCls();
90067
90438
  var _props$placement = props.placement,
@@ -90103,7 +90474,12 @@ var dropdown_Dropdown = function Dropdown(props) {
90103
90474
  getPopupContainer = props.getPopupContainer,
90104
90475
  overlayClassName = props.overlayClassName,
90105
90476
  open = props.open,
90106
- onOpenChange = props.onOpenChange;
90477
+ onOpenChange = props.onOpenChange,
90478
+ visible = props.visible,
90479
+ onVisibleChange = props.onVisibleChange;
90480
+
90481
+ if (false) {}
90482
+
90107
90483
  var prefixCls = getPrefixCls('dropdown', customizePrefixCls);
90108
90484
 
90109
90485
  var _useStyle = dropdown_style(prefixCls),
@@ -90125,7 +90501,7 @@ var dropdown_Dropdown = function Dropdown(props) {
90125
90501
 
90126
90502
 
90127
90503
  var _useMergedState = useMergedState_useMergedState(false, {
90128
- value: open
90504
+ value: open !== null && open !== void 0 ? open : visible
90129
90505
  }),
90130
90506
  _useMergedState2 = slicedToArray_slicedToArray(_useMergedState, 2),
90131
90507
  mergedOpen = _useMergedState2[0],
@@ -90133,6 +90509,7 @@ var dropdown_Dropdown = function Dropdown(props) {
90133
90509
 
90134
90510
  var onInnerOpenChange = useEvent(function (nextOpen) {
90135
90511
  onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(nextOpen);
90512
+ onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(nextOpen);
90136
90513
  setOpen(nextOpen);
90137
90514
  }); // =========================== Overlay ============================
90138
90515
 
@@ -93076,12 +93453,9 @@ var getRTLStyle = function getRTLStyle(_ref) {
93076
93453
 
93077
93454
 
93078
93455
 
93456
+
93079
93457
  var accessibilityFocus = function accessibilityFocus(token) {
93080
- var controlOutlineWidth = token.controlOutlineWidth,
93081
- colorPrimaryHover = token.colorPrimaryHover;
93082
- return {
93083
- boxShadow: "0 0 0 ".concat(controlOutlineWidth, "px ").concat(colorPrimaryHover)
93084
- };
93458
+ return extends_extends({}, genFocusOutline(token));
93085
93459
  };
93086
93460
 
93087
93461
  var getThemeStyle = function getThemeStyle(token) {
@@ -94007,124 +94381,6 @@ var PresetStatusColorTypes = tuple('success', 'processing', 'error', 'default',
94007
94381
  var PresetColorTypes = tuple('pink', 'red', 'yellow', 'orange', 'cyan', 'green', 'blue', 'purple', 'geekblue', 'magenta', 'volcano', 'gold', 'lime');
94008
94382
  ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/interface.js
94009
94383
  var PresetColors = ['blue', 'purple', 'cyan', 'green', 'magenta', 'pink', 'red', 'orange', 'yellow', 'volcano', 'geekblue', 'lime', 'gold'];
94010
- ;// CONCATENATED MODULE: ./node_modules/antd/es/style/placementArrow.js
94011
-
94012
-
94013
-
94014
-
94015
- function connectArrowCls(classList) {
94016
- var showArrowCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
94017
- return classList.map(function (cls) {
94018
- return "".concat(showArrowCls).concat(cls);
94019
- }).join(',');
94020
- }
94021
-
94022
- function getArrowStyle(token, colorBg, showArrowCls, arrowMargin) {
94023
- var _componentCls;
94024
-
94025
- var componentCls = token.componentCls,
94026
- sizePopupArrow = token.sizePopupArrow,
94027
- marginXXS = token.marginXXS,
94028
- radiusXS = token.radiusXS,
94029
- radiusOuter = token.radiusOuter,
94030
- boxShadowPopoverArrow = token.boxShadowPopoverArrow,
94031
- marginXS = token.marginXS;
94032
- var dropdownArrowOffset = arrowMargin !== null && arrowMargin !== void 0 ? arrowMargin : marginXS;
94033
- var dropdownArrowDistance = sizePopupArrow + marginXXS;
94034
- return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-arrow"), [extends_extends(extends_extends({
94035
- position: 'absolute',
94036
- zIndex: 1,
94037
- display: 'block'
94038
- }, roundedArrow(sizePopupArrow, radiusXS, radiusOuter, colorBg, boxShadowPopoverArrow)), {
94039
- '&:before': {
94040
- background: colorBg
94041
- }
94042
- })]), defineProperty_defineProperty(_componentCls, ["&-placement-top ".concat(componentCls, "-arrow"), "&-placement-topLeft ".concat(componentCls, "-arrow"), "&-placement-topRight ".concat(componentCls, "-arrow")].join(','), {
94043
- bottom: 0,
94044
- transform: 'translateY(100%) rotate(180deg)'
94045
- }), defineProperty_defineProperty(_componentCls, "&-placement-top ".concat(componentCls, "-arrow"), {
94046
- left: {
94047
- _skip_check_: true,
94048
- value: '50%'
94049
- },
94050
- transform: 'translateX(-50%) translateY(100%) rotate(180deg)'
94051
- }), defineProperty_defineProperty(_componentCls, "&-placement-topLeft ".concat(componentCls, "-arrow"), {
94052
- left: {
94053
- _skip_check_: true,
94054
- value: dropdownArrowOffset
94055
- }
94056
- }), defineProperty_defineProperty(_componentCls, "&-placement-topRight ".concat(componentCls, "-arrow"), {
94057
- right: {
94058
- _skip_check_: true,
94059
- value: dropdownArrowOffset
94060
- }
94061
- }), defineProperty_defineProperty(_componentCls, ["&-placement-bottom ".concat(componentCls, "-arrow"), "&-placement-bottomLeft ".concat(componentCls, "-arrow"), "&-placement-bottomRight ".concat(componentCls, "-arrow")].join(','), {
94062
- top: 0,
94063
- transform: "translateY(-100%)"
94064
- }), defineProperty_defineProperty(_componentCls, "&-placement-bottom ".concat(componentCls, "-arrow"), {
94065
- left: {
94066
- _skip_check_: true,
94067
- value: '50%'
94068
- },
94069
- transform: "translateX(-50%) translateY(-100%)"
94070
- }), defineProperty_defineProperty(_componentCls, "&-placement-bottomLeft ".concat(componentCls, "-arrow"), {
94071
- left: {
94072
- _skip_check_: true,
94073
- value: dropdownArrowOffset
94074
- }
94075
- }), defineProperty_defineProperty(_componentCls, "&-placement-bottomRight ".concat(componentCls, "-arrow"), {
94076
- right: {
94077
- _skip_check_: true,
94078
- value: dropdownArrowOffset
94079
- }
94080
- }), defineProperty_defineProperty(_componentCls, ["&-placement-left ".concat(componentCls, "-arrow"), "&-placement-leftTop ".concat(componentCls, "-arrow"), "&-placement-leftBottom ".concat(componentCls, "-arrow")].join(','), {
94081
- right: {
94082
- _skip_check_: true,
94083
- value: 0
94084
- },
94085
- transform: 'translateX(100%) rotate(90deg)'
94086
- }), defineProperty_defineProperty(_componentCls, "&-placement-left ".concat(componentCls, "-arrow"), {
94087
- top: {
94088
- _skip_check_: true,
94089
- value: '50%'
94090
- },
94091
- transform: 'translateY(-50%) translateX(100%) rotate(90deg)'
94092
- }), defineProperty_defineProperty(_componentCls, "&-placement-leftTop ".concat(componentCls, "-arrow"), {
94093
- top: dropdownArrowOffset
94094
- }), defineProperty_defineProperty(_componentCls, "&-placement-leftBottom ".concat(componentCls, "-arrow"), {
94095
- bottom: dropdownArrowOffset
94096
- }), defineProperty_defineProperty(_componentCls, ["&-placement-right ".concat(componentCls, "-arrow"), "&-placement-rightTop ".concat(componentCls, "-arrow"), "&-placement-rightBottom ".concat(componentCls, "-arrow")].join(','), {
94097
- left: {
94098
- _skip_check_: true,
94099
- value: 0
94100
- },
94101
- transform: 'translateX(-100%) rotate(-90deg)'
94102
- }), defineProperty_defineProperty(_componentCls, "&-placement-right ".concat(componentCls, "-arrow"), {
94103
- top: {
94104
- _skip_check_: true,
94105
- value: '50%'
94106
- },
94107
- transform: 'translateY(-50%) translateX(-100%) rotate(-90deg)'
94108
- }), defineProperty_defineProperty(_componentCls, "&-placement-rightTop ".concat(componentCls, "-arrow"), {
94109
- top: dropdownArrowOffset
94110
- }), defineProperty_defineProperty(_componentCls, "&-placement-rightBottom ".concat(componentCls, "-arrow"), {
94111
- bottom: dropdownArrowOffset
94112
- }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-topLeft", "&-placement-top", "&-placement-topRight"], showArrowCls), {
94113
- paddingBottom: dropdownArrowDistance
94114
- }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-bottomLeft", "&-placement-bottom", "&-placement-bottomRight"], showArrowCls), {
94115
- paddingTop: dropdownArrowDistance
94116
- }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-leftTop", "&-placement-left", "&-placement-leftBottom"], showArrowCls), {
94117
- paddingRight: {
94118
- _skip_check_: true,
94119
- value: dropdownArrowDistance
94120
- }
94121
- }), defineProperty_defineProperty(_componentCls, connectArrowCls(["&-placement-rightTop", "&-placement-right", "&-placement-rightBottom"], showArrowCls), {
94122
- paddingLeft: {
94123
- _skip_check_: true,
94124
- value: dropdownArrowDistance
94125
- }
94126
- }), _componentCls));
94127
- }
94128
94384
  ;// CONCATENATED MODULE: ./node_modules/antd/es/tooltip/style/index.js
94129
94385
 
94130
94386
 
@@ -94188,7 +94444,9 @@ var genTooltipStyle = function genTooltipStyle(token) {
94188
94444
  backgroundColor: tooltipBg,
94189
94445
  borderRadius: tooltipBorderRadius,
94190
94446
  boxShadow: boxShadowSecondary
94191
- }), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-content"), {
94447
+ }), defineProperty_defineProperty(_extends2, ["&-placement-left", "&-placement-leftTop", "&-placement-leftBottom", "&-placement-right", "&-placement-rightTop", "&-placement-rightBottom"].join(','), defineProperty_defineProperty({}, "".concat(componentCls, "-inner"), {
94448
+ borderRadius: tooltipBorderRadius > MAX_VERTICAL_CONTENT_RADIUS ? MAX_VERTICAL_CONTENT_RADIUS : tooltipBorderRadius
94449
+ })), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-content"), {
94192
94450
  position: 'relative'
94193
94451
  }), _extends2)), generatorTooltipPresetColor(token)), {
94194
94452
  // RTL
@@ -94198,7 +94456,12 @@ var genTooltipStyle = function genTooltipStyle(token) {
94198
94456
  })), // Arrow Style
94199
94457
  getArrowStyle(statistic_merge(token, {
94200
94458
  radiusOuter: tooltipRadiusOuter
94201
- }), 'var(--antd-arrow-background-color)', '', 0), // Pure Render
94459
+ }), {
94460
+ colorBg: 'var(--antd-arrow-background-color)',
94461
+ showArrowCls: '',
94462
+ contentRadius: tooltipBorderRadius,
94463
+ limitVerticalRadius: true
94464
+ }), // Pure Render
94202
94465
  defineProperty_defineProperty({}, "".concat(componentCls, "-pure"), {
94203
94466
  position: 'relative',
94204
94467
  maxWidth: 'none'
@@ -94358,22 +94621,28 @@ function getDisabledCompatibleChildren(element, prefixCls) {
94358
94621
  var tooltip_Tooltip = /*#__PURE__*/external_React_.forwardRef(function (props, ref) {
94359
94622
  var _classNames2;
94360
94623
 
94624
+ var _a, _b;
94625
+
94626
+ var customizePrefixCls = props.prefixCls,
94627
+ openClassName = props.openClassName,
94628
+ getTooltipContainer = props.getTooltipContainer,
94629
+ overlayClassName = props.overlayClassName,
94630
+ color = props.color,
94631
+ overlayInnerStyle = props.overlayInnerStyle,
94632
+ children = props.children,
94633
+ afterOpenChange = props.afterOpenChange,
94634
+ afterVisibleChange = props.afterVisibleChange;
94635
+
94361
94636
  var _React$useContext = external_React_.useContext(context_ConfigContext),
94362
94637
  getContextPopupContainer = _React$useContext.getPopupContainer,
94363
94638
  getPrefixCls = _React$useContext.getPrefixCls,
94364
94639
  direction = _React$useContext.direction;
94365
94640
 
94366
- [['visible', 'open'], ['defaultVisible', 'defaultOpen'], ['onVisibleChange', 'onOpenChange'], ['afterVisibleChange', 'afterOpenChange']].forEach(function (_ref) {
94367
- var _ref2 = slicedToArray_slicedToArray(_ref, 2),
94368
- deprecatedName = _ref2[0],
94369
- newName = _ref2[1];
94370
-
94371
- false ? 0 : void 0;
94372
- });
94641
+ if (false) {}
94373
94642
 
94374
94643
  var _useMergedState = useMergedState_useMergedState(false, {
94375
- value: props.open,
94376
- defaultValue: props.defaultOpen
94644
+ value: (_a = props.open) !== null && _a !== void 0 ? _a : props.visible,
94645
+ defaultValue: (_b = props.defaultOpen) !== null && _b !== void 0 ? _b : props.defaultVisible
94377
94646
  }),
94378
94647
  _useMergedState2 = slicedToArray_slicedToArray(_useMergedState, 2),
94379
94648
  open = _useMergedState2[0],
@@ -94455,19 +94724,12 @@ var tooltip_Tooltip = /*#__PURE__*/external_React_.forwardRef(function (props, r
94455
94724
  overlayStyle = props.overlayStyle,
94456
94725
  otherProps = tooltip_rest(props, ["getPopupContainer", "overlayStyle"]);
94457
94726
 
94458
- var customizePrefixCls = props.prefixCls,
94459
- openClassName = props.openClassName,
94460
- getTooltipContainer = props.getTooltipContainer,
94461
- overlayClassName = props.overlayClassName,
94462
- color = props.color,
94463
- overlayInnerStyle = props.overlayInnerStyle,
94464
- children = props.children;
94465
94727
  var prefixCls = getPrefixCls('tooltip', customizePrefixCls);
94466
94728
  var rootPrefixCls = getPrefixCls();
94467
94729
  var injectFromPopover = props['data-popover-inject'];
94468
94730
  var tempOpen = open; // Hide tooltip when there is no title
94469
94731
 
94470
- if (!('open' in props) && isNoTitle()) {
94732
+ if (!('open' in props) && !('visible' in props) && isNoTitle()) {
94471
94733
  tempOpen = false;
94472
94734
  }
94473
94735
 
@@ -94504,6 +94766,7 @@ var tooltip_Tooltip = /*#__PURE__*/external_React_.forwardRef(function (props, r
94504
94766
  overlay: getOverlay(),
94505
94767
  visible: tempOpen,
94506
94768
  onVisibleChange: onOpenChange,
94769
+ afterVisibleChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange,
94507
94770
  onPopupAlign: onPopupAlign,
94508
94771
  overlayInnerStyle: formattedOverlayInnerStyle,
94509
94772
  arrowContent: /*#__PURE__*/external_React_.createElement("span", {
@@ -95120,15 +95383,15 @@ var getGroupRadioStyle = function getGroupRadioStyle(token) {
95120
95383
 
95121
95384
 
95122
95385
  var getRadioBasicStyle = function getRadioBasicStyle(token) {
95123
- var _$concat2, _extends3;
95386
+ var _$concat3, _extends3;
95124
95387
 
95125
95388
  var componentCls = token.componentCls,
95126
95389
  radioWrapperMarginRight = token.radioWrapperMarginRight,
95127
- radioDotColor = token.radioDotColor,
95390
+ radioCheckedColor = token.radioCheckedColor,
95128
95391
  radioTop = token.radioTop,
95129
- radioFocusShadow = token.radioFocusShadow,
95130
95392
  radioSize = token.radioSize,
95131
95393
  motionDurationSlow = token.motionDurationSlow,
95394
+ motionDurationFast = token.motionDurationFast,
95132
95395
  motionEaseInOut = token.motionEaseInOut,
95133
95396
  motionEaseInOutCirc = token.motionEaseInOutCirc,
95134
95397
  radioButtonBg = token.radioButtonBg,
@@ -95139,7 +95402,9 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95139
95402
  colorTextDisabled = token.colorTextDisabled,
95140
95403
  paddingXS = token.paddingXS,
95141
95404
  radioDotDisabledColor = token.radioDotDisabledColor,
95142
- controlLineType = token.controlLineType;
95405
+ controlLineType = token.controlLineType,
95406
+ radioDotDisabledSize = token.radioDotDisabledSize,
95407
+ wireframe = token.wireframe;
95143
95408
  var radioInnerPrefixCls = "".concat(componentCls, "-inner");
95144
95409
  return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), extends_extends(extends_extends({}, style_resetComponent(token)), (_extends3 = {
95145
95410
  position: 'relative',
@@ -95167,7 +95432,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95167
95432
  insetInlineStart: 0,
95168
95433
  width: '100%',
95169
95434
  height: '100%',
95170
- border: "".concat(controlLineWidth, "px ").concat(controlLineType, " ").concat(radioDotColor),
95435
+ border: "".concat(controlLineWidth, "px ").concat(controlLineType, " ").concat(radioCheckedColor),
95171
95436
  borderRadius: '50%',
95172
95437
  visibility: 'hidden',
95173
95438
  animationName: antRadioEffect,
@@ -95181,14 +95446,13 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95181
95446
  display: 'inline-block',
95182
95447
  outline: 'none',
95183
95448
  cursor: 'pointer'
95184
- })), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-wrapper:hover &,\n &:hover ").concat(radioInnerPrefixCls, ",\n &-input:focus + ").concat(radioInnerPrefixCls), {
95185
- borderColor: radioDotColor
95186
- }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-input:focus + ").concat(radioInnerPrefixCls), {
95187
- boxShadow: radioFocusShadow
95188
- }), defineProperty_defineProperty(_extends3, "".concat(componentCls, ":hover::after, ").concat(componentCls, "-wrapper:hover &::after"), {
95449
+ })), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-wrapper:hover &,\n &:hover ").concat(radioInnerPrefixCls), {
95450
+ borderColor: radioCheckedColor
95451
+ }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-input:focus-visible + ").concat(radioInnerPrefixCls), extends_extends({}, genFocusOutline(token))), defineProperty_defineProperty(_extends3, "".concat(componentCls, ":hover::after, ").concat(componentCls, "-wrapper:hover &::after"), {
95189
95452
  visibility: 'visible'
95190
95453
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-inner"), {
95191
95454
  '&::after': {
95455
+ boxSizing: 'border-box',
95192
95456
  position: 'absolute',
95193
95457
  insetBlockStart: '50%',
95194
95458
  insetInlineStart: '50%',
@@ -95197,7 +95461,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95197
95461
  height: radioSize,
95198
95462
  marginBlockStart: radioSize / -2,
95199
95463
  marginInlineStart: radioSize / -2,
95200
- backgroundColor: radioDotColor,
95464
+ backgroundColor: wireframe ? radioCheckedColor : radioButtonBg,
95201
95465
  borderBlockStart: 0,
95202
95466
  borderInlineStart: 0,
95203
95467
  borderRadius: radioSize,
@@ -95206,6 +95470,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95206
95470
  transition: "all ".concat(motionDurationSlow, " ").concat(motionEaseInOutCirc),
95207
95471
  content: '""'
95208
95472
  },
95473
+ boxSizing: 'border-box',
95209
95474
  position: 'relative',
95210
95475
  insetBlockStart: 0,
95211
95476
  insetInlineStart: 0,
@@ -95217,7 +95482,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95217
95482
  borderStyle: 'solid',
95218
95483
  borderWidth: controlLineWidth,
95219
95484
  borderRadius: '50%',
95220
- transition: "all ".concat(motionDurationSlow)
95485
+ transition: "all ".concat(motionDurationFast)
95221
95486
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-input"), {
95222
95487
  position: 'absolute',
95223
95488
  insetBlockStart: 0,
@@ -95228,27 +95493,32 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95228
95493
  cursor: 'pointer',
95229
95494
  opacity: 0
95230
95495
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-checked"), defineProperty_defineProperty({}, radioInnerPrefixCls, {
95231
- borderColor: radioDotColor,
95496
+ borderColor: radioCheckedColor,
95497
+ backgroundColor: wireframe ? radioButtonBg : radioCheckedColor,
95232
95498
  '&::after': {
95233
95499
  transform: "scale(".concat(radioDotSize / radioSize, ")"),
95234
95500
  opacity: 1,
95235
95501
  transition: "all ".concat(motionDurationSlow, " ").concat(motionEaseInOutCirc)
95236
95502
  }
95237
- })), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-disabled"), (_$concat2 = {
95503
+ })), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-disabled"), (_$concat3 = {
95238
95504
  cursor: 'not-allowed'
95239
- }, defineProperty_defineProperty(_$concat2, radioInnerPrefixCls, {
95505
+ }, defineProperty_defineProperty(_$concat3, radioInnerPrefixCls, {
95240
95506
  backgroundColor: colorBgContainerDisabled,
95241
95507
  borderColor: colorBorder,
95242
95508
  cursor: 'not-allowed',
95243
95509
  '&::after': {
95244
95510
  backgroundColor: radioDotDisabledColor
95245
95511
  }
95246
- }), defineProperty_defineProperty(_$concat2, '&-input', {
95512
+ }), defineProperty_defineProperty(_$concat3, '&-input', {
95247
95513
  cursor: 'not-allowed'
95248
- }), defineProperty_defineProperty(_$concat2, "".concat(componentCls, "-disabled + span"), {
95514
+ }), defineProperty_defineProperty(_$concat3, "".concat(componentCls, "-disabled + span"), {
95249
95515
  color: colorTextDisabled,
95250
95516
  cursor: 'not-allowed'
95251
- }), _$concat2)), defineProperty_defineProperty(_extends3, "span".concat(componentCls, " + *"), {
95517
+ }), defineProperty_defineProperty(_$concat3, "&".concat(componentCls, "-checked"), defineProperty_defineProperty({}, radioInnerPrefixCls, {
95518
+ '&::after': {
95519
+ transform: "scale(".concat(radioDotDisabledSize / radioSize, ")")
95520
+ }
95521
+ })), _$concat3)), defineProperty_defineProperty(_extends3, "span".concat(componentCls, " + *"), {
95252
95522
  paddingInlineStart: paddingXS,
95253
95523
  paddingInlineEnd: paddingXS
95254
95524
  }), _extends3)));
@@ -95256,7 +95526,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
95256
95526
 
95257
95527
 
95258
95528
  var getRadioButtonStyle = function getRadioButtonStyle(token) {
95259
- var _$concat3;
95529
+ var _$concat4;
95260
95530
 
95261
95531
  var radioButtonColor = token.radioButtonColor,
95262
95532
  controlHeight = token.controlHeight,
@@ -95265,6 +95535,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95265
95535
  controlLineType = token.controlLineType,
95266
95536
  colorBorder = token.colorBorder,
95267
95537
  motionDurationSlow = token.motionDurationSlow,
95538
+ motionDurationFast = token.motionDurationFast,
95268
95539
  radioButtonPaddingHorizontal = token.radioButtonPaddingHorizontal,
95269
95540
  fontSize = token.fontSize,
95270
95541
  radioButtonBg = token.radioButtonBg,
@@ -95275,8 +95546,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95275
95546
  controlRadius = token.controlRadius,
95276
95547
  controlRadiusSM = token.controlRadiusSM,
95277
95548
  controlRadiusLG = token.controlRadiusLG,
95278
- radioDotColor = token.radioDotColor,
95279
- radioButtonFocusShadow = token.radioButtonFocusShadow,
95549
+ radioCheckedColor = token.radioCheckedColor,
95280
95550
  radioButtonCheckedBg = token.radioButtonCheckedBg,
95281
95551
  radioButtonHoverColor = token.radioButtonHoverColor,
95282
95552
  radioButtonActiveColor = token.radioButtonActiveColor,
@@ -95285,7 +95555,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95285
95555
  colorBgContainerDisabled = token.colorBgContainerDisabled,
95286
95556
  radioDisabledButtonCheckedColor = token.radioDisabledButtonCheckedColor,
95287
95557
  radioDisabledButtonCheckedBg = token.radioDisabledButtonCheckedBg;
95288
- return defineProperty_defineProperty({}, "".concat(componentCls, "-button-wrapper"), (_$concat3 = {
95558
+ return defineProperty_defineProperty({}, "".concat(componentCls, "-button-wrapper"), (_$concat4 = {
95289
95559
  position: 'relative',
95290
95560
  display: 'inline-block',
95291
95561
  height: controlHeight,
@@ -95303,18 +95573,18 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95303
95573
  borderInlineStartWidth: 0,
95304
95574
  borderInlineEndWidth: controlLineWidth,
95305
95575
  cursor: 'pointer',
95306
- transition: ["color ".concat(motionDurationSlow), "background ".concat(motionDurationSlow), "border-color ".concat(motionDurationSlow), "box-shadow ".concat(motionDurationSlow)].join(','),
95576
+ transition: ["color ".concat(motionDurationFast), "background ".concat(motionDurationFast), "border-color ".concat(motionDurationFast), "box-shadow ".concat(motionDurationFast)].join(','),
95307
95577
  a: {
95308
95578
  color: radioButtonColor
95309
95579
  }
95310
- }, defineProperty_defineProperty(_$concat3, "> ".concat(componentCls, "-button"), {
95580
+ }, defineProperty_defineProperty(_$concat4, "> ".concat(componentCls, "-button"), {
95311
95581
  position: 'absolute',
95312
95582
  insetBlockStart: 0,
95313
95583
  insetInlineStart: 0,
95314
95584
  zIndex: -1,
95315
95585
  width: '100%',
95316
95586
  height: '100%'
95317
- }), defineProperty_defineProperty(_$concat3, '&:not(:first-child)', {
95587
+ }), defineProperty_defineProperty(_$concat4, '&:not(:first-child)', {
95318
95588
  '&::before': {
95319
95589
  position: 'absolute',
95320
95590
  insetBlockStart: -controlLineWidth,
@@ -95329,16 +95599,16 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95329
95599
  transition: "background-color ".concat(motionDurationSlow),
95330
95600
  content: '""'
95331
95601
  }
95332
- }), defineProperty_defineProperty(_$concat3, '&:first-child', {
95602
+ }), defineProperty_defineProperty(_$concat4, '&:first-child', {
95333
95603
  borderInlineStart: "".concat(controlLineWidth, "px ").concat(controlLineType, " ").concat(colorBorder),
95334
95604
  borderStartStartRadius: controlRadius,
95335
95605
  borderEndStartRadius: controlRadius
95336
- }), defineProperty_defineProperty(_$concat3, '&:last-child', {
95606
+ }), defineProperty_defineProperty(_$concat4, '&:last-child', {
95337
95607
  borderStartEndRadius: controlRadius,
95338
95608
  borderEndEndRadius: controlRadius
95339
- }), defineProperty_defineProperty(_$concat3, '&:first-child:last-child', {
95609
+ }), defineProperty_defineProperty(_$concat4, '&:first-child:last-child', {
95340
95610
  borderRadius: controlRadius
95341
- }), defineProperty_defineProperty(_$concat3, "".concat(componentCls, "-group-large &"), {
95611
+ }), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-large &"), {
95342
95612
  height: controlHeightLG,
95343
95613
  fontSize: fontSizeLG,
95344
95614
  lineHeight: "".concat(controlHeightLG - controlLineWidth * 2, "px"),
@@ -95350,7 +95620,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95350
95620
  borderStartEndRadius: controlRadiusLG,
95351
95621
  borderEndEndRadius: controlRadiusLG
95352
95622
  }
95353
- }), defineProperty_defineProperty(_$concat3, "".concat(componentCls, "-group-small &"), {
95623
+ }), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-small &"), {
95354
95624
  height: controlHeightSM,
95355
95625
  paddingInline: paddingXS - controlLineWidth,
95356
95626
  paddingBlock: 0,
@@ -95363,26 +95633,24 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95363
95633
  borderStartEndRadius: controlRadiusSM,
95364
95634
  borderEndEndRadius: controlRadiusSM
95365
95635
  }
95366
- }), defineProperty_defineProperty(_$concat3, '&:hover', {
95636
+ }), defineProperty_defineProperty(_$concat4, '&:hover', {
95367
95637
  position: 'relative',
95368
- color: radioDotColor
95369
- }), defineProperty_defineProperty(_$concat3, '&:focus-within', {
95370
- boxShadow: radioButtonFocusShadow
95371
- }), defineProperty_defineProperty(_$concat3, "".concat(componentCls, "-inner, input[type='checkbox'], input[type='radio']"), {
95638
+ color: radioCheckedColor
95639
+ }), defineProperty_defineProperty(_$concat4, '&:has(:focus-visible)', extends_extends({}, genFocusOutline(token))), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-inner, input[type='checkbox'], input[type='radio']"), {
95372
95640
  width: 0,
95373
95641
  height: 0,
95374
95642
  opacity: 0,
95375
95643
  pointerEvents: 'none'
95376
- }), defineProperty_defineProperty(_$concat3, '&-checked:not(&-disabled)', {
95644
+ }), defineProperty_defineProperty(_$concat4, '&-checked:not(&-disabled)', {
95377
95645
  zIndex: 1,
95378
- color: radioDotColor,
95646
+ color: radioCheckedColor,
95379
95647
  background: radioButtonCheckedBg,
95380
- borderColor: radioDotColor,
95648
+ borderColor: radioCheckedColor,
95381
95649
  '&::before': {
95382
- backgroundColor: radioDotColor
95650
+ backgroundColor: radioCheckedColor
95383
95651
  },
95384
95652
  '&:first-child': {
95385
- borderColor: radioDotColor
95653
+ borderColor: radioCheckedColor
95386
95654
  },
95387
95655
  '&:hover': {
95388
95656
  color: radioButtonHoverColor,
@@ -95397,14 +95665,11 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95397
95665
  '&::before': {
95398
95666
  backgroundColor: radioButtonActiveColor
95399
95667
  }
95400
- },
95401
- '&:focus-within': {
95402
- boxShadow: radioButtonFocusShadow
95403
95668
  }
95404
- }), defineProperty_defineProperty(_$concat3, "".concat(componentCls, "-group-solid &-checked:not(&-disabled)"), {
95669
+ }), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-solid &-checked:not(&-disabled)"), {
95405
95670
  color: radioSolidCheckedColor,
95406
- background: radioDotColor,
95407
- borderColor: radioDotColor,
95671
+ background: radioCheckedColor,
95672
+ borderColor: radioCheckedColor,
95408
95673
  '&:hover': {
95409
95674
  color: radioSolidCheckedColor,
95410
95675
  background: radioButtonHoverColor,
@@ -95414,11 +95679,8 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95414
95679
  color: radioSolidCheckedColor,
95415
95680
  background: radioButtonActiveColor,
95416
95681
  borderColor: radioButtonActiveColor
95417
- },
95418
- '&:focus-within': {
95419
- boxShadow: radioButtonFocusShadow
95420
95682
  }
95421
- }), defineProperty_defineProperty(_$concat3, '&-disabled', {
95683
+ }), defineProperty_defineProperty(_$concat4, '&-disabled', {
95422
95684
  color: colorTextDisabled,
95423
95685
  backgroundColor: colorBgContainerDisabled,
95424
95686
  borderColor: colorBorder,
@@ -95428,12 +95690,12 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95428
95690
  backgroundColor: colorBgContainerDisabled,
95429
95691
  borderColor: colorBorder
95430
95692
  }
95431
- }), defineProperty_defineProperty(_$concat3, '&-disabled&-checked', {
95693
+ }), defineProperty_defineProperty(_$concat4, '&-disabled&-checked', {
95432
95694
  color: radioDisabledButtonCheckedColor,
95433
95695
  backgroundColor: radioDisabledButtonCheckedBg,
95434
95696
  borderColor: colorBorder,
95435
95697
  boxShadow: 'none'
95436
- }), _$concat3));
95698
+ }), _$concat4));
95437
95699
  }; // ============================== Export ==============================
95438
95700
 
95439
95701
 
@@ -95441,7 +95703,6 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95441
95703
  var padding = token.padding,
95442
95704
  controlLineWidth = token.controlLineWidth,
95443
95705
  colorBgContainerDisabled = token.colorBgContainerDisabled,
95444
- paddingXXS = token.paddingXXS,
95445
95706
  colorTextDisabled = token.colorTextDisabled,
95446
95707
  colorBgContainer = token.colorBgContainer,
95447
95708
  fontSize = token.fontSize,
@@ -95453,14 +95714,17 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95453
95714
  colorText = token.colorText,
95454
95715
  colorPrimary = token.colorPrimary,
95455
95716
  marginXS = token.marginXS,
95456
- controlOutlineWidth = token.controlOutlineWidth; // Radio
95717
+ controlOutlineWidth = token.controlOutlineWidth,
95718
+ paddingXXS = token.paddingXXS,
95719
+ wireframe = token.wireframe; // Radio
95457
95720
 
95458
95721
  var radioFocusShadow = "0 0 0 ".concat(controlOutlineWidth, "px ").concat(controlOutline);
95459
95722
  var radioButtonFocusShadow = radioFocusShadow;
95460
95723
  var radioSize = fontSizeLG;
95461
95724
  var radioTop = (Math.round(fontSize * lineHeight) - radioSize) / 2;
95462
- var radioDotSize = radioSize - paddingXXS * 2;
95463
- var radioDotColor = colorPrimary; // Radio buttons
95725
+ var radioDotDisabledSize = radioSize - paddingXXS * 2;
95726
+ var radioDotSize = wireframe ? radioDotDisabledSize : radioSize - (paddingXXS + controlLineWidth) * 2;
95727
+ var radioCheckedColor = colorPrimary; // Radio buttons
95464
95728
 
95465
95729
  var radioButtonColor = colorText;
95466
95730
  var radioButtonHoverColor = colorPrimaryHover;
@@ -95474,7 +95738,8 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
95474
95738
  radioSize: radioSize,
95475
95739
  radioTop: radioTop,
95476
95740
  radioDotSize: radioDotSize,
95477
- radioDotColor: radioDotColor,
95741
+ radioDotDisabledSize: radioDotDisabledSize,
95742
+ radioCheckedColor: radioCheckedColor,
95478
95743
  radioDotDisabledColor: colorTextDisabled,
95479
95744
  radioSolidCheckedColor: colorBgContainer,
95480
95745
  radioButtonBg: colorBgContainer,
@@ -97248,17 +97513,17 @@ function BaseProList(props) {
97248
97513
  /* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
97249
97514
  ;// CONCATENATED MODULE: ./packages/components/src/version.ts
97250
97515
  var version_version = {
97251
- "@ant-design/pro-card": "2.0.5",
97252
- "@ant-design/pro-components": "2.3.7",
97253
- "@ant-design/pro-descriptions": "2.0.6",
97254
- "@ant-design/pro-field": "2.0.6",
97255
- "@ant-design/pro-form": "2.0.6",
97256
- "@ant-design/pro-layout": "7.0.5",
97257
- "@ant-design/pro-list": "2.0.6",
97516
+ "@ant-design/pro-card": "2.0.7",
97517
+ "@ant-design/pro-components": "2.3.9",
97518
+ "@ant-design/pro-descriptions": "2.0.8",
97519
+ "@ant-design/pro-field": "2.1.1",
97520
+ "@ant-design/pro-form": "2.1.1",
97521
+ "@ant-design/pro-layout": "7.0.7",
97522
+ "@ant-design/pro-list": "2.0.8",
97258
97523
  "@ant-design/pro-provider": "2.0.3",
97259
97524
  "@ant-design/pro-skeleton": "2.0.3",
97260
- "@ant-design/pro-table": "3.0.6",
97261
- "@ant-design/pro-utils": "2.0.4"
97525
+ "@ant-design/pro-table": "3.0.8",
97526
+ "@ant-design/pro-utils": "2.1.1"
97262
97527
  };
97263
97528
  ;// CONCATENATED MODULE: ./packages/components/src/index.tsx
97264
97529