@ant-design/pro-components 2.3.27 → 2.3.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20101,6 +20101,7 @@ __webpack_require__.d(__webpack_exports__, {
20101
20101
  "omitBoolean": function() { return /* reexport */ omitBoolean; },
20102
20102
  "omitUndefined": function() { return /* reexport */ omitUndefined; },
20103
20103
  "omitUndefinedAndEmptyArr": function() { return /* reexport */ omitUndefinedAndEmptyArr; },
20104
+ "openVisibleCompatible": function() { return /* reexport */ openVisibleCompatible; },
20104
20105
  "operationUnit": function() { return /* reexport */ operationUnit; },
20105
20106
  "parseValueToDay": function() { return /* reexport */ parseValueToDay; },
20106
20107
  "pickProFormItemProps": function() { return /* reexport */ pickProFormItemProps; },
@@ -20130,7 +20131,6 @@ __webpack_require__.d(__webpack_exports__, {
20130
20131
  "useMountMergeState": function() { return /* reexport */ useMergedState/* default */.Z; },
20131
20132
  "usePrevious": function() { return /* reexport */ usePrevious; },
20132
20133
  "useRefFunction": function() { return /* reexport */ useRefFunction; },
20133
- "useSafeState": function() { return /* reexport */ useSafeState; },
20134
20134
  "useStyle": function() { return /* reexport */ useStyle; },
20135
20135
  "useToken": function() { return /* reexport */ useStyle_useToken; },
20136
20136
  "version": function() { return /* reexport */ version_version; },
@@ -20633,7 +20633,7 @@ var unitlessKeys = {
20633
20633
  strokeWidth: 1
20634
20634
  };
20635
20635
  /* harmony default export */ var unitless_browser_esm = (unitlessKeys);
20636
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/node_modules/stylis/src/Enum.js
20636
+ ;// CONCATENATED MODULE: ./node_modules/stylis/src/Enum.js
20637
20637
  var MS = '-ms-';
20638
20638
  var MOZ = '-moz-';
20639
20639
  var WEBKIT = '-webkit-';
@@ -20652,7 +20652,7 @@ var KEYFRAMES = '@keyframes';
20652
20652
  var FONT_FACE = '@font-face';
20653
20653
  var COUNTER_STYLE = '@counter-style';
20654
20654
  var FONT_FEATURE_VALUES = '@font-feature-values';
20655
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/node_modules/stylis/src/Utility.js
20655
+ ;// CONCATENATED MODULE: ./node_modules/stylis/src/Utility.js
20656
20656
  /**
20657
20657
  * @param {number}
20658
20658
  * @return {number}
@@ -20768,7 +20768,7 @@ function Utility_append(value, array) {
20768
20768
  function combine(array, callback) {
20769
20769
  return array.map(callback).join('');
20770
20770
  }
20771
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/node_modules/stylis/src/Serializer.js
20771
+ ;// CONCATENATED MODULE: ./node_modules/stylis/src/Serializer.js
20772
20772
 
20773
20773
 
20774
20774
 
@@ -20807,7 +20807,7 @@ function stringify(element, index, children, callback) {
20807
20807
  }
20808
20808
  return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
20809
20809
  }
20810
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/node_modules/stylis/src/Tokenizer.js
20810
+ ;// CONCATENATED MODULE: ./node_modules/stylis/src/Tokenizer.js
20811
20811
 
20812
20812
  var line = 1;
20813
20813
  var column = 1;
@@ -21071,7 +21071,7 @@ function identifier(index) {
21071
21071
  }
21072
21072
  return slice(index, position);
21073
21073
  }
21074
- ;// CONCATENATED MODULE: ./node_modules/@ant-design/cssinjs/node_modules/stylis/src/Parser.js
21074
+ ;// CONCATENATED MODULE: ./node_modules/stylis/src/Parser.js
21075
21075
 
21076
21076
 
21077
21077
 
@@ -22326,11 +22326,17 @@ var localeValues = {
22326
22326
  cancelText: '取消',
22327
22327
  justOkText: '知道了'
22328
22328
  },
22329
+ Tour: {
22330
+ Next: '下一步',
22331
+ Previous: '上一步',
22332
+ Finish: '结束导览'
22333
+ },
22329
22334
  Popconfirm: {
22330
22335
  cancelText: '取消',
22331
22336
  okText: '确定'
22332
22337
  },
22333
22338
  Transfer: {
22339
+ titles: ['', ''],
22334
22340
  searchPlaceholder: '请输入搜索内容',
22335
22341
  itemUnit: '项',
22336
22342
  itemsUnit: '项',
@@ -25733,7 +25739,7 @@ var defaultTheme = {
25733
25739
  motionEaseOutBack: 'cubic-bezier(0.12, 0.4, 0.29, 1.46)',
25734
25740
  motionEaseInQuint: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
25735
25741
  motionEaseOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',
25736
- radiusBase: 6,
25742
+ borderRadius: 6,
25737
25743
  sizeUnit: 4,
25738
25744
  sizeBaseStep: 4,
25739
25745
  sizePopupArrow: 16,
@@ -27289,6 +27295,49 @@ var FieldLabelFunction = function FieldLabelFunction(props, ref) {
27289
27295
  }));
27290
27296
  };
27291
27297
  var FieldLabel = /*#__PURE__*/external_React_default().forwardRef(FieldLabelFunction);
27298
+ ;// CONCATENATED MODULE: ./packages/utils/es/components/FilterDropdown/style.js
27299
+
27300
+
27301
+
27302
+ var FilterDropdown_style_genProStyle = function genProStyle(token) {
27303
+ var _ref;
27304
+ return _ref = {}, defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-label"), {
27305
+ cursor: 'pointer'
27306
+ }), defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-overlay"), {
27307
+ minWidth: '200px',
27308
+ marginBlockStart: '4px',
27309
+ backgroundColor: token.colorBgContainer,
27310
+ boxShadow: token.boxShadowCard,
27311
+ '*': {
27312
+ fontFamily: token.fontFamily,
27313
+ boxSizing: 'border-box'
27314
+ }
27315
+ }), defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-content"), {
27316
+ paddingBlock: 16,
27317
+ paddingInline: 16
27318
+ }), _ref;
27319
+ };
27320
+ function FilterDropdown_style_useStyle(prefixCls) {
27321
+ return useStyle('FilterDropdown', function (token) {
27322
+ var proToken = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, token), {}, {
27323
+ componentCls: ".".concat(prefixCls)
27324
+ });
27325
+ return [FilterDropdown_style_genProStyle(proToken)];
27326
+ });
27327
+ }
27328
+ ;// CONCATENATED MODULE: ./packages/utils/es/omitUndefined/index.js
27329
+ var omitUndefined = function omitUndefined(obj) {
27330
+ var newObj = {};
27331
+ Object.keys(obj || {}).forEach(function (key) {
27332
+ if (obj[key] !== undefined) {
27333
+ newObj[key] = obj[key];
27334
+ }
27335
+ });
27336
+ if (Object.keys(newObj).length < 1) {
27337
+ return undefined;
27338
+ }
27339
+ return newObj;
27340
+ };
27292
27341
  ;// CONCATENATED MODULE: ./packages/utils/es/compareVersions/index.js
27293
27342
 
27294
27343
 
@@ -27345,14 +27394,9 @@ var compareSegments = function compareSegments(a, b) {
27345
27394
  * @returns RegExpMatchArray
27346
27395
  */
27347
27396
  var validateAndParse = function validateAndParse(version) {
27348
- if (typeof version !== 'string') {
27349
- throw new TypeError('Invalid argument expected string');
27350
- }
27397
+ var _match$shift;
27351
27398
  var match = version.match(semver);
27352
- if (!match) {
27353
- throw new Error("Invalid argument not valid semver ('".concat(version, "' received)"));
27354
- }
27355
- match.shift();
27399
+ match === null || match === void 0 ? void 0 : (_match$shift = match.shift) === null || _match$shift === void 0 ? void 0 : _match$shift.call(match);
27356
27400
  return match;
27357
27401
  };
27358
27402
  /**
@@ -27372,44 +27416,27 @@ var compareVersions = function compareVersions(v1, v2) {
27372
27416
  // validate numbers
27373
27417
  var r = compareSegments(n1, n2);
27374
27418
  if (r !== 0) return r;
27375
- // validate pre-release
27376
- if (p1 && p2) {
27377
- return compareSegments(p1.split('.'), p2.split('.'));
27378
- } else if (p1 || p2) {
27419
+ if (p1 || p2) {
27379
27420
  return p1 ? -1 : 1;
27380
27421
  }
27381
27422
  return 0;
27382
27423
  };
27383
- ;// CONCATENATED MODULE: ./packages/utils/es/components/FilterDropdown/style.js
27424
+ ;// CONCATENATED MODULE: ./packages/utils/es/compareVersions/openVisibleCompatible.js
27384
27425
 
27385
27426
 
27386
27427
 
27387
- var FilterDropdown_style_genProStyle = function genProStyle(token) {
27388
- var _ref;
27389
- return _ref = {}, defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-label"), {
27390
- cursor: 'pointer'
27391
- }), defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-overlay"), {
27392
- minWidth: '200px',
27393
- marginBlockStart: '4px',
27394
- backgroundColor: token.colorBgContainer,
27395
- boxShadow: token.boxShadowCard,
27396
- '*': {
27397
- fontFamily: token.fontFamily,
27398
- boxSizing: 'border-box'
27399
- }
27400
- }), defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-content"), {
27401
- paddingBlock: 16,
27402
- paddingInline: 16
27403
- }), _ref;
27428
+ var openVisibleCompatible = function openVisibleCompatible(open, onOpenChange) {
27429
+ var _process, _process$env;
27430
+ var props = compareVersions(((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ANTD_VERSION) || external_antd_.version, '4.23.0') > -1 ? {
27431
+ open: open,
27432
+ onOpenChange: onOpenChange
27433
+ } : {
27434
+ visible: open,
27435
+ onVisibleChange: onOpenChange
27436
+ };
27437
+ return omitUndefined(props);
27404
27438
  };
27405
- function FilterDropdown_style_useStyle(prefixCls) {
27406
- return useStyle('FilterDropdown', function (token) {
27407
- var proToken = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, token), {}, {
27408
- componentCls: ".".concat(prefixCls)
27409
- });
27410
- return [FilterDropdown_style_genProStyle(proToken)];
27411
- });
27412
- }
27439
+
27413
27440
  ;// CONCATENATED MODULE: ./packages/utils/es/components/FilterDropdown/index.js
27414
27441
 
27415
27442
 
@@ -27436,13 +27463,7 @@ var FilterDropdown = function FilterDropdown(props) {
27436
27463
  var _useStyle = FilterDropdown_style_useStyle(prefixCls),
27437
27464
  wrapSSR = _useStyle.wrapSSR,
27438
27465
  hashId = _useStyle.hashId;
27439
- var dropdownOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
27440
- open: open || visible || false,
27441
- onOpenChange: onOpenChange || onVisibleChange
27442
- } : {
27443
- visible: open || visible || false,
27444
- onVisibleChange: onOpenChange || onVisibleChange
27445
- };
27466
+ var dropdownOpenProps = openVisibleCompatible(open || visible || false, onOpenChange || onVisibleChange);
27446
27467
  return wrapSSR((0,jsx_runtime.jsx)(external_antd_.Dropdown, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
27447
27468
  disabled: disabled,
27448
27469
  placement: placement,
@@ -27576,7 +27597,6 @@ var InlineErrorFormItem_excluded = ["label", "rules", "name", "children", "popov
27576
27597
 
27577
27598
 
27578
27599
 
27579
-
27580
27600
  var FIX_INLINE_STYLE = {
27581
27601
  marginBlockStart: -5,
27582
27602
  marginBlockEnd: -5,
@@ -27608,23 +27628,14 @@ var InlineErrorFormItemPopover = function InlineErrorFormItemPopover(_ref) {
27608
27628
  setErrorList(inputProps.errors);
27609
27629
  }
27610
27630
  }, [inputProps.errors, inputProps.validateStatus]);
27611
- var drawerOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
27612
- open: errorStringList.length < 1 ? false : open,
27613
- onOpenChange: function onOpenChange(changeOpen) {
27614
- if (changeOpen === open) return;
27615
- setOpen(changeOpen);
27616
- }
27617
- } : {
27618
- visible: errorStringList.length < 1 ? false : open,
27619
- onVisibleChange: function onVisibleChange(changeOpen) {
27620
- if (changeOpen === open) return;
27621
- setOpen(changeOpen);
27622
- }
27623
- };
27631
+ var popoverOpenProps = openVisibleCompatible(errorStringList.length < 1 ? false : open, function (changeOpen) {
27632
+ if (changeOpen === open) return;
27633
+ setOpen(changeOpen);
27634
+ });
27624
27635
  return (0,jsx_runtime.jsx)(external_antd_.Popover, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
27625
27636
  trigger: (popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.trigger) || 'focus',
27626
27637
  placement: (popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.placement) || 'topRight'
27627
- }, drawerOpenProps), {}, {
27638
+ }, popoverOpenProps), {}, {
27628
27639
  getPopupContainer: popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.getPopupContainer,
27629
27640
  getTooltipContainer: popoverProps === null || popoverProps === void 0 ? void 0 : popoverProps.getTooltipContainer,
27630
27641
  content: wrapSSR((0,jsx_runtime.jsxs)("div", {
@@ -28038,6 +28049,13 @@ var isNeedTranText = function isNeedTranText(item) {
28038
28049
  }
28039
28050
  return false;
28040
28051
  };
28052
+ var getEllipsis = function getEllipsis(item) {
28053
+ var _item$ellipsis;
28054
+ if (((_item$ellipsis = item.ellipsis) === null || _item$ellipsis === void 0 ? void 0 : _item$ellipsis.showTitle) === false) {
28055
+ return false;
28056
+ }
28057
+ return item.ellipsis;
28058
+ };
28041
28059
  /**
28042
28060
  * 生成 Copyable 或 Ellipsis 的 dom
28043
28061
  *
@@ -28053,7 +28071,7 @@ var genCopyable = function genCopyable(dom, item, text) {
28053
28071
  } : undefined;
28054
28072
  /** 有些 valueType 需要设置copy的为string */
28055
28073
  var needTranText = isNeedTranText(item);
28056
- var ellipsis = item.ellipsis && text ? {
28074
+ var ellipsis = getEllipsis(item) && text ? {
28057
28075
  tooltip:
28058
28076
  // 支持一下 tooltip 的关闭
28059
28077
  (item === null || item === void 0 ? void 0 : item.tooltip) !== false && needTranText ? (0,jsx_runtime.jsx)("div", {
@@ -28112,6 +28130,9 @@ function _regeneratorRuntime() {
28112
28130
  var exports = {},
28113
28131
  Op = Object.prototype,
28114
28132
  hasOwn = Op.hasOwnProperty,
28133
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
28134
+ obj[key] = desc.value;
28135
+ },
28115
28136
  $Symbol = "function" == typeof Symbol ? Symbol : {},
28116
28137
  iteratorSymbol = $Symbol.iterator || "@@iterator",
28117
28138
  asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
@@ -28135,40 +28156,9 @@ function _regeneratorRuntime() {
28135
28156
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
28136
28157
  generator = Object.create(protoGenerator.prototype),
28137
28158
  context = new Context(tryLocsList || []);
28138
- return generator._invoke = function (innerFn, self, context) {
28139
- var state = "suspendedStart";
28140
- return function (method, arg) {
28141
- if ("executing" === state) throw new Error("Generator is already running");
28142
- if ("completed" === state) {
28143
- if ("throw" === method) throw arg;
28144
- return doneResult();
28145
- }
28146
- for (context.method = method, context.arg = arg;;) {
28147
- var delegate = context.delegate;
28148
- if (delegate) {
28149
- var delegateResult = maybeInvokeDelegate(delegate, context);
28150
- if (delegateResult) {
28151
- if (delegateResult === ContinueSentinel) continue;
28152
- return delegateResult;
28153
- }
28154
- }
28155
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
28156
- if ("suspendedStart" === state) throw state = "completed", context.arg;
28157
- context.dispatchException(context.arg);
28158
- } else "return" === context.method && context.abrupt("return", context.arg);
28159
- state = "executing";
28160
- var record = tryCatch(innerFn, self, context);
28161
- if ("normal" === record.type) {
28162
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
28163
- return {
28164
- value: record.arg,
28165
- done: context.done
28166
- };
28167
- }
28168
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
28169
- }
28170
- };
28171
- }(innerFn, self, context), generator;
28159
+ return defineProperty(generator, "_invoke", {
28160
+ value: makeInvokeMethod(innerFn, self, context)
28161
+ }), generator;
28172
28162
  }
28173
28163
  function tryCatch(fn, obj, arg) {
28174
28164
  try {
@@ -28222,13 +28212,49 @@ function _regeneratorRuntime() {
28222
28212
  reject(record.arg);
28223
28213
  }
28224
28214
  var previousPromise;
28225
- this._invoke = function (method, arg) {
28226
- function callInvokeWithMethodAndArg() {
28227
- return new PromiseImpl(function (resolve, reject) {
28228
- invoke(method, arg, resolve, reject);
28229
- });
28215
+ defineProperty(this, "_invoke", {
28216
+ value: function value(method, arg) {
28217
+ function callInvokeWithMethodAndArg() {
28218
+ return new PromiseImpl(function (resolve, reject) {
28219
+ invoke(method, arg, resolve, reject);
28220
+ });
28221
+ }
28222
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
28223
+ }
28224
+ });
28225
+ }
28226
+ function makeInvokeMethod(innerFn, self, context) {
28227
+ var state = "suspendedStart";
28228
+ return function (method, arg) {
28229
+ if ("executing" === state) throw new Error("Generator is already running");
28230
+ if ("completed" === state) {
28231
+ if ("throw" === method) throw arg;
28232
+ return doneResult();
28233
+ }
28234
+ for (context.method = method, context.arg = arg;;) {
28235
+ var delegate = context.delegate;
28236
+ if (delegate) {
28237
+ var delegateResult = maybeInvokeDelegate(delegate, context);
28238
+ if (delegateResult) {
28239
+ if (delegateResult === ContinueSentinel) continue;
28240
+ return delegateResult;
28241
+ }
28242
+ }
28243
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
28244
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
28245
+ context.dispatchException(context.arg);
28246
+ } else "return" === context.method && context.abrupt("return", context.arg);
28247
+ state = "executing";
28248
+ var record = tryCatch(innerFn, self, context);
28249
+ if ("normal" === record.type) {
28250
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
28251
+ return {
28252
+ value: record.arg,
28253
+ done: context.done
28254
+ };
28255
+ }
28256
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
28230
28257
  }
28231
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
28232
28258
  };
28233
28259
  }
28234
28260
  function maybeInvokeDelegate(delegate, context) {
@@ -28286,7 +28312,13 @@ function _regeneratorRuntime() {
28286
28312
  done: !0
28287
28313
  };
28288
28314
  }
28289
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
28315
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
28316
+ value: GeneratorFunctionPrototype,
28317
+ configurable: !0
28318
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
28319
+ value: GeneratorFunction,
28320
+ configurable: !0
28321
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
28290
28322
  var ctor = "function" == typeof genFun && genFun.constructor;
28291
28323
  return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
28292
28324
  }, exports.mark = function (genFun) {
@@ -28307,8 +28339,9 @@ function _regeneratorRuntime() {
28307
28339
  return this;
28308
28340
  }), define(Gp, "toString", function () {
28309
28341
  return "[object Generator]";
28310
- }), exports.keys = function (object) {
28311
- var keys = [];
28342
+ }), exports.keys = function (val) {
28343
+ var object = Object(val),
28344
+ keys = [];
28312
28345
  for (var key in object) {
28313
28346
  keys.push(key);
28314
28347
  }
@@ -28913,19 +28946,6 @@ var omitBoolean = function omitBoolean(obj) {
28913
28946
  }
28914
28947
  return undefined;
28915
28948
  };
28916
- ;// CONCATENATED MODULE: ./packages/utils/es/omitUndefined/index.js
28917
- var omitUndefined = function omitUndefined(obj) {
28918
- var newObj = {};
28919
- Object.keys(obj || {}).forEach(function (key) {
28920
- if (obj[key] !== undefined) {
28921
- newObj[key] = obj[key];
28922
- }
28923
- });
28924
- if (Object.keys(newObj).length < 1) {
28925
- return undefined;
28926
- }
28927
- return newObj;
28928
- };
28929
28949
  ;// CONCATENATED MODULE: ./packages/utils/es/omitUndefinedAndEmptyArr/index.js
28930
28950
  var omitUndefinedAndEmptyArr = function omitUndefinedAndEmptyArr(obj) {
28931
28951
  var newObj = {};
@@ -29312,7 +29332,7 @@ function editableRowByKey(keyProps, action) {
29312
29332
  *
29313
29333
  * @param ActionRenderConfig
29314
29334
  */
29315
- function SaveEditableAction(_ref) {
29335
+ function SaveEditableAction(_ref, ref) {
29316
29336
  var recordKey = _ref.recordKey,
29317
29337
  onSave = _ref.onSave,
29318
29338
  row = _ref.row,
@@ -29326,59 +29346,85 @@ function SaveEditableAction(_ref) {
29326
29346
  _useMountMergeState2 = slicedToArray_slicedToArray(_useMountMergeState, 2),
29327
29347
  loading = _useMountMergeState2[0],
29328
29348
  setLoading = _useMountMergeState2[1];
29349
+ var save = useRefFunction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29350
+ var _context$getFieldForm, isMapEditor, namePath, fields, _recordKey, recordKeyPath, curValue, data, res;
29351
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
29352
+ while (1) {
29353
+ switch (_context.prev = _context.next) {
29354
+ case 0:
29355
+ _context.prev = 0;
29356
+ isMapEditor = editorType === 'Map'; // 为了兼容类型为 array 的 dataIndex,当 recordKey 是一个数组时,用于获取表单值的 key 只取第一项,
29357
+ // 从表单中获取回来之后,再根据 namepath 获取具体的某个字段并设置
29358
+ namePath = [tableName, Array.isArray(recordKey) ? recordKey[0] : recordKey].map(function (key) {
29359
+ return key === null || key === void 0 ? void 0 : key.toString();
29360
+ }).flat(1).filter(Boolean);
29361
+ setLoading(true);
29362
+ // @ts-expect-error
29363
+ _context.next = 6;
29364
+ return form.validateFields(namePath, {
29365
+ recursive: true
29366
+ });
29367
+ case 6:
29368
+ fields = ((_context$getFieldForm = context.getFieldFormatValue) === null || _context$getFieldForm === void 0 ? void 0 : _context$getFieldForm.call(context, namePath)) || form.getFieldValue(namePath); // 处理 dataIndex 为数组的情况
29369
+ if (Array.isArray(recordKey) && recordKey.length > 1) {
29370
+ // 获取 namepath
29371
+ _recordKey = _toArray(recordKey), recordKeyPath = _recordKey.slice(1); // 将目标值获取出来并设置到 fields 当中
29372
+ curValue = (0,utils_get["default"])(fields, recordKeyPath);
29373
+ (0,set/* default */.Z)(fields, recordKeyPath, curValue);
29374
+ }
29375
+ data = isMapEditor ? (0,set/* default */.Z)({}, namePath, fields, true) : fields; // 获取数据并保存
29376
+ _context.next = 11;
29377
+ return onSave === null || onSave === void 0 ? void 0 : onSave(recordKey,
29378
+ // 如果是 map 模式,fields 就是一个值,所以需要set 到对象中
29379
+ // 数据模式 fields 是一个对象,所以不需要
29380
+ merge_merge({}, row, data), row, newLineConfig);
29381
+ case 11:
29382
+ res = _context.sent;
29383
+ setLoading(false);
29384
+ return _context.abrupt("return", res);
29385
+ case 16:
29386
+ _context.prev = 16;
29387
+ _context.t0 = _context["catch"](0);
29388
+ // eslint-disable-next-line no-console
29389
+ console.log(_context.t0);
29390
+ setLoading(false);
29391
+ throw _context.t0;
29392
+ case 21:
29393
+ case "end":
29394
+ return _context.stop();
29395
+ }
29396
+ }
29397
+ }, _callee, null, [[0, 16]]);
29398
+ })));
29399
+ (0,external_React_.useImperativeHandle)(ref, function () {
29400
+ return {
29401
+ save: save
29402
+ };
29403
+ });
29329
29404
  return (0,jsx_runtime.jsxs)("a", {
29330
29405
  onClick: function () {
29331
- var _onClick = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
29332
- var _context$getFieldForm, isMapEditor, namePath, fields, _recordKey, recordKeyPath, curValue, data, res;
29333
- return _regeneratorRuntime().wrap(function _callee$(_context) {
29406
+ var _onClick = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(e) {
29407
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29334
29408
  while (1) {
29335
- switch (_context.prev = _context.next) {
29409
+ switch (_context2.prev = _context2.next) {
29336
29410
  case 0:
29337
29411
  e.stopPropagation();
29338
29412
  e.preventDefault();
29339
- _context.prev = 2;
29340
- isMapEditor = editorType === 'Map'; // 为了兼容类型为 array 的 dataIndex,当 recordKey 是一个数组时,用于获取表单值的 key 只取第一项,
29341
- // 从表单中获取回来之后,再根据 namepath 获取具体的某个字段并设置
29342
- namePath = [tableName, Array.isArray(recordKey) ? recordKey[0] : recordKey].map(function (key) {
29343
- return key === null || key === void 0 ? void 0 : key.toString();
29344
- }).flat(1).filter(Boolean);
29345
- setLoading(true);
29346
- // @ts-expect-error
29347
- _context.next = 8;
29348
- return form.validateFields(namePath, {
29349
- recursive: true
29350
- });
29351
- case 8:
29352
- fields = ((_context$getFieldForm = context.getFieldFormatValue) === null || _context$getFieldForm === void 0 ? void 0 : _context$getFieldForm.call(context, namePath)) || form.getFieldValue(namePath); // 处理 dataIndex 为数组的情况
29353
- if (Array.isArray(recordKey) && recordKey.length > 1) {
29354
- // 获取 namepath
29355
- _recordKey = _toArray(recordKey), recordKeyPath = _recordKey.slice(1); // 将目标值获取出来并设置到 fields 当中
29356
- curValue = (0,utils_get["default"])(fields, recordKeyPath);
29357
- (0,set/* default */.Z)(fields, recordKeyPath, curValue);
29358
- }
29359
- data = isMapEditor ? (0,set/* default */.Z)({}, namePath, fields, true) : fields; // 获取数据并保存
29360
- _context.next = 13;
29361
- return onSave === null || onSave === void 0 ? void 0 : onSave(recordKey,
29362
- // 如果是 map 模式,fields 就是一个值,所以需要set 到对象中
29363
- // 数据模式 fields 是一个对象,所以不需要
29364
- merge_merge({}, row, data), row, newLineConfig);
29365
- case 13:
29366
- res = _context.sent;
29367
- setLoading(false);
29368
- return _context.abrupt("return", res);
29369
- case 18:
29370
- _context.prev = 18;
29371
- _context.t0 = _context["catch"](2);
29372
- // eslint-disable-next-line no-console
29373
- console.log(_context.t0);
29374
- setLoading(false);
29375
- return _context.abrupt("return", null);
29376
- case 23:
29413
+ _context2.prev = 2;
29414
+ _context2.next = 5;
29415
+ return save();
29416
+ case 5:
29417
+ _context2.next = 9;
29418
+ break;
29419
+ case 7:
29420
+ _context2.prev = 7;
29421
+ _context2.t0 = _context2["catch"](2);
29422
+ case 9:
29377
29423
  case "end":
29378
- return _context.stop();
29424
+ return _context2.stop();
29379
29425
  }
29380
29426
  }
29381
- }, _callee, null, [[2, 18]]);
29427
+ }, _callee2, null, [[2, 7]]);
29382
29428
  }));
29383
29429
  function onClick(_x) {
29384
29430
  return _onClick.apply(this, arguments);
@@ -29397,45 +29443,45 @@ function SaveEditableAction(_ref) {
29397
29443
  *
29398
29444
  * @param ActionRenderConfig
29399
29445
  */
29400
- var DeleteEditableAction = function DeleteEditableAction(_ref2) {
29401
- var recordKey = _ref2.recordKey,
29402
- onDelete = _ref2.onDelete,
29403
- row = _ref2.row,
29404
- children = _ref2.children,
29405
- deletePopconfirmMessage = _ref2.deletePopconfirmMessage;
29446
+ var DeleteEditableAction = function DeleteEditableAction(_ref3) {
29447
+ var recordKey = _ref3.recordKey,
29448
+ onDelete = _ref3.onDelete,
29449
+ row = _ref3.row,
29450
+ children = _ref3.children,
29451
+ deletePopconfirmMessage = _ref3.deletePopconfirmMessage;
29406
29452
  var _useMountMergeState3 = (0,useMergedState/* default */.Z)(function () {
29407
29453
  return false;
29408
29454
  }),
29409
29455
  _useMountMergeState4 = slicedToArray_slicedToArray(_useMountMergeState3, 2),
29410
29456
  loading = _useMountMergeState4[0],
29411
29457
  setLoading = _useMountMergeState4[1];
29412
- var _onConfirm = useRefFunction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
29458
+ var _onConfirm = useRefFunction( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
29413
29459
  var res;
29414
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29460
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
29415
29461
  while (1) {
29416
- switch (_context2.prev = _context2.next) {
29462
+ switch (_context3.prev = _context3.next) {
29417
29463
  case 0:
29418
- _context2.prev = 0;
29464
+ _context3.prev = 0;
29419
29465
  setLoading(true);
29420
- _context2.next = 4;
29466
+ _context3.next = 4;
29421
29467
  return onDelete === null || onDelete === void 0 ? void 0 : onDelete(recordKey, row);
29422
29468
  case 4:
29423
- res = _context2.sent;
29469
+ res = _context3.sent;
29424
29470
  setLoading(false);
29425
- return _context2.abrupt("return", res);
29471
+ return _context3.abrupt("return", res);
29426
29472
  case 9:
29427
- _context2.prev = 9;
29428
- _context2.t0 = _context2["catch"](0);
29473
+ _context3.prev = 9;
29474
+ _context3.t0 = _context3["catch"](0);
29429
29475
  // eslint-disable-next-line no-console
29430
- console.log(_context2.t0);
29476
+ console.log(_context3.t0);
29431
29477
  setLoading(false);
29432
- return _context2.abrupt("return", null);
29478
+ return _context3.abrupt("return", null);
29433
29479
  case 14:
29434
29480
  case "end":
29435
- return _context2.stop();
29481
+ return _context3.stop();
29436
29482
  }
29437
29483
  }
29438
- }, _callee2, null, [[0, 9]]);
29484
+ }, _callee3, null, [[0, 9]]);
29439
29485
  })));
29440
29486
  return children !== false ? (0,jsx_runtime.jsx)(external_antd_.Popconfirm, {
29441
29487
  title: deletePopconfirmMessage,
@@ -29464,12 +29510,12 @@ var CancelEditableAction = function CancelEditableAction(props) {
29464
29510
  var form = external_antd_.Form.useFormInstance();
29465
29511
  return (0,jsx_runtime.jsx)("a", {
29466
29512
  onClick: function () {
29467
- var _onClick2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(e) {
29513
+ var _onClick2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(e) {
29468
29514
  var _context$getFieldForm2;
29469
29515
  var isMapEditor, namePath, fields, record, res;
29470
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
29516
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
29471
29517
  while (1) {
29472
- switch (_context3.prev = _context3.next) {
29518
+ switch (_context4.prev = _context4.next) {
29473
29519
  case 0:
29474
29520
  e.stopPropagation();
29475
29521
  e.preventDefault();
@@ -29477,20 +29523,20 @@ var CancelEditableAction = function CancelEditableAction(props) {
29477
29523
  namePath = [tableName, recordKey].flat(1).filter(Boolean);
29478
29524
  fields = ((_context$getFieldForm2 = context.getFieldFormatValue) === null || _context$getFieldForm2 === void 0 ? void 0 : _context$getFieldForm2.call(context, namePath)) || form.getFieldValue(namePath);
29479
29525
  record = isMapEditor ? (0,set/* default */.Z)({}, namePath, fields) : fields;
29480
- _context3.next = 8;
29526
+ _context4.next = 8;
29481
29527
  return onCancel === null || onCancel === void 0 ? void 0 : onCancel(recordKey, record, row, newLineConfig);
29482
29528
  case 8:
29483
- res = _context3.sent;
29529
+ res = _context4.sent;
29484
29530
  cancelEditable(recordKey);
29485
29531
  /** 充值为默认值,不然编辑的行会丢掉 */
29486
29532
  form.setFieldsValue(defineProperty_defineProperty({}, recordKey, isMapEditor ? (0,utils_get["default"])(row, namePath) : row));
29487
- return _context3.abrupt("return", res);
29533
+ return _context4.abrupt("return", res);
29488
29534
  case 12:
29489
29535
  case "end":
29490
- return _context3.stop();
29536
+ return _context4.stop();
29491
29537
  }
29492
29538
  }
29493
- }, _callee3);
29539
+ }, _callee4);
29494
29540
  }));
29495
29541
  function onClick(_x2) {
29496
29542
  return _onClick2.apply(this, arguments);
@@ -29505,15 +29551,23 @@ function defaultActionRender(row, config) {
29505
29551
  newLineConfig = config.newLineConfig,
29506
29552
  saveText = config.saveText,
29507
29553
  deleteText = config.deleteText;
29508
- return [(0,jsx_runtime.jsx)(SaveEditableAction, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29509
- row: row,
29510
- children: saveText
29511
- }), 'save' + recordKey), (newLineConfig === null || newLineConfig === void 0 ? void 0 : newLineConfig.options.recordKey) !== recordKey ? (0,jsx_runtime.jsx)(DeleteEditableAction, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29512
- row: row,
29513
- children: deleteText
29514
- }), 'delete' + recordKey) : null, (0,jsx_runtime.jsx)(CancelEditableAction, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29515
- row: row
29516
- }), 'cancel' + recordKey)];
29554
+ var SaveEditableActionRef = /*#__PURE__*/(0,external_React_.forwardRef)(SaveEditableAction);
29555
+ var saveRef = /*#__PURE__*/(0,external_React_.createRef)();
29556
+ return {
29557
+ save: (0,jsx_runtime.jsx)(SaveEditableActionRef, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29558
+ row: row,
29559
+ ref: saveRef,
29560
+ children: saveText
29561
+ }), 'save' + recordKey),
29562
+ saveRef: saveRef,
29563
+ delete: (newLineConfig === null || newLineConfig === void 0 ? void 0 : newLineConfig.options.recordKey) !== recordKey ? (0,jsx_runtime.jsx)(DeleteEditableAction, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29564
+ row: row,
29565
+ children: deleteText
29566
+ }), 'delete' + recordKey) : undefined,
29567
+ cancel: (0,jsx_runtime.jsx)(CancelEditableAction, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), {}, {
29568
+ row: row
29569
+ }), 'cancel' + recordKey)
29570
+ };
29517
29571
  }
29518
29572
  /**
29519
29573
  * 一个方便的hooks 用于维护编辑的状态
@@ -29618,21 +29672,21 @@ function useEditableArray(props) {
29618
29672
  * @param recordKey
29619
29673
  */
29620
29674
  var cancelEditable = useRefFunction( /*#__PURE__*/function () {
29621
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(recordKey, needReTry) {
29675
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(recordKey, needReTry) {
29622
29676
  var relayKey, key;
29623
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
29677
+ return _regeneratorRuntime().wrap(function _callee5$(_context5) {
29624
29678
  while (1) {
29625
- switch (_context4.prev = _context4.next) {
29679
+ switch (_context5.prev = _context5.next) {
29626
29680
  case 0:
29627
29681
  relayKey = recordKeyToString(recordKey).toString();
29628
29682
  key = dataSourceKeyIndexMapRef.current.get(relayKey);
29629
29683
  /** 如果没找到key,转化一下再去找 */
29630
29684
  if (!(!editableKeysSet.has(relayKey) && key && (needReTry !== null && needReTry !== void 0 ? needReTry : true) && props.tableName)) {
29631
- _context4.next = 5;
29685
+ _context5.next = 5;
29632
29686
  break;
29633
29687
  }
29634
29688
  cancelEditable(key, false);
29635
- return _context4.abrupt("return");
29689
+ return _context5.abrupt("return");
29636
29690
  case 5:
29637
29691
  /** 如果这个是 new Line 直接删除 */
29638
29692
  if (newLineRecordCache && newLineRecordCache.options.recordKey === recordKey) {
@@ -29641,39 +29695,39 @@ function useEditableArray(props) {
29641
29695
  editableKeysSet.delete(relayKey);
29642
29696
  editableKeysSet.delete(recordKeyToString(recordKey));
29643
29697
  setEditableRowKeys(Array.from(editableKeysSet));
29644
- return _context4.abrupt("return", true);
29698
+ return _context5.abrupt("return", true);
29645
29699
  case 10:
29646
29700
  case "end":
29647
- return _context4.stop();
29701
+ return _context5.stop();
29648
29702
  }
29649
29703
  }
29650
- }, _callee4);
29704
+ }, _callee5);
29651
29705
  }));
29652
29706
  return function (_x3, _x4) {
29653
- return _ref4.apply(this, arguments);
29707
+ return _ref5.apply(this, arguments);
29654
29708
  };
29655
29709
  }());
29656
- var propsOnValuesChange = useDebounceFn( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
29710
+ var propsOnValuesChange = useDebounceFn( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
29657
29711
  var _props$onValuesChange;
29658
29712
  var _len,
29659
29713
  rest,
29660
29714
  _key,
29661
- _args5 = arguments;
29662
- return _regeneratorRuntime().wrap(function _callee5$(_context5) {
29715
+ _args6 = arguments;
29716
+ return _regeneratorRuntime().wrap(function _callee6$(_context6) {
29663
29717
  while (1) {
29664
- switch (_context5.prev = _context5.next) {
29718
+ switch (_context6.prev = _context6.next) {
29665
29719
  case 0:
29666
- for (_len = _args5.length, rest = new Array(_len), _key = 0; _key < _len; _key++) {
29667
- rest[_key] = _args5[_key];
29720
+ for (_len = _args6.length, rest = new Array(_len), _key = 0; _key < _len; _key++) {
29721
+ rest[_key] = _args6[_key];
29668
29722
  }
29669
29723
  //@ts-ignore
29670
29724
  (_props$onValuesChange = props.onValuesChange) === null || _props$onValuesChange === void 0 ? void 0 : _props$onValuesChange.call.apply(_props$onValuesChange, [props].concat(rest));
29671
29725
  case 2:
29672
29726
  case "end":
29673
- return _context5.stop();
29727
+ return _context6.stop();
29674
29728
  }
29675
29729
  }
29676
- }, _callee5);
29730
+ }, _callee6);
29677
29731
  })), 64);
29678
29732
  var onValuesChange = useRefFunction(function (value, values) {
29679
29733
  var _Object$keys$pop;
@@ -29714,6 +29768,67 @@ function useEditableArray(props) {
29714
29768
  }) : newLineRecordData;
29715
29769
  propsOnValuesChange.run(editRow || newLineRecordData, dataSource);
29716
29770
  });
29771
+ var saveRefsMap = (0,external_React_.useRef)(new Map());
29772
+ (0,external_React_.useEffect)(function () {
29773
+ // 确保只保留编辑状态的,其它的都删除掉
29774
+ saveRefsMap.current.forEach(function (ref, key) {
29775
+ if (!editableKeysSet.has(key)) {
29776
+ saveRefsMap.current.delete(key);
29777
+ }
29778
+ });
29779
+ }, [saveRefsMap, editableKeysSet]);
29780
+ /**
29781
+ * 保存编辑行
29782
+ *
29783
+ * @param recordKey
29784
+ * @param needReTry
29785
+ */
29786
+ var saveEditable = useRefFunction( /*#__PURE__*/function () {
29787
+ var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(recordKey, needReTry) {
29788
+ var relayKey, key, saveRef, _saveRef$current;
29789
+ return _regeneratorRuntime().wrap(function _callee7$(_context7) {
29790
+ while (1) {
29791
+ switch (_context7.prev = _context7.next) {
29792
+ case 0:
29793
+ relayKey = recordKeyToString(recordKey);
29794
+ key = dataSourceKeyIndexMapRef.current.get(recordKey.toString());
29795
+ /** 如果没找到key,转化一下再去找 */
29796
+ if (!(!editableKeysSet.has(relayKey) && key && (needReTry !== null && needReTry !== void 0 ? needReTry : true) && props.tableName)) {
29797
+ _context7.next = 6;
29798
+ break;
29799
+ }
29800
+ _context7.next = 5;
29801
+ return saveEditable(key, false);
29802
+ case 5:
29803
+ return _context7.abrupt("return", _context7.sent);
29804
+ case 6:
29805
+ saveRef = saveRefsMap.current.get(relayKey) || saveRefsMap.current.get(relayKey.toString());
29806
+ _context7.prev = 7;
29807
+ _context7.next = 10;
29808
+ return saveRef === null || saveRef === void 0 ? void 0 : (_saveRef$current = saveRef.current) === null || _saveRef$current === void 0 ? void 0 : _saveRef$current.save();
29809
+ case 10:
29810
+ _context7.next = 15;
29811
+ break;
29812
+ case 12:
29813
+ _context7.prev = 12;
29814
+ _context7.t0 = _context7["catch"](7);
29815
+ return _context7.abrupt("return", false);
29816
+ case 15:
29817
+ editableKeysSet.delete(relayKey);
29818
+ editableKeysSet.delete(relayKey.toString());
29819
+ setEditableRowKeys(Array.from(editableKeysSet));
29820
+ return _context7.abrupt("return", true);
29821
+ case 19:
29822
+ case "end":
29823
+ return _context7.stop();
29824
+ }
29825
+ }
29826
+ }, _callee7, null, [[7, 12]]);
29827
+ }));
29828
+ return function (_x5, _x6) {
29829
+ return _ref7.apply(this, arguments);
29830
+ };
29831
+ }());
29717
29832
  /**
29718
29833
  * 同时只能支持一行,取消之后数据消息,不会触发 dataSource
29719
29834
  *
@@ -29775,22 +29890,22 @@ function useEditableArray(props) {
29775
29890
  var deleteText = (props === null || props === void 0 ? void 0 : props.deleteText) || intl.getMessage('editableTable.action.delete', '删除');
29776
29891
  var cancelText = (props === null || props === void 0 ? void 0 : props.cancelText) || intl.getMessage('editableTable.action.cancel', '取消');
29777
29892
  var actionSaveRef = useRefFunction( /*#__PURE__*/function () {
29778
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(recordKey, editRow, originRow, newLine) {
29893
+ var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(recordKey, editRow, originRow, newLine) {
29779
29894
  var _props$onSave, _recordKeyToString4, _options$parentKey;
29780
- var _ref7, options, res, actionProps;
29781
- return _regeneratorRuntime().wrap(function _callee6$(_context6) {
29895
+ var _ref9, options, res, actionProps;
29896
+ return _regeneratorRuntime().wrap(function _callee8$(_context8) {
29782
29897
  while (1) {
29783
- switch (_context6.prev = _context6.next) {
29898
+ switch (_context8.prev = _context8.next) {
29784
29899
  case 0:
29785
- _ref7 = newLine || newLineRecordRef.current || {}, options = _ref7.options;
29786
- _context6.next = 3;
29900
+ _ref9 = newLine || newLineRecordRef.current || {}, options = _ref9.options;
29901
+ _context8.next = 3;
29787
29902
  return props === null || props === void 0 ? void 0 : (_props$onSave = props.onSave) === null || _props$onSave === void 0 ? void 0 : _props$onSave.call(props, recordKey, editRow, originRow, newLine);
29788
29903
  case 3:
29789
- res = _context6.sent;
29904
+ res = _context8.sent;
29790
29905
  // 保存时解除编辑模式
29791
29906
  cancelEditable(recordKey);
29792
29907
  if (!(!(options === null || options === void 0 ? void 0 : options.parentKey) && (options === null || options === void 0 ? void 0 : options.recordKey) === recordKey)) {
29793
- _context6.next = 8;
29908
+ _context8.next = 8;
29794
29909
  break;
29795
29910
  }
29796
29911
  if ((options === null || options === void 0 ? void 0 : options.position) === 'top') {
@@ -29798,7 +29913,7 @@ function useEditableArray(props) {
29798
29913
  } else {
29799
29914
  props.setDataSource([].concat(toConsumableArray_toConsumableArray(props.dataSource), [editRow]));
29800
29915
  }
29801
- return _context6.abrupt("return", res);
29916
+ return _context8.abrupt("return", res);
29802
29917
  case 8:
29803
29918
  actionProps = {
29804
29919
  data: props.dataSource,
@@ -29810,25 +29925,25 @@ function useEditableArray(props) {
29810
29925
  childrenColumnName: props.childrenColumnName || 'children'
29811
29926
  };
29812
29927
  props.setDataSource(editableRowByKey(actionProps, (options === null || options === void 0 ? void 0 : options.position) === 'top' ? 'top' : 'update'));
29813
- return _context6.abrupt("return", res);
29928
+ return _context8.abrupt("return", res);
29814
29929
  case 11:
29815
29930
  case "end":
29816
- return _context6.stop();
29931
+ return _context8.stop();
29817
29932
  }
29818
29933
  }
29819
- }, _callee6);
29934
+ }, _callee8);
29820
29935
  }));
29821
- return function (_x5, _x6, _x7, _x8) {
29822
- return _ref6.apply(this, arguments);
29936
+ return function (_x7, _x8, _x9, _x10) {
29937
+ return _ref8.apply(this, arguments);
29823
29938
  };
29824
29939
  }());
29825
29940
  var actionDeleteRef = useRefFunction( /*#__PURE__*/function () {
29826
- var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(recordKey, editRow) {
29941
+ var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(recordKey, editRow) {
29827
29942
  var _props$onDelete;
29828
29943
  var actionProps, res;
29829
- return _regeneratorRuntime().wrap(function _callee7$(_context7) {
29944
+ return _regeneratorRuntime().wrap(function _callee9$(_context9) {
29830
29945
  while (1) {
29831
- switch (_context7.prev = _context7.next) {
29946
+ switch (_context9.prev = _context9.next) {
29832
29947
  case 0:
29833
29948
  actionProps = {
29834
29949
  data: props.dataSource,
@@ -29837,48 +29952,48 @@ function useEditableArray(props) {
29837
29952
  key: recordKey,
29838
29953
  childrenColumnName: props.childrenColumnName || 'children'
29839
29954
  };
29840
- _context7.next = 3;
29955
+ _context9.next = 3;
29841
29956
  return props === null || props === void 0 ? void 0 : (_props$onDelete = props.onDelete) === null || _props$onDelete === void 0 ? void 0 : _props$onDelete.call(props, recordKey, editRow);
29842
29957
  case 3:
29843
- res = _context7.sent;
29844
- _context7.next = 6;
29958
+ res = _context9.sent;
29959
+ _context9.next = 6;
29845
29960
  return cancelEditable(recordKey);
29846
29961
  case 6:
29847
29962
  props.setDataSource(editableRowByKey(actionProps, 'delete'));
29848
- return _context7.abrupt("return", res);
29963
+ return _context9.abrupt("return", res);
29849
29964
  case 8:
29850
29965
  case "end":
29851
- return _context7.stop();
29966
+ return _context9.stop();
29852
29967
  }
29853
29968
  }
29854
- }, _callee7);
29969
+ }, _callee9);
29855
29970
  }));
29856
- return function (_x9, _x10) {
29857
- return _ref8.apply(this, arguments);
29971
+ return function (_x11, _x12) {
29972
+ return _ref10.apply(this, arguments);
29858
29973
  };
29859
29974
  }());
29860
29975
  var actionCancelRef = useRefFunction( /*#__PURE__*/function () {
29861
- var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(recordKey, editRow, originRow, newLine) {
29976
+ var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(recordKey, editRow, originRow, newLine) {
29862
29977
  var _props$onCancel;
29863
29978
  var res;
29864
- return _regeneratorRuntime().wrap(function _callee8$(_context8) {
29979
+ return _regeneratorRuntime().wrap(function _callee10$(_context10) {
29865
29980
  while (1) {
29866
- switch (_context8.prev = _context8.next) {
29981
+ switch (_context10.prev = _context10.next) {
29867
29982
  case 0:
29868
- _context8.next = 2;
29983
+ _context10.next = 2;
29869
29984
  return props === null || props === void 0 ? void 0 : (_props$onCancel = props.onCancel) === null || _props$onCancel === void 0 ? void 0 : _props$onCancel.call(props, recordKey, editRow, originRow, newLine);
29870
29985
  case 2:
29871
- res = _context8.sent;
29872
- return _context8.abrupt("return", res);
29986
+ res = _context10.sent;
29987
+ return _context10.abrupt("return", res);
29873
29988
  case 4:
29874
29989
  case "end":
29875
- return _context8.stop();
29990
+ return _context10.stop();
29876
29991
  }
29877
29992
  }
29878
- }, _callee8);
29993
+ }, _callee10);
29879
29994
  }));
29880
- return function (_x11, _x12, _x13, _x14) {
29881
- return _ref9.apply(this, arguments);
29995
+ return function (_x13, _x14, _x15, _x16) {
29996
+ return _ref11.apply(this, arguments);
29882
29997
  };
29883
29998
  }());
29884
29999
  var actionRender = function actionRender(row) {
@@ -29900,13 +30015,19 @@ function useEditableArray(props) {
29900
30015
  setEditableRowKeys: setEditableRowKeys,
29901
30016
  deletePopconfirmMessage: props.deletePopconfirmMessage || "".concat(intl.getMessage('deleteThisLine', '删除此行'), "?")
29902
30017
  };
29903
- var defaultDoms = defaultActionRender(row, config);
30018
+ var renderResult = defaultActionRender(row, config);
30019
+ // 缓存一下saveRef
30020
+ if (props.tableName) {
30021
+ saveRefsMap.current.set(dataSourceKeyIndexMapRef.current.get(recordKeyToString(key)) || recordKeyToString(key), renderResult.saveRef);
30022
+ } else {
30023
+ saveRefsMap.current.set(recordKeyToString(key), renderResult.saveRef);
30024
+ }
29904
30025
  if (props.actionRender) return props.actionRender(row, config, {
29905
- save: defaultDoms[0],
29906
- delete: defaultDoms[1],
29907
- cancel: defaultDoms[2]
30026
+ save: renderResult.save,
30027
+ delete: renderResult.delete,
30028
+ cancel: renderResult.cancel
29908
30029
  });
29909
- return defaultDoms;
30030
+ return [renderResult.save, renderResult.delete, renderResult.cancel];
29910
30031
  };
29911
30032
  return {
29912
30033
  editableKeys: editableKeys,
@@ -29916,6 +30037,7 @@ function useEditableArray(props) {
29916
30037
  startEditable: startEditable,
29917
30038
  cancelEditable: cancelEditable,
29918
30039
  addEditRecord: addEditRecord,
30040
+ saveEditable: saveEditable,
29919
30041
  newLineRecord: newLineRecordCache,
29920
30042
  preEditableKeys: editableKeysRef,
29921
30043
  onValuesChange: onValuesChange
@@ -30093,15 +30215,15 @@ function useEditableMap(props) {
30093
30215
  deletePopconfirmMessage: "".concat(intl.getMessage('deleteThisLine', '删除此行'), "?"),
30094
30216
  editorType: 'Map'
30095
30217
  }, config);
30096
- var defaultDoms = defaultActionRender(props.dataSource, renderConfig);
30218
+ var renderResult = defaultActionRender(props.dataSource, renderConfig);
30097
30219
  if (props.actionRender) {
30098
30220
  return props.actionRender(props.dataSource, renderConfig, {
30099
- save: defaultDoms[0],
30100
- delete: defaultDoms[1],
30101
- cancel: defaultDoms[2]
30221
+ save: renderResult.save,
30222
+ delete: renderResult.delete,
30223
+ cancel: renderResult.cancel
30102
30224
  });
30103
30225
  }
30104
- return defaultDoms;
30226
+ return [renderResult.save, renderResult.delete, renderResult.cancel];
30105
30227
  }, [editableKeys && editableKeys.join(','), props.dataSource]);
30106
30228
  return {
30107
30229
  editableKeys: editableKeys,
@@ -30112,34 +30234,6 @@ function useEditableMap(props) {
30112
30234
  cancelEditable: cancelEditable
30113
30235
  };
30114
30236
  }
30115
- ;// CONCATENATED MODULE: ./packages/utils/es/useSafeState/index.js
30116
-
30117
-
30118
- /**
30119
- * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed.
30120
- * We do not make this auto is to avoid real memory leak.
30121
- * Developer should confirm it's safe to ignore themselves.
30122
- */
30123
- function useSafeState(defaultValue) {
30124
- var destroyRef = external_React_.useRef(false);
30125
- var _React$useState = external_React_.useState(defaultValue),
30126
- _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
30127
- value = _React$useState2[0],
30128
- setValue = _React$useState2[1];
30129
- external_React_.useEffect(function () {
30130
- destroyRef.current = false;
30131
- return function () {
30132
- destroyRef.current = true;
30133
- };
30134
- }, []);
30135
- function safeSetState(updater, ignoreDestroy) {
30136
- if (ignoreDestroy && destroyRef.current) {
30137
- return;
30138
- }
30139
- setValue(updater);
30140
- }
30141
- return [value, safeSetState];
30142
- }
30143
30237
  ;// CONCATENATED MODULE: ./packages/utils/es/index.js
30144
30238
 
30145
30239
 
@@ -30461,7 +30555,7 @@ var CheckCard_style_genProStyle = function genProStyle(token) {
30461
30555
  lineHeight: token.lineHeight,
30462
30556
  verticalAlign: 'top',
30463
30557
  backgroundColor: token.colorBgBase,
30464
- borderRadius: token.radiusBase,
30558
+ borderRadius: token.borderRadius,
30465
30559
  cursor: 'pointer',
30466
30560
  transition: "all 0.3s",
30467
30561
  '&:last-child': {
@@ -30529,7 +30623,7 @@ var CheckCard_style_genProStyle = function genProStyle(token) {
30529
30623
  width: '100%',
30530
30624
  height: '100%',
30531
30625
  overflow: 'hidden',
30532
- borderRadius: token.radiusBase
30626
+ borderRadius: token.borderRadius
30533
30627
  }
30534
30628
  }), defineProperty_defineProperty(_token$componentCls, '&-content', {
30535
30629
  display: 'flex',
@@ -31078,11 +31172,10 @@ var ProCardActions = function ProCardActions(props) {
31078
31172
  })
31079
31173
  }));
31080
31174
  }
31081
- if (actions) return wrapSSR((0,jsx_runtime.jsx)("ul", {
31175
+ return wrapSSR((0,jsx_runtime.jsx)("ul", {
31082
31176
  className: classnames_default()("".concat(prefixCls, "-actions"), hashId),
31083
31177
  children: actions
31084
31178
  }));
31085
- return null;
31086
31179
  };
31087
31180
  /* harmony default export */ var Actions = (ProCardActions);
31088
31181
  ;// CONCATENATED MODULE: ./packages/card/es/components/Loading/style.js
@@ -31109,7 +31202,7 @@ var Loading_style_genProStyle = function genProStyle(token) {
31109
31202
  marginBlock: '4px',
31110
31203
  background: "linear-gradient(90deg, rgba(54, 61, 64, 0.2), rgba(54, 61, 64, 0.4), rgba(54, 61, 64, 0.2))",
31111
31204
  backgroundSize: '600% 600%',
31112
- borderRadius: token.radiusBase,
31205
+ borderRadius: token.borderRadius,
31113
31206
  animationName: 'card-loading',
31114
31207
  animationDuration: '1.4s',
31115
31208
  animationTimingFunction: 'ease',
@@ -31329,7 +31422,7 @@ var genProCardStyle = function genProCardStyle(token) {
31329
31422
  paddingBlock: 0,
31330
31423
  paddingInline: 0,
31331
31424
  backgroundColor: token.colorBgContainer,
31332
- borderRadius: token.radiusBase
31425
+ borderRadius: token.borderRadius
31333
31426
  }, resetComponent === null || resetComponent === void 0 ? void 0 : resetComponent(token)), {}, (_objectSpread2 = {
31334
31427
  '*': {
31335
31428
  boxSizing: 'border-box',
@@ -31752,10 +31845,10 @@ var Card = /*#__PURE__*/external_React_default().forwardRef(function (props, ref
31752
31845
  className: bodyCls,
31753
31846
  style: cardBodyStyle,
31754
31847
  children: loading ? loadingDOM : childrenModified
31755
- }), (0,jsx_runtime.jsx)(Actions, {
31848
+ }), actions ? (0,jsx_runtime.jsx)(Actions, {
31756
31849
  actions: actions,
31757
31850
  prefixCls: prefixCls
31758
- })]
31851
+ }) : null]
31759
31852
  })));
31760
31853
  });
31761
31854
  /* harmony default export */ var components_Card = (Card);
@@ -37063,12 +37156,12 @@ var useFieldFetchData = function useFieldFetchData(props) {
37063
37156
  var _ref5, _props$debounceTime, _props$fieldProps3, _props$fieldProps6;
37064
37157
  var cacheForSwr = props.cacheForSwr,
37065
37158
  fieldProps = props.fieldProps;
37066
- var _useSafeState = useSafeState(props.defaultKeyWords),
37067
- _useSafeState2 = slicedToArray_slicedToArray(_useSafeState, 2),
37068
- keyWords = _useSafeState2[0],
37069
- setKeyWords = _useSafeState2[1];
37159
+ var _useState = (0,external_React_.useState)(props.defaultKeyWords),
37160
+ _useState2 = slicedToArray_slicedToArray(_useState, 2),
37161
+ keyWords = _useState2[0],
37162
+ setKeyWords = _useState2[1];
37070
37163
  /** Key 是用来缓存请求的,如果不在是有问题 */
37071
- var _useState = (0,external_React_.useState)(function () {
37164
+ var _useState3 = (0,external_React_.useState)(function () {
37072
37165
  if (props.proFieldKey) {
37073
37166
  return props.proFieldKey.toString();
37074
37167
  }
@@ -37077,8 +37170,8 @@ var useFieldFetchData = function useFieldFetchData(props) {
37077
37170
  }
37078
37171
  return 'no-fetch';
37079
37172
  }),
37080
- _useState2 = slicedToArray_slicedToArray(_useState, 1),
37081
- cacheKey = _useState2[0];
37173
+ _useState4 = slicedToArray_slicedToArray(_useState3, 1),
37174
+ cacheKey = _useState4[0];
37082
37175
  var proFieldKeyRef = (0,external_React_.useRef)(cacheKey);
37083
37176
  var getOptionsFormValueEnum = (0,external_React_.useCallback)(function (coverValueEnum) {
37084
37177
  return proFieldParsingValueEnumToArray(ObjToMap(coverValueEnum)).map(function (_ref3) {
@@ -40518,10 +40611,10 @@ var Money_excluded = ["content", "numberFormatOptions", "numberPopoverRender", "
40518
40611
 
40519
40612
 
40520
40613
 
40521
-
40522
40614
  // 兼容代码-----------
40523
40615
 
40524
40616
 
40617
+ //----------------------
40525
40618
 
40526
40619
  var defaultMoneyIntl = new Intl.NumberFormat('zh-Hans-CN', {
40527
40620
  currency: 'CNY',
@@ -40630,11 +40723,7 @@ var InputNumberPopover = /*#__PURE__*/external_React_default().forwardRef(functi
40630
40723
  var dom = content === null || content === void 0 ? void 0 : content(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, rest), {}, {
40631
40724
  value: value
40632
40725
  }));
40633
- var props = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
40634
- open: dom ? open : false
40635
- } : {
40636
- visible: dom ? open : false
40637
- };
40726
+ var props = openVisibleCompatible(dom ? open : false);
40638
40727
  return (0,jsx_runtime.jsx)(external_antd_.Popover, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
40639
40728
  placement: "topLeft"
40640
40729
  }, props), {}, {
@@ -44972,28 +45061,17 @@ function DrawerForm(_ref) {
44972
45061
  return _ref3.apply(this, arguments);
44973
45062
  };
44974
45063
  }());
44975
- var drawerOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
44976
- open: open,
44977
- onOpenChange: onVisibleChange,
44978
- afterOpenChange: function afterOpenChange(e) {
44979
- var _drawerProps$afterOpe;
44980
- if (!e) resetFields();
44981
- drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe === void 0 ? void 0 : _drawerProps$afterOpe.call(drawerProps, e);
44982
- }
44983
- } : {
44984
- visible: open,
44985
- onVisibleChange: onVisibleChange,
44986
- afterVisibleChange: function afterVisibleChange(e) {
44987
- var _drawerProps$afterOpe2;
44988
- if (!e) resetFields();
44989
- drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe2 = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe2 === void 0 ? void 0 : _drawerProps$afterOpe2.call(drawerProps, e);
44990
- }
44991
- };
45064
+ var drawerOpenProps = openVisibleCompatible(open, onVisibleChange);
44992
45065
  return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
44993
45066
  children: [(0,jsx_runtime.jsx)(external_antd_.Drawer, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
44994
45067
  title: title,
44995
45068
  width: width || 800
44996
45069
  }, drawerProps), drawerOpenProps), {}, {
45070
+ afterOpenChange: function afterOpenChange(e) {
45071
+ var _drawerProps$afterOpe;
45072
+ if (!e) resetFields();
45073
+ drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe === void 0 ? void 0 : _drawerProps$afterOpe.call(drawerProps, e);
45074
+ },
44997
45075
  onClose: function onClose(e) {
44998
45076
  var _drawerProps$onClose2;
44999
45077
  // 提交表单loading时,阻止弹框关闭
@@ -45393,7 +45471,6 @@ var ModalForm_excluded = ["children", "trigger", "onVisibleChange", "onOpenChang
45393
45471
 
45394
45472
 
45395
45473
 
45396
-
45397
45474
  function ModalForm(_ref) {
45398
45475
  var _context$locale3, _context$locale3$Moda, _context$locale4, _context$locale4$Moda;
45399
45476
  var children = _ref.children,
@@ -45545,11 +45622,7 @@ function ModalForm(_ref) {
45545
45622
  return _ref5.apply(this, arguments);
45546
45623
  };
45547
45624
  }(), [onFinish, setOpen, submitTimeout]);
45548
- var modalOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
45549
- open: open
45550
- } : {
45551
- visible: open
45552
- };
45625
+ var modalOpenProps = openVisibleCompatible(open);
45553
45626
  return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
45554
45627
  children: [(0,jsx_runtime.jsx)(external_antd_.Modal, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
45555
45628
  title: title,
@@ -51732,7 +51805,6 @@ function PageHeader_style_useStyle(prefixCls) {
51732
51805
 
51733
51806
 
51734
51807
 
51735
-
51736
51808
  var renderBack = function renderBack(prefixCls, hashId, backIcon, onBack) {
51737
51809
  if (!backIcon || !onBack) {
51738
51810
  return null;
@@ -51825,13 +51897,13 @@ var renderChildren = function renderChildren(prefixCls, children, hashId) {
51825
51897
  };
51826
51898
  var PageHeader = function PageHeader(props) {
51827
51899
  var _breadcrumbRender, _classNames;
51828
- var _useSafeState = useSafeState(false),
51829
- _useSafeState2 = slicedToArray_slicedToArray(_useSafeState, 2),
51830
- compact = _useSafeState2[0],
51831
- updateCompact = _useSafeState2[1];
51900
+ var _React$useState = external_React_.useState(false),
51901
+ _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
51902
+ compact = _React$useState2[0],
51903
+ updateCompact = _React$useState2[1];
51832
51904
  var onResize = function onResize(_ref) {
51833
51905
  var width = _ref.width;
51834
- updateCompact(width < 768, true);
51906
+ updateCompact(width < 768);
51835
51907
  };
51836
51908
  var _React$useContext = external_React_.useContext(external_antd_.ConfigProvider.ConfigContext),
51837
51909
  getPrefixCls = _React$useContext.getPrefixCls,
@@ -52104,8 +52176,8 @@ function PageContainer_style_useStyle(prefixCls, componentsToken) {
52104
52176
 
52105
52177
 
52106
52178
 
52107
- var PageContainer_excluded = ["title", "content", "pageHeaderRender", "header", "prefixedClassName", "extraContent", "style", "prefixCls", "hashId", "value", "breadcrumbRender"],
52108
- PageContainer_excluded2 = ["children", "loading", "className", "style", "footer", "affixProps", "token", "fixedHeader", "breadcrumbRender"];
52179
+ var PageContainer_excluded = ["title", "content", "pageHeaderRender", "header", "prefixedClassName", "extraContent", "childrenContentStyle", "style", "prefixCls", "hashId", "value", "breadcrumbRender"],
52180
+ PageContainer_excluded2 = ["children", "loading", "className", "style", "footer", "affixProps", "token", "fixedHeader", "breadcrumbRender", "childrenContentStyle"];
52109
52181
 
52110
52182
 
52111
52183
 
@@ -52213,6 +52285,7 @@ var memoRenderPageHeader = function memoRenderPageHeader(props) {
52213
52285
  header = props.header,
52214
52286
  prefixedClassName = props.prefixedClassName,
52215
52287
  extraContent = props.extraContent,
52288
+ childrenContentStyle = props.childrenContentStyle,
52216
52289
  style = props.style,
52217
52290
  prefixCls = props.prefixCls,
52218
52291
  hashId = props.hashId,
@@ -52273,6 +52346,7 @@ var PageContainerBase = function PageContainerBase(props) {
52273
52346
  propsToken = props.token,
52274
52347
  fixedHeader = props.fixedHeader,
52275
52348
  breadcrumbRender = props.breadcrumbRender,
52349
+ childrenContentStyle = props.childrenContentStyle,
52276
52350
  restProps = objectWithoutProperties_objectWithoutProperties(props, PageContainer_excluded2);
52277
52351
  var value = (0,external_React_.useContext)(RouteContext);
52278
52352
  /** 告诉 props 是否存在 footerBar */
@@ -52332,10 +52406,11 @@ var PageContainerBase = function PageContainerBase(props) {
52332
52406
  return children ? (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
52333
52407
  children: (0,jsx_runtime.jsx)("div", {
52334
52408
  className: classnames_default()("".concat(basePageContainer, "-children-content ").concat(hashId)),
52409
+ style: childrenContentStyle,
52335
52410
  children: children
52336
52411
  })
52337
52412
  }) : null;
52338
- }, [children, basePageContainer, hashId]);
52413
+ }, [children, basePageContainer, childrenContentStyle, hashId]);
52339
52414
  var renderContentDom = (0,external_React_.useMemo)(function () {
52340
52415
  // 只要loadingDom非空我们就渲染loadingDom,否则渲染内容
52341
52416
  var dom = loadingDom || content;
@@ -52853,7 +52928,7 @@ var genAppsLogoComponentsDefaultListStyle = function genAppsLogoComponentsDefaul
52853
52928
  verticalAlign: 'top',
52854
52929
  listStyleType: 'none',
52855
52930
  transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
52856
- borderRadius: token.radiusBase,
52931
+ borderRadius: token.borderRadius,
52857
52932
  '&:hover': {
52858
52933
  backgroundColor: 'rgba(0, 0, 0, 0.03)'
52859
52934
  },
@@ -52919,7 +52994,7 @@ var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleL
52919
52994
  verticalAlign: 'top',
52920
52995
  listStyleType: 'none',
52921
52996
  transition: 'transform 0.2s cubic-bezier(0.333, 0, 0, 1)',
52922
- borderRadius: token.radiusBase,
52997
+ borderRadius: token.borderRadius,
52923
52998
  '&:hover': {
52924
52999
  backgroundColor: 'rgba(0, 0, 0, 0.03)'
52925
53000
  },
@@ -52939,7 +53014,7 @@ var genAppsLogoComponentsSimpleListStyle = function genAppsLogoComponentsSimpleL
52939
53014
  lineHeight: '40px',
52940
53015
  textAlign: 'center',
52941
53016
  backgroundImage: 'linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)',
52942
- borderRadius: token.radiusBase
53017
+ borderRadius: token.borderRadius
52943
53018
  },
52944
53019
  '& > img': {
52945
53020
  width: 40,
@@ -53085,13 +53160,9 @@ var AppsLogoComponents = function AppsLogoComponents(props) {
53085
53160
  });
53086
53161
  }, [appList, baseClassName, hashId]);
53087
53162
  if (!(props === null || props === void 0 ? void 0 : (_props$appList = props.appList) === null || _props$appList === void 0 ? void 0 : _props$appList.length)) return null;
53088
- var popoverOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
53089
- onOpenChange: setOpen
53090
- } : {
53091
- onVisibleChange: function onVisibleChange() {
53092
- return setOpen;
53093
- }
53094
- };
53163
+ var popoverOpenProps = openVisibleCompatible(undefined, function (openChange) {
53164
+ return setOpen(openChange);
53165
+ });
53095
53166
  return wrapSSR((0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
53096
53167
  children: [(0,jsx_runtime.jsx)("div", {
53097
53168
  ref: ref,
@@ -53412,22 +53483,24 @@ var MenuCounter = createContainer(useMenuCounter);
53412
53483
 
53413
53484
 
53414
53485
  var genProLayoutBaseMenuStyle = function genProLayoutBaseMenuStyle(token) {
53415
- var _token$layout, _token$layout$sider, _collapsed, _collapsed2, _$concat2, _itemTitle, _$concat4;
53416
- return defineProperty_defineProperty({}, "".concat(token.componentCls), (_$concat4 = {
53486
+ var _token$layout, _token$layout$sider, _collapsed, _collapsed2, _$concat3, _itemTitle, _$concat5;
53487
+ return defineProperty_defineProperty({}, "".concat(token.componentCls), (_$concat5 = {
53417
53488
  background: 'transparent',
53418
53489
  border: 'none'
53419
- }, defineProperty_defineProperty(_$concat4, "".concat(token.componentCls, "-menu-item"), {
53490
+ }, defineProperty_defineProperty(_$concat5, "".concat(token.componentCls, "-menu-item"), {
53420
53491
  transition: 'none !important'
53421
- }), defineProperty_defineProperty(_$concat4, "& &-collapsed", (_collapsed = {}, defineProperty_defineProperty(_collapsed, "".concat(token.antCls, "-menu-item, \n ").concat(token.antCls, "-menu-item-group > ").concat(token.antCls, "-menu-item-group-list > ").concat(token.antCls, "-menu-item, \n ").concat(token.antCls, "-menu-item-group > ").concat(token.antCls, "-menu-item-group-list > ").concat(token.antCls, "-menu-submenu > ").concat(token.antCls, "-menu-submenu-title, \n ").concat(token.antCls, "-menu-submenu > ").concat(token.antCls, "-menu-submenu-title"), {
53492
+ }), defineProperty_defineProperty(_$concat5, "".concat(token.componentCls, "-submenu-has-icon"), defineProperty_defineProperty({}, "> ".concat(token.antCls, "-menu-sub"), {
53493
+ paddingInlineStart: 10
53494
+ })), defineProperty_defineProperty(_$concat5, "& &-collapsed", (_collapsed = {}, defineProperty_defineProperty(_collapsed, "".concat(token.antCls, "-menu-item, \n ").concat(token.antCls, "-menu-item-group > ").concat(token.antCls, "-menu-item-group-list > ").concat(token.antCls, "-menu-item, \n ").concat(token.antCls, "-menu-item-group > ").concat(token.antCls, "-menu-item-group-list > ").concat(token.antCls, "-menu-submenu > ").concat(token.antCls, "-menu-submenu-title, \n ").concat(token.antCls, "-menu-submenu > ").concat(token.antCls, "-menu-submenu-title"), {
53422
53495
  paddingInline: '0 !important',
53423
53496
  height: 'auto !important',
53424
53497
  marginBlock: '8px !important'
53425
53498
  }), defineProperty_defineProperty(_collapsed, "".concat(token.antCls, "-menu-item-group > ").concat(token.antCls, "-menu-item-group-list > ").concat(token.antCls, "-menu-submenu-selected > ").concat(token.antCls, "-menu-submenu-title, \n ").concat(token.antCls, "-menu-submenu-selected > ").concat(token.antCls, "-menu-submenu-title"), {
53426
53499
  backgroundColor: (_token$layout = token.layout) === null || _token$layout === void 0 ? void 0 : (_token$layout$sider = _token$layout.sider) === null || _token$layout$sider === void 0 ? void 0 : _token$layout$sider.colorBgMenuItemSelected,
53427
- borderRadius: token.radiusBase
53500
+ borderRadius: token.borderRadius
53428
53501
  }), defineProperty_defineProperty(_collapsed, "".concat(token.componentCls, "-group"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item-group-title"), {
53429
53502
  paddingInline: 0
53430
- })), _collapsed)), defineProperty_defineProperty(_$concat4, "".concat(token.componentCls, "-item-icon"), {
53503
+ })), _collapsed)), defineProperty_defineProperty(_$concat5, "".concat(token.componentCls, "-item-icon"), {
53431
53504
  height: '14px',
53432
53505
  width: '14px',
53433
53506
  opacity: '0.85',
@@ -53435,7 +53508,7 @@ var genProLayoutBaseMenuStyle = function genProLayoutBaseMenuStyle(token) {
53435
53508
  lineHeight: '14px',
53436
53509
  height: '14px'
53437
53510
  }
53438
- }), defineProperty_defineProperty(_$concat4, '& &-item-title', (_itemTitle = {
53511
+ }), defineProperty_defineProperty(_$concat5, '& &-item-title', (_itemTitle = {
53439
53512
  display: 'flex',
53440
53513
  flexDirection: 'row',
53441
53514
  alignItems: 'center',
@@ -53454,16 +53527,16 @@ var genProLayoutBaseMenuStyle = function genProLayoutBaseMenuStyle(token) {
53454
53527
  }), defineProperty_defineProperty(_itemTitle, "&".concat(token.componentCls, "-item-collapsed-show-title"), defineProperty_defineProperty({
53455
53528
  lineHeight: '16px',
53456
53529
  height: '48px'
53457
- }, "&".concat(token.componentCls, "-item-title-collapsed"), (_$concat2 = {
53530
+ }, "&".concat(token.componentCls, "-item-title-collapsed"), (_$concat3 = {
53458
53531
  display: 'flex'
53459
- }, defineProperty_defineProperty(_$concat2, "".concat(token.componentCls, "-item-icon"), {
53532
+ }, defineProperty_defineProperty(_$concat3, "".concat(token.componentCls, "-item-icon"), {
53460
53533
  height: '16px',
53461
53534
  lineHeight: '16px !important',
53462
53535
  '.anticon': {
53463
53536
  lineHeight: '16px',
53464
53537
  height: '16px'
53465
53538
  }
53466
- }), defineProperty_defineProperty(_$concat2, "".concat(token.componentCls, "-item-text"), {
53539
+ }), defineProperty_defineProperty(_$concat3, "".concat(token.componentCls, "-item-text"), {
53467
53540
  opacity: '1 !important',
53468
53541
  display: 'inline !important',
53469
53542
  textAlign: 'center',
@@ -53477,17 +53550,17 @@ var genProLayoutBaseMenuStyle = function genProLayoutBaseMenuStyle(token) {
53477
53550
  margin: 0,
53478
53551
  padding: 0,
53479
53552
  marginBlockStart: 4
53480
- }), _$concat2))), _itemTitle)), defineProperty_defineProperty(_$concat4, '&-group', defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item-group-title"), {
53553
+ }), _$concat3))), _itemTitle)), defineProperty_defineProperty(_$concat5, '&-group', defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item-group-title"), {
53481
53554
  fontSize: 12,
53482
53555
  color: token.colorTextLabel,
53483
53556
  '.anticon': {
53484
53557
  marginInlineEnd: 8
53485
53558
  }
53486
- })), defineProperty_defineProperty(_$concat4, '&-group-divider', {
53559
+ })), defineProperty_defineProperty(_$concat5, '&-group-divider', {
53487
53560
  color: token.colorTextSecondary,
53488
53561
  fontSize: 12,
53489
53562
  lineHeight: 20
53490
- }), _$concat4));
53563
+ }), _$concat5));
53491
53564
  };
53492
53565
  function menu_useStyle(prefixCls) {
53493
53566
  return useStyle('ProLayoutBaseMenu', function (token) {
@@ -53580,7 +53653,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(props) {
53580
53653
  var children = (item === null || item === void 0 ? void 0 : item.children) || (item === null || item === void 0 ? void 0 : item.routes);
53581
53654
  var menuType = isGroup && level === 0 ? 'group' : undefined;
53582
53655
  if (Array.isArray(children) && children.length > 0) {
53583
- var _this$props2, _this$props3, _classNames, _this$props4, _this$props5, _designToken$layout, _designToken$layout$s;
53656
+ var _this$props2, _this$props3, _classNames, _this$props4, _this$props5, _classNames3, _designToken$layout, _designToken$layout$s;
53584
53657
  /** Menu 第一级可以有icon,或者 isGroup 时第二级别也要有 */
53585
53658
  var shouldHasIcon = level === 0 || isGroup && level === 1;
53586
53659
  // get defaultTitle by menuItemRender
@@ -53615,7 +53688,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(props) {
53615
53688
  label: title,
53616
53689
  onClick: isGroup ? undefined : item.onTitleClick,
53617
53690
  children: childrenList,
53618
- className: menuType == 'group' ? "".concat(baseClassName, "-group") : "".concat(baseClassName, "-submenu")
53691
+ className: classnames_default()((_classNames3 = {}, defineProperty_defineProperty(_classNames3, "".concat(baseClassName, "-group"), menuType === 'group'), defineProperty_defineProperty(_classNames3, "".concat(baseClassName, "-submenu"), menuType !== 'group'), defineProperty_defineProperty(_classNames3, "".concat(baseClassName, "-submenu-has-icon"), menuType !== 'group' && shouldHasIcon && iconDom), _classNames3))
53619
53692
  }, isGroup && level === 0 ? {
53620
53693
  type: 'divider',
53621
53694
  prefixCls: prefixCls,
@@ -53654,7 +53727,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(props) {
53654
53727
  return name;
53655
53728
  };
53656
53729
  this.getMenuItemPath = function (item, level) {
53657
- var _this$props9, _this$props10, _classNames3, _this$props11, _this$props12;
53730
+ var _this$props9, _this$props10, _classNames4, _this$props11, _this$props12;
53658
53731
  var itemPath = _this.conversionPath(item.path || '/');
53659
53732
  var _this$props7 = _this.props,
53660
53733
  _this$props7$location = _this$props7.location,
@@ -53677,7 +53750,7 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(props) {
53677
53750
  var icon = !hasIcon ? null : getIcon(item.icon, iconPrefixes, "".concat(baseClassName, "-icon ").concat((_this$props9 = _this.props) === null || _this$props9 === void 0 ? void 0 : _this$props9.hashId));
53678
53751
  var defaultIcon = collapsed && hasIcon ? getMenuTitleSymbol(name) : null;
53679
53752
  var defaultItem = (0,jsx_runtime.jsxs)("div", {
53680
- className: classnames_default()("".concat(baseClassName, "-item-title"), (_this$props10 = _this.props) === null || _this$props10 === void 0 ? void 0 : _this$props10.hashId, (_classNames3 = {}, defineProperty_defineProperty(_classNames3, "".concat(baseClassName, "-item-title-collapsed"), collapsed), defineProperty_defineProperty(_classNames3, "".concat(baseClassName, "-item-collapsed-show-title"), (menu === null || menu === void 0 ? void 0 : menu.collapsedShowTitle) && collapsed), _classNames3)),
53753
+ className: classnames_default()("".concat(baseClassName, "-item-title"), (_this$props10 = _this.props) === null || _this$props10 === void 0 ? void 0 : _this$props10.hashId, (_classNames4 = {}, defineProperty_defineProperty(_classNames4, "".concat(baseClassName, "-item-title-collapsed"), collapsed), defineProperty_defineProperty(_classNames4, "".concat(baseClassName, "-item-collapsed-show-title"), (menu === null || menu === void 0 ? void 0 : menu.collapsedShowTitle) && collapsed), _classNames4)),
53681
53754
  children: [icon ? (0,jsx_runtime.jsx)("span", {
53682
53755
  className: "anticon ".concat(baseClassName, "-item-icon ").concat((_this$props11 = _this.props) === null || _this$props11 === void 0 ? void 0 : _this$props11.hashId),
53683
53756
  children: icon
@@ -53689,14 +53762,14 @@ var MenuUtil = /*#__PURE__*/_createClass(function MenuUtil(props) {
53689
53762
  var isHttpUrl = isUrl(itemPath);
53690
53763
  // Is it a http link
53691
53764
  if (isHttpUrl) {
53692
- var _this$props13, _classNames5, _this$props14, _this$props15;
53765
+ var _this$props13, _classNames6, _this$props14, _this$props15;
53693
53766
  defaultItem = (0,jsx_runtime.jsxs)("span", {
53694
53767
  title: name,
53695
53768
  onClick: function onClick() {
53696
53769
  var _window, _window$open;
53697
53770
  (_window = window) === null || _window === void 0 ? void 0 : (_window$open = _window.open) === null || _window$open === void 0 ? void 0 : _window$open.call(_window, itemPath, '_blank');
53698
53771
  },
53699
- className: classnames_default()("".concat(baseClassName, "-item-title"), (_this$props13 = _this.props) === null || _this$props13 === void 0 ? void 0 : _this$props13.hashId, (_classNames5 = {}, defineProperty_defineProperty(_classNames5, "".concat(baseClassName, "-item-title-collapsed"), collapsed), defineProperty_defineProperty(_classNames5, "".concat(baseClassName, "-item-link"), true), defineProperty_defineProperty(_classNames5, "".concat(baseClassName, "-item-collapsed-show-title"), (menu === null || menu === void 0 ? void 0 : menu.collapsedShowTitle) && collapsed), _classNames5)),
53772
+ className: classnames_default()("".concat(baseClassName, "-item-title"), (_this$props13 = _this.props) === null || _this$props13 === void 0 ? void 0 : _this$props13.hashId, (_classNames6 = {}, defineProperty_defineProperty(_classNames6, "".concat(baseClassName, "-item-title-collapsed"), collapsed), defineProperty_defineProperty(_classNames6, "".concat(baseClassName, "-item-link"), true), defineProperty_defineProperty(_classNames6, "".concat(baseClassName, "-item-collapsed-show-title"), (menu === null || menu === void 0 ? void 0 : menu.collapsedShowTitle) && collapsed), _classNames6)),
53700
53773
  children: [icon ? (0,jsx_runtime.jsx)("span", {
53701
53774
  className: "anticon ".concat(baseClassName, "-item-icon ").concat((_this$props14 = _this.props) === null || _this$props14 === void 0 ? void 0 : _this$props14.hashId),
53702
53775
  children: icon
@@ -53746,7 +53819,7 @@ var getOpenKeysProps = function getOpenKeysProps(openKeys, _ref) {
53746
53819
  return openKeysProps;
53747
53820
  };
53748
53821
  var BaseMenu = function BaseMenu(props) {
53749
- var _classNames7;
53822
+ var _classNames8;
53750
53823
  var mode = props.mode,
53751
53824
  className = props.className,
53752
53825
  handleOpenChange = props.handleOpenChange,
@@ -53887,7 +53960,7 @@ var BaseMenu = function BaseMenu(props) {
53887
53960
  backgroundColor: 'transparent',
53888
53961
  border: 'none'
53889
53962
  }, style),
53890
- className: classnames_default()(className, hashId, baseClassName, (_classNames7 = {}, defineProperty_defineProperty(_classNames7, "".concat(baseClassName, "-horizontal"), mode === 'horizontal'), defineProperty_defineProperty(_classNames7, "".concat(baseClassName, "-collapsed"), props.collapsed), _classNames7)),
53963
+ className: classnames_default()(className, hashId, baseClassName, (_classNames8 = {}, defineProperty_defineProperty(_classNames8, "".concat(baseClassName, "-horizontal"), mode === 'horizontal'), defineProperty_defineProperty(_classNames8, "".concat(baseClassName, "-collapsed"), props.collapsed), _classNames8)),
53891
53964
  items: menuUtils.getNavMenuItems(finallyData, 0),
53892
53965
  onOpenChange: setOpenKeys
53893
53966
  }, props.menuProps)));
@@ -54192,11 +54265,11 @@ var genTopNavHeaderStyle = function genTopNavHeaderStyle(token) {
54192
54265
  color: token === null || token === void 0 ? void 0 : (_token$layout = token.layout) === null || _token$layout === void 0 ? void 0 : (_token$layout$header = _token$layout.header) === null || _token$layout$header === void 0 ? void 0 : _token$layout$header.colorTextRightActionsItem,
54193
54266
  fontSize: '16px',
54194
54267
  cursor: 'pointer',
54195
- borderRadius: token.radiusBase,
54268
+ borderRadius: token.borderRadius,
54196
54269
  '> *': {
54197
54270
  paddingInline: 6,
54198
54271
  paddingBlock: 6,
54199
- borderRadius: token.radiusBase,
54272
+ borderRadius: token.borderRadius,
54200
54273
  '&:hover': {
54201
54274
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout2 = token.layout) === null || _token$layout2 === void 0 ? void 0 : (_token$layout2$header = _token$layout2.header) === null || _token$layout2$header === void 0 ? void 0 : _token$layout2$header.colorBgRightActionsItemHover
54202
54275
  }
@@ -54218,7 +54291,7 @@ var genTopNavHeaderStyle = function genTopNavHeaderStyle(token) {
54218
54291
  display: 'flex',
54219
54292
  alignItems: 'center',
54220
54293
  lineHeight: '44px',
54221
- borderRadius: token.radiusBase,
54294
+ borderRadius: token.borderRadius,
54222
54295
  '&:hover': {
54223
54296
  backgroundColor: 'rgba(0, 0, 0, 0.03)'
54224
54297
  }
@@ -55013,7 +55086,7 @@ var darkreader = __webpack_require__(897);
55013
55086
  'app.setting.themecolor.sunset': '日暮',
55014
55087
  'app.setting.themecolor.cyan': '明青',
55015
55088
  'app.setting.themecolor.green': '极光绿',
55016
- 'app.setting.themecolor.techBlue': '科技蓝(默认',
55089
+ 'app.setting.themecolor.techBlue': '科技蓝(默认)',
55017
55090
  'app.setting.themecolor.daybreak': '拂晓',
55018
55091
  'app.setting.themecolor.geekblue': '极客蓝',
55019
55092
  'app.setting.themecolor.purple': '酱紫',
@@ -55810,10 +55883,11 @@ var ThemeColor = function ThemeColor(_ref2) {
55810
55883
  className: "".concat(baseClassName, " ").concat(hashId),
55811
55884
  children: colorList === null || colorList === void 0 ? void 0 : colorList.map(function (_ref3) {
55812
55885
  var key = _ref3.key,
55813
- color = _ref3.color;
55886
+ color = _ref3.color,
55887
+ title = _ref3.title;
55814
55888
  if (!key) return null;
55815
55889
  return (0,jsx_runtime.jsx)(external_antd_.Tooltip, {
55816
- title: formatMessage({
55890
+ title: title !== null && title !== void 0 ? title : formatMessage({
55817
55891
  id: "app.setting.themecolor.".concat(key)
55818
55892
  }),
55819
55893
  children: (0,jsx_runtime.jsx)(Tag, {
@@ -56153,17 +56227,7 @@ var SettingDrawer = function SettingDrawer(props) {
56153
56227
  var _useStyle = SettingDrawer_style_useStyle(baseClassName),
56154
56228
  wrapSSR = _useStyle.wrapSSR,
56155
56229
  hashId = _useStyle.hashId;
56156
- var drawerOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
56157
- open: open,
56158
- onClose: function onClose() {
56159
- return setOpen(false);
56160
- }
56161
- } : {
56162
- visible: open,
56163
- onClose: function onClose() {
56164
- return setOpen(false);
56165
- }
56166
- };
56230
+ var drawerOpenProps = openVisibleCompatible(open);
56167
56231
  return wrapSSR((0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
56168
56232
  children: [(0,jsx_runtime.jsx)("div", {
56169
56233
  className: "".concat(baseClassName, "-handle ").concat(hashId),
@@ -56187,6 +56251,9 @@ var SettingDrawer = function SettingDrawer(props) {
56187
56251
  })
56188
56252
  }), (0,jsx_runtime.jsx)(external_antd_.Drawer, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, drawerOpenProps), {}, {
56189
56253
  width: 300,
56254
+ onClose: function onClose() {
56255
+ return setOpen(false);
56256
+ },
56190
56257
  closable: false,
56191
56258
  placement: "right",
56192
56259
  getContainer: getContainer,
@@ -58307,7 +58374,7 @@ var style_genSiderMenuStyle = function genSiderMenuStyle(token) {
58307
58374
  lineHeight: '16px',
58308
58375
  fontSize: 16,
58309
58376
  cursor: 'pointer',
58310
- borderRadius: token.radiusBase,
58377
+ borderRadius: token.borderRadius,
58311
58378
  '&:hover': {
58312
58379
  background: 'rgba(0, 0, 0, 0.018)'
58313
58380
  }
@@ -58317,7 +58384,7 @@ var style_genSiderMenuStyle = function genSiderMenuStyle(token) {
58317
58384
  fontSize: 14,
58318
58385
  paddingInline: 8,
58319
58386
  paddingBlock: 8,
58320
- borderRadius: token.radiusBase,
58387
+ borderRadius: token.borderRadius,
58321
58388
  '& *': {
58322
58389
  cursor: 'pointer'
58323
58390
  },
@@ -58417,17 +58484,9 @@ var SiderMenuWrapper = function SiderMenuWrapper(props) {
58417
58484
  if (hide) {
58418
58485
  return null;
58419
58486
  }
58420
- var drawerOpenProps = compareVersions(external_antd_.version, '4.23.0') > -1 ? {
58421
- open: !collapsed,
58422
- onClose: function onClose() {
58423
- return onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(true);
58424
- }
58425
- } : {
58426
- visible: !collapsed,
58427
- onClose: function onClose() {
58428
- return onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(true);
58429
- }
58430
- };
58487
+ var drawerOpenProps = openVisibleCompatible(!collapsed, function () {
58488
+ return onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(true);
58489
+ });
58431
58490
  return wrapSSR(isMobile ? (0,jsx_runtime.jsx)(external_antd_.Drawer, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
58432
58491
  placement: "left",
58433
58492
  className: classnames_default()("".concat(prefixCls, "-drawer-sider"), className)
@@ -58509,15 +58568,15 @@ var compatibleStyle = function compatibleStyle(token) {
58509
58568
  backgroundColor: 'transparent!important'
58510
58569
  }), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu-light"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-active, \n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
58511
58570
  color: token === null || token === void 0 ? void 0 : (_token$layout4 = token.layout) === null || _token$layout4 === void 0 ? void 0 : (_token$layout4$sider = _token$layout4.sider) === null || _token$layout4$sider === void 0 ? void 0 : _token$layout4$sider.colorTextMenuActive,
58512
- borderRadius: token.radiusBase
58571
+ borderRadius: token.borderRadius
58513
58572
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
58514
58573
  color: token === null || token === void 0 ? void 0 : (_token$layout5 = token.layout) === null || _token$layout5 === void 0 ? void 0 : (_token$layout5$sider = _token$layout5.sider) === null || _token$layout5$sider === void 0 ? void 0 : _token$layout5$sider.colorTextMenuActive
58515
58574
  }))), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-horizontal)"), (_$concat$concat = {}, defineProperty_defineProperty(_$concat$concat, "".concat(token.antCls, "-menu-item-selected"), {
58516
58575
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout6 = token.layout) === null || _token$layout6 === void 0 ? void 0 : (_token$layout6$sider = _token$layout6.sider) === null || _token$layout6$sider === void 0 ? void 0 : _token$layout6$sider.colorBgMenuItemSelected,
58517
- borderRadius: token.radiusBase
58576
+ borderRadius: token.borderRadius
58518
58577
  }), defineProperty_defineProperty(_$concat$concat, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
58519
58578
  color: token === null || token === void 0 ? void 0 : (_token$layout7 = token.layout) === null || _token$layout7 === void 0 ? void 0 : (_token$layout7$sider = _token$layout7.sider) === null || _token$layout7$sider === void 0 ? void 0 : _token$layout7$sider.colorTextMenuActive,
58520
- borderRadius: token.radiusBase,
58579
+ borderRadius: token.borderRadius,
58521
58580
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout8 = token.layout) === null || _token$layout8 === void 0 ? void 0 : (_token$layout8$sider = _token$layout8.sider) === null || _token$layout8$sider === void 0 ? void 0 : _token$layout8$sider.colorBgMenuItemHover
58522
58581
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
58523
58582
  color: token === null || token === void 0 ? void 0 : (_token$layout9 = token.layout) === null || _token$layout9 === void 0 ? void 0 : (_token$layout9$sider = _token$layout9.sider) === null || _token$layout9$sider === void 0 ? void 0 : _token$layout9$sider.colorTextMenuActive
@@ -58528,7 +58587,7 @@ var compatibleStyle = function compatibleStyle(token) {
58528
58587
  }), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-inline) ").concat(token.antCls, "-menu-submenu-open"), {
58529
58588
  color: token === null || token === void 0 ? void 0 : (_token$layout12 = token.layout) === null || _token$layout12 === void 0 ? void 0 : (_token$layout12$sider = _token$layout12.sider) === null || _token$layout12$sider === void 0 ? void 0 : _token$layout12$sider.colorTextMenuSelected
58530
58589
  }), defineProperty_defineProperty(_$concat6, "&".concat(token.antCls, "-menu-vertical"), defineProperty_defineProperty({}, "".concat(token.antCls, "-menu-submenu-selected"), {
58531
- borderRadius: token.radiusBase,
58590
+ borderRadius: token.borderRadius,
58532
58591
  color: token === null || token === void 0 ? void 0 : (_token$layout13 = token.layout) === null || _token$layout13 === void 0 ? void 0 : (_token$layout13$sider = _token$layout13.sider) === null || _token$layout13$sider === void 0 ? void 0 : _token$layout13$sider.colorTextMenuSelected
58533
58592
  })), defineProperty_defineProperty(_$concat6, "".concat(token.antCls, "-menu-submenu:hover > ").concat(token.antCls, "-menu-submenu-title > ").concat(token.antCls, "-menu-submenu-arrow"), {
58534
58593
  color: token === null || token === void 0 ? void 0 : (_token$layout14 = token.layout) === null || _token$layout14 === void 0 ? void 0 : (_token$layout14$sider = _token$layout14.sider) === null || _token$layout14$sider === void 0 ? void 0 : _token$layout14$sider.colorTextMenuActive
@@ -58539,7 +58598,7 @@ var compatibleStyle = function compatibleStyle(token) {
58539
58598
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout16 = token.layout) === null || _token$layout16 === void 0 ? void 0 : (_token$layout16$heade = _token$layout16.header) === null || _token$layout16$heade === void 0 ? void 0 : _token$layout16$heade.colorBgMenuItemHover
58540
58599
  }), defineProperty_defineProperty(_$concat5, "".concat(token.antCls, "-menu-item-open,\n ").concat(token.antCls, "-menu-submenu-open,\n ").concat(token.antCls, "-menu-item-selected,\n ").concat(token.antCls, "-menu-submenu-selected"), defineProperty_defineProperty({
58541
58600
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout17 = token.layout) === null || _token$layout17 === void 0 ? void 0 : (_token$layout17$heade = _token$layout17.header) === null || _token$layout17$heade === void 0 ? void 0 : _token$layout17$heade.colorBgMenuItemSelected,
58542
- borderRadius: token.radiusBase,
58601
+ borderRadius: token.borderRadius,
58543
58602
  transition: 'none',
58544
58603
  color: token === null || token === void 0 ? void 0 : (_token$layout18 = token.layout) === null || _token$layout18 === void 0 ? void 0 : (_token$layout18$heade = _token$layout18.header) === null || _token$layout18$heade === void 0 ? void 0 : _token$layout18$heade.colorTextMenuSelected
58545
58604
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
@@ -58555,14 +58614,14 @@ var compatibleStyle = function compatibleStyle(token) {
58555
58614
  color: 'inherit'
58556
58615
  })), defineProperty_defineProperty(_$concat9, "&".concat(token.antCls, "-menu-light"), (_$concat8 = {}, defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-active, \n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
58557
58616
  color: token === null || token === void 0 ? void 0 : (_token$layout21 = token.layout) === null || _token$layout21 === void 0 ? void 0 : (_token$layout21$heade = _token$layout21.header) === null || _token$layout21$heade === void 0 ? void 0 : _token$layout21$heade.colorTextMenuActive,
58558
- borderRadius: token.radiusBase,
58617
+ borderRadius: token.borderRadius,
58559
58618
  transition: 'none',
58560
58619
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout22 = token.layout) === null || _token$layout22 === void 0 ? void 0 : (_token$layout22$heade = _token$layout22.header) === null || _token$layout22$heade === void 0 ? void 0 : _token$layout22$heade.colorBgMenuItemSelected
58561
58620
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
58562
58621
  color: token === null || token === void 0 ? void 0 : (_token$layout23 = token.layout) === null || _token$layout23 === void 0 ? void 0 : (_token$layout23$heade = _token$layout23.header) === null || _token$layout23$heade === void 0 ? void 0 : _token$layout23$heade.colorTextMenuActive
58563
58622
  })), defineProperty_defineProperty(_$concat8, "".concat(token.antCls, "-menu-item-selected"), {
58564
58623
  color: token === null || token === void 0 ? void 0 : (_token$layout24 = token.layout) === null || _token$layout24 === void 0 ? void 0 : (_token$layout24$heade = _token$layout24.header) === null || _token$layout24$heade === void 0 ? void 0 : _token$layout24$heade.colorTextMenuSelected,
58565
- borderRadius: token.radiusBase,
58624
+ borderRadius: token.borderRadius,
58566
58625
  backgroundColor: token === null || token === void 0 ? void 0 : (_token$layout25 = token.layout) === null || _token$layout25 === void 0 ? void 0 : (_token$layout25$heade = _token$layout25.header) === null || _token$layout25$heade === void 0 ? void 0 : _token$layout25$heade.colorBgMenuItemSelected
58567
58626
  }), _$concat8)), _$concat9)), _token$componentCls)), defineProperty_defineProperty(_ref, "".concat(token.antCls, "-menu-sub").concat(token.antCls, "-menu-inline"), {
58568
58627
  backgroundColor: 'transparent!important'
@@ -58581,11 +58640,11 @@ var compatibleStyle = function compatibleStyle(token) {
58581
58640
  color: token === null || token === void 0 ? void 0 : (_token$layout27 = token.layout) === null || _token$layout27 === void 0 ? void 0 : (_token$layout27$sider = _token$layout27.sider) === null || _token$layout27$sider === void 0 ? void 0 : _token$layout27$sider.colorTextMenuSelected
58582
58641
  }), defineProperty_defineProperty(_$concat11, "".concat(token.antCls, "-menu:not(").concat(token.antCls, "-menu-horizontal)"), (_$concat$concat2 = {}, defineProperty_defineProperty(_$concat$concat2, "".concat(token.antCls, "-menu-item-selected"), {
58583
58642
  backgroundColor: 'rgba(0, 0, 0, 0.04)',
58584
- borderRadius: token.radiusBase,
58643
+ borderRadius: token.borderRadius,
58585
58644
  color: token === null || token === void 0 ? void 0 : (_token$layout28 = token.layout) === null || _token$layout28 === void 0 ? void 0 : (_token$layout28$sider = _token$layout28.sider) === null || _token$layout28$sider === void 0 ? void 0 : _token$layout28$sider.colorTextMenuSelected
58586
58645
  }), defineProperty_defineProperty(_$concat$concat2, "".concat(token.antCls, "-menu-item:hover, \n ").concat(token.antCls, "-menu-item-active,\n ").concat(token.antCls, "-menu-submenu-title:hover"), defineProperty_defineProperty({
58587
58646
  color: token === null || token === void 0 ? void 0 : (_token$layout29 = token.layout) === null || _token$layout29 === void 0 ? void 0 : (_token$layout29$sider = _token$layout29.sider) === null || _token$layout29$sider === void 0 ? void 0 : _token$layout29$sider.colorTextMenuActive,
58588
- borderRadius: token.radiusBase
58647
+ borderRadius: token.borderRadius
58589
58648
  }, "".concat(token.antCls, "-menu-submenu-arrow"), {
58590
58649
  color: token === null || token === void 0 ? void 0 : (_token$layout30 = token.layout) === null || _token$layout30 === void 0 ? void 0 : (_token$layout30$sider = _token$layout30.sider) === null || _token$layout30$sider === void 0 ? void 0 : _token$layout30$sider.colorTextMenuActive
58591
58650
  })), _$concat$concat2)), _$concat11)), _ref;
@@ -59326,7 +59385,7 @@ var ProLayout_ProLayout = function ProLayout(props) {
59326
59385
  theme: {
59327
59386
  hashed: ((_process$env$NODE_ENV = "production") === null || _process$env$NODE_ENV === void 0 ? void 0 : _process$env$NODE_ENV.toLowerCase()) !== 'test',
59328
59387
  token: {
59329
- radiusBase: 4,
59388
+ borderRadius: 4,
59330
59389
  colorPrimary: colorPrimary || '#1677FF',
59331
59390
  colorError: '#ff4d4f',
59332
59391
  colorInfo: '#1677FF'
@@ -60826,7 +60885,7 @@ var Alert_style_genProStyle = function genProStyle(token) {
60826
60885
  return defineProperty_defineProperty({}, token.componentCls, {
60827
60886
  marginBlockEnd: 16,
60828
60887
  backgroundColor: 'rgba(0,0,0,0.02)',
60829
- borderRadius: token.radiusBase,
60888
+ borderRadius: token.borderRadius,
60830
60889
  border: '0.5px solid #BFBFBF',
60831
60890
  '&-container': {
60832
60891
  paddingBlock: token.paddingSM,
@@ -69914,7 +69973,7 @@ function conductCheck(keyList, checked, keyEntities, getCheckDisabled) {
69914
69973
  * Developer should confirm it's safe to ignore themselves.
69915
69974
  */
69916
69975
 
69917
- function useState_useSafeState(defaultValue) {
69976
+ function useSafeState(defaultValue) {
69918
69977
  var destroyRef = external_React_.useRef(false);
69919
69978
  var _React$useState = external_React_.useState(defaultValue),
69920
69979
  _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
@@ -69962,7 +70021,7 @@ function useMergedState_useMergedState(defaultStateValue, option) {
69962
70021
  onChange = _ref.onChange,
69963
70022
  postState = _ref.postState; // ======================= Init =======================
69964
70023
 
69965
- var _useState = useState_useSafeState(function () {
70024
+ var _useState = useSafeState(function () {
69966
70025
  var finalValue = undefined;
69967
70026
  var source;
69968
70027
  if (hasValue(value)) {
@@ -70335,6 +70394,11 @@ function statisticToken(token) {
70335
70394
 
70336
70395
 
70337
70396
 
70397
+ var textEllipsis = {
70398
+ overflow: 'hidden',
70399
+ whiteSpace: 'nowrap',
70400
+ textOverflow: 'ellipsis'
70401
+ };
70338
70402
  var style_resetComponent = function resetComponent(token) {
70339
70403
  return {
70340
70404
  boxSizing: 'border-box',
@@ -70449,12 +70513,38 @@ var genFocusStyle = function genFocusStyle(token) {
70449
70513
  };
70450
70514
  };
70451
70515
  ;// CONCATENATED MODULE: ./node_modules/antd/es/version/version.js
70452
- /* harmony default export */ var version = ('5.0.0-alpha.4');
70516
+ /* harmony default export */ var version = ('5.0.0-alpha.34');
70453
70517
  ;// CONCATENATED MODULE: ./node_modules/antd/es/version/index.js
70454
70518
  /* eslint import/no-unresolved: 0 */
70455
70519
  // @ts-ignore
70456
70520
 
70457
70521
  /* harmony default export */ var es_version = (version);
70522
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genControlHeight.js
70523
+ var genControlHeight = function genControlHeight(token) {
70524
+ var controlHeight = token.controlHeight;
70525
+ return {
70526
+ controlHeightSM: controlHeight * 0.75,
70527
+ controlHeightXS: controlHeight * 0.5,
70528
+ controlHeightLG: controlHeight * 1.25
70529
+ };
70530
+ };
70531
+ /* harmony default export */ var shared_genControlHeight = (genControlHeight);
70532
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genSizeMapToken.js
70533
+ function genSizeMapToken(token) {
70534
+ var sizeUnit = token.sizeUnit,
70535
+ sizeStep = token.sizeStep;
70536
+ return {
70537
+ sizeXXL: sizeUnit * (sizeStep + 8),
70538
+ sizeXL: sizeUnit * (sizeStep + 4),
70539
+ sizeLG: sizeUnit * (sizeStep + 2),
70540
+ sizeMD: sizeUnit * (sizeStep + 1),
70541
+ sizeMS: sizeUnit * sizeStep,
70542
+ size: sizeUnit * sizeStep,
70543
+ sizeSM: sizeUnit * (sizeStep - 1),
70544
+ sizeXS: sizeUnit * (sizeStep - 2),
70545
+ sizeXXS: sizeUnit * (sizeStep - 3) // 4
70546
+ };
70547
+ }
70458
70548
  ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/seed.js
70459
70549
 
70460
70550
  var defaultPresetColors = {
@@ -70480,14 +70570,10 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
70480
70570
  colorError: '#f5222d',
70481
70571
  colorInfo: '#1677ff',
70482
70572
  colorTextBase: '',
70483
- colorTextLightSolid: '#fff',
70484
70573
  colorBgBase: '',
70485
70574
  // Font
70486
70575
  fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",
70487
- fontSizeBase: 14,
70488
- // Grid
70489
- gridUnit: 4,
70490
- gridBaseStep: 2,
70576
+ fontSize: 14,
70491
70577
  // Line
70492
70578
  lineWidth: 1,
70493
70579
  lineType: 'solid',
@@ -70502,10 +70588,10 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
70502
70588
  motionEaseInQuint: "cubic-bezier(0.645, 0.045, 0.355, 1)",
70503
70589
  motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
70504
70590
  // Radius
70505
- radiusBase: 6,
70591
+ borderRadius: 6,
70506
70592
  // Size
70507
70593
  sizeUnit: 4,
70508
- sizeBaseStep: 4,
70594
+ sizeStep: 4,
70509
70595
  sizePopupArrow: 16,
70510
70596
  // Control Base
70511
70597
  controlHeight: 32,
@@ -70588,7 +70674,8 @@ function genColorMapToken(seed, _ref) {
70588
70674
  colorInfoTextHover: infoColors[8],
70589
70675
  colorInfoText: infoColors[9],
70590
70676
  colorInfoTextActive: infoColors[10],
70591
- colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString()
70677
+ colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString(),
70678
+ colorWhite: '#fff'
70592
70679
  });
70593
70680
  }
70594
70681
  ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/shared/genFontSizes.js
@@ -70649,11 +70736,11 @@ var genRadius = function genRadius(radiusBase) {
70649
70736
  radiusOuter = 6;
70650
70737
  }
70651
70738
  return {
70652
- radiusBase: radiusBase > 16 ? 16 : radiusBase,
70653
- radiusXS: radiusXS,
70654
- radiusSM: radiusSM,
70655
- radiusLG: radiusLG,
70656
- radiusOuter: radiusOuter
70739
+ borderRadius: radiusBase > 16 ? 16 : radiusBase,
70740
+ borderRadiusXS: radiusXS,
70741
+ borderRadiusSM: radiusSM,
70742
+ borderRadiusLG: radiusLG,
70743
+ borderRadiusOuter: radiusOuter
70657
70744
  };
70658
70745
  };
70659
70746
  /* harmony default export */ var shared_genRadius = (genRadius);
@@ -70664,18 +70751,13 @@ var genRadius = function genRadius(radiusBase) {
70664
70751
  function genCommonMapToken(token) {
70665
70752
  var motionUnit = token.motionUnit,
70666
70753
  motionBase = token.motionBase,
70667
- fontSizeBase = token.fontSizeBase,
70668
- sizeUnit = token.sizeUnit,
70669
- sizeBaseStep = token.sizeBaseStep,
70670
- gridUnit = token.gridUnit,
70671
- gridBaseStep = token.gridBaseStep,
70672
- radiusBase = token.radiusBase,
70673
- controlHeight = token.controlHeight,
70754
+ fontSize = token.fontSize,
70755
+ borderRadius = token.borderRadius,
70674
70756
  lineWidth = token.lineWidth;
70675
- var fontSizes = getFontSizes(fontSizeBase);
70676
- return extends_extends(extends_extends({
70757
+ var fontSizes = getFontSizes(fontSize);
70758
+ return extends_extends({
70677
70759
  // motion
70678
- motionDurationFast: "".concat((motionBase + motionUnit * 1).toFixed(1), "s"),
70760
+ motionDurationFast: "".concat((motionBase + motionUnit).toFixed(1), "s"),
70679
70761
  motionDurationMid: "".concat((motionBase + motionUnit * 2).toFixed(1), "s"),
70680
70762
  motionDurationSlow: "".concat((motionBase + motionUnit * 3).toFixed(1), "s"),
70681
70763
  // font
@@ -70685,25 +70767,9 @@ function genCommonMapToken(token) {
70685
70767
  lineHeights: fontSizes.map(function (fs) {
70686
70768
  return fs.lineHeight;
70687
70769
  }),
70688
- // size
70689
- sizeSpaceSM: sizeUnit * (sizeBaseStep - 1),
70690
- sizeSpace: sizeUnit * sizeBaseStep,
70691
- sizeSpaceXS: sizeUnit * (sizeBaseStep - 2),
70692
- sizeSpaceXXS: sizeUnit * (sizeBaseStep - 3),
70693
- // grid
70694
- gridSpaceSM: gridUnit * (gridBaseStep - 1),
70695
- gridSpaceBase: gridUnit * gridBaseStep,
70696
- gridSpaceLG: gridUnit * (gridBaseStep + 1),
70697
- gridSpaceXL: gridUnit * (gridBaseStep + 2),
70698
- gridSpaceXXL: gridUnit * (gridBaseStep + 5),
70699
70770
  // line
70700
70771
  lineWidthBold: lineWidth + 1
70701
- }, shared_genRadius(radiusBase)), {
70702
- // control
70703
- controlHeightSM: controlHeight * 0.75,
70704
- controlHeightXS: controlHeight * 0.5,
70705
- controlHeightLG: controlHeight * 1.25
70706
- });
70772
+ }, shared_genRadius(borderRadius));
70707
70773
  }
70708
70774
  ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/themes/default/colorAlgorithm.js
70709
70775
 
@@ -70765,6 +70831,8 @@ var generateNeutralColorPalettes = function generateNeutralColorPalettes(bgBaseC
70765
70831
 
70766
70832
 
70767
70833
 
70834
+
70835
+
70768
70836
  function derivative(token) {
70769
70837
  var colorPalettes = Object.keys(defaultPresetColors).map(function (colorKey) {
70770
70838
  var colors = (0,index_esm.generate)(token[colorKey]);
@@ -70776,10 +70844,10 @@ function derivative(token) {
70776
70844
  prev = extends_extends(extends_extends({}, prev), cur);
70777
70845
  return prev;
70778
70846
  }, {});
70779
- return extends_extends(extends_extends(extends_extends(extends_extends({}, token), colorPalettes), genColorMapToken(token, {
70847
+ return extends_extends(extends_extends(extends_extends(extends_extends(extends_extends(extends_extends({}, token), colorPalettes), genColorMapToken(token, {
70780
70848
  generateColorPalettes: generateColorPalettes,
70781
70849
  generateNeutralColorPalettes: generateNeutralColorPalettes
70782
- })), genCommonMapToken(token));
70850
+ })), genSizeMapToken(token)), shared_genControlHeight(token)), genCommonMapToken(token));
70783
70851
  }
70784
70852
  ;// CONCATENATED MODULE: ./node_modules/antd/es/theme/util/getAlphaColor.js
70785
70853
 
@@ -70876,6 +70944,7 @@ function formatToken(derivativeToken) {
70876
70944
  colorTextHeading: mergedToken.colorText,
70877
70945
  colorTextLabel: mergedToken.colorTextSecondary,
70878
70946
  colorTextDescription: mergedToken.colorTextTertiary,
70947
+ colorTextLightSolid: mergedToken.colorWhite,
70879
70948
  colorHighlight: mergedToken.colorError,
70880
70949
  colorBgTextHover: mergedToken.colorFillSecondary,
70881
70950
  colorBgTextActive: mergedToken.colorFill,
@@ -70903,7 +70972,7 @@ function formatToken(derivativeToken) {
70903
70972
  lineHeightHeading4: lineHeights[3],
70904
70973
  lineHeightHeading5: lineHeights[2],
70905
70974
  // Control
70906
- controlLineWidth: mergedToken.lineWidth,
70975
+ lineWidth: mergedToken.lineWidth,
70907
70976
  controlOutlineWidth: mergedToken.lineWidth * 2,
70908
70977
  // Checkbox size and expand icon size
70909
70978
  controlInteractiveSize: mergedToken.controlHeight / 2,
@@ -70913,11 +70982,11 @@ function formatToken(derivativeToken) {
70913
70982
  controlItemBgActiveDisabled: mergedToken.colorFill,
70914
70983
  controlTmpOutline: mergedToken.colorFillQuaternary,
70915
70984
  controlOutline: util_getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer),
70916
- controlLineType: mergedToken.lineType,
70917
- controlRadius: mergedToken.radiusBase,
70918
- controlRadiusXS: mergedToken.radiusXS,
70919
- controlRadiusSM: mergedToken.radiusSM,
70920
- controlRadiusLG: mergedToken.radiusLG,
70985
+ lineType: mergedToken.lineType,
70986
+ borderRadius: mergedToken.borderRadius,
70987
+ borderRadiusXS: mergedToken.borderRadiusXS,
70988
+ borderRadiusSM: mergedToken.borderRadiusSM,
70989
+ borderRadiusLG: mergedToken.borderRadiusLG,
70921
70990
  fontWeightStrong: 600,
70922
70991
  opacityLoading: 0.65,
70923
70992
  linkDecoration: 'none',
@@ -70925,21 +70994,27 @@ function formatToken(derivativeToken) {
70925
70994
  linkFocusDecoration: 'none',
70926
70995
  controlPaddingHorizontal: 12,
70927
70996
  controlPaddingHorizontalSM: 8,
70928
- padding: 16,
70929
- margin: 16,
70930
- paddingXXS: 4,
70931
- paddingXS: 8,
70932
- paddingSM: 12,
70933
- paddingLG: 24,
70934
- paddingXL: 32,
70935
- paddingTmp: 20,
70936
- marginXXS: 4,
70937
- marginXS: 8,
70938
- marginSM: 12,
70939
- marginLG: 24,
70940
- marginXL: 32,
70941
- marginXXL: 48,
70942
- marginTmp: 20,
70997
+ paddingXXS: mergedToken.sizeXXS,
70998
+ paddingXS: mergedToken.sizeXS,
70999
+ paddingSM: mergedToken.sizeSM,
71000
+ padding: mergedToken.size,
71001
+ paddingMD: mergedToken.sizeMD,
71002
+ paddingLG: mergedToken.sizeLG,
71003
+ paddingXL: mergedToken.sizeXL,
71004
+ paddingContentHorizontalLG: mergedToken.sizeLG,
71005
+ paddingContentVerticalLG: mergedToken.sizeMS,
71006
+ paddingContentHorizontal: mergedToken.sizeMS,
71007
+ paddingContentVertical: mergedToken.sizeSM,
71008
+ paddingContentHorizontalSM: mergedToken.size,
71009
+ paddingContentVerticalSM: mergedToken.sizeXS,
71010
+ marginXXS: mergedToken.sizeXXS,
71011
+ marginXS: mergedToken.sizeXS,
71012
+ marginSM: mergedToken.sizeSM,
71013
+ margin: mergedToken.size,
71014
+ marginMD: mergedToken.sizeMD,
71015
+ marginLG: mergedToken.sizeLG,
71016
+ marginXL: mergedToken.sizeXL,
71017
+ marginXXL: mergedToken.sizeXXL,
70943
71018
  boxShadow: "\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",
70944
71019
  boxShadowSecondary: "\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",
70945
71020
  screenXS: screenXS,
@@ -71150,8 +71225,8 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
71150
71225
  height: token.checkboxSize,
71151
71226
  direction: 'ltr',
71152
71227
  backgroundColor: token.colorBgContainer,
71153
- border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " ").concat(token.colorBorder),
71154
- borderRadius: token.controlRadiusSM,
71228
+ border: "".concat(token.lineWidth, "px ").concat(token.lineType, " ").concat(token.colorBorder),
71229
+ borderRadius: token.borderRadiusSM,
71155
71230
  borderCollapse: 'separate',
71156
71231
  transition: "all ".concat(token.motionDurationFast),
71157
71232
  '&:after': {
@@ -71162,7 +71237,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
71162
71237
  display: 'table',
71163
71238
  width: token.checkboxSize / 14 * 5,
71164
71239
  height: token.checkboxSize / 14 * 8,
71165
- border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorBgContainer),
71240
+ border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorWhite),
71166
71241
  borderTop: 0,
71167
71242
  borderInlineStart: 0,
71168
71243
  transform: 'rotate(45deg) scale(0) translate(-50%,-50%)',
@@ -71209,7 +71284,7 @@ var genCheckboxStyle = function genCheckboxStyle(token) {
71209
71284
  insetInlineStart: 0,
71210
71285
  width: '100%',
71211
71286
  height: '100%',
71212
- borderRadius: token.controlRadiusSM,
71287
+ borderRadius: token.borderRadiusSM,
71213
71288
  visibility: 'hidden',
71214
71289
  border: "".concat(token.lineWidthBold, "px solid ").concat(token.colorPrimary),
71215
71290
  animationName: antCheckboxEffect,
@@ -71332,7 +71407,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
71332
71407
  }
71333
71408
  var opts = getOptions();
71334
71409
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(function (val) {
71335
- return registeredValues.indexOf(val) !== -1;
71410
+ return registeredValues.includes(val);
71336
71411
  }).sort(function (a, b) {
71337
71412
  var indexA = opts.findIndex(function (opt) {
71338
71413
  return opt.value === a;
@@ -71357,7 +71432,7 @@ var InternalCheckboxGroup = function InternalCheckboxGroup(_a, ref) {
71357
71432
  key: option.value.toString(),
71358
71433
  disabled: 'disabled' in option ? option.disabled : restProps.disabled,
71359
71434
  value: option.value,
71360
- checked: value.indexOf(option.value) !== -1,
71435
+ checked: value.includes(option.value),
71361
71436
  onChange: option.onChange,
71362
71437
  className: "".concat(groupPrefixCls, "-item"),
71363
71438
  style: option.style
@@ -71482,7 +71557,7 @@ var InternalCheckbox = function InternalCheckbox(_a, ref) {
71482
71557
  }
71483
71558
  };
71484
71559
  checkboxProps.name = checkboxGroup.name;
71485
- checkboxProps.checked = checkboxGroup.value.indexOf(restProps.value) !== -1;
71560
+ checkboxProps.checked = checkboxGroup.value.includes(restProps.value);
71486
71561
  }
71487
71562
  var classString = classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper"), true), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper-checked"), checkboxProps.checked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper-disabled"), mergedDisabled), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrapper-in-form-item"), isFormItemInput), _classNames), className, hashId);
71488
71563
  var checkboxClass = classnames_default()(defineProperty_defineProperty({}, "".concat(prefixCls, "-indeterminate"), indeterminate), hashId);
@@ -71768,7 +71843,7 @@ function isActive(step) {
71768
71843
  return step === STEP_ACTIVE || step === STEP_ACTIVATED;
71769
71844
  }
71770
71845
  /* harmony default export */ var useStepQueue = (function (status, callback) {
71771
- var _useState = useState_useSafeState(STEP_NONE),
71846
+ var _useState = useSafeState(STEP_NONE),
71772
71847
  _useState2 = slicedToArray_slicedToArray(_useState, 2),
71773
71848
  step = _useState2[0],
71774
71849
  setStep = _useState2[1];
@@ -71887,15 +71962,15 @@ function useStatus(supportMotion, visible, getElement, _ref) {
71887
71962
  onVisibleChanged = _ref.onVisibleChanged;
71888
71963
 
71889
71964
  // Used for outer render usage to avoid `visible: false & status: none` to render nothing
71890
- var _useState = useState_useSafeState(),
71965
+ var _useState = useSafeState(),
71891
71966
  _useState2 = slicedToArray_slicedToArray(_useState, 2),
71892
71967
  asyncVisible = _useState2[0],
71893
71968
  setAsyncVisible = _useState2[1];
71894
- var _useState3 = useState_useSafeState(STATUS_NONE),
71969
+ var _useState3 = useSafeState(STATUS_NONE),
71895
71970
  _useState4 = slicedToArray_slicedToArray(_useState3, 2),
71896
71971
  status = _useState4[0],
71897
71972
  setStatus = _useState4[1];
71898
- var _useState5 = useState_useSafeState(null),
71973
+ var _useState5 = useSafeState(null),
71899
71974
  _useState6 = slicedToArray_slicedToArray(_useState5, 2),
71900
71975
  style = _useState6[0],
71901
71976
  setStyle = _useState6[1];
@@ -73921,7 +73996,7 @@ RcAlign.displayName = 'Align';
73921
73996
 
73922
73997
  var StatusQueue = ['measure', 'alignPre', 'align', null, 'motion'];
73923
73998
  /* harmony default export */ var useVisibleStatus = (function (visible, doMeasure) {
73924
- var _useState = useState_useSafeState(null),
73999
+ var _useState = useSafeState(null),
73925
74000
  _useState2 = slicedToArray_slicedToArray(_useState, 2),
73926
74001
  status = _useState2[0],
73927
74002
  setInternalStatus = _useState2[1];
@@ -76003,14 +76078,14 @@ var date_picker_locale_en_US_locale = {
76003
76078
  ;// CONCATENATED MODULE: ./node_modules/antd/es/calendar/locale/en_US.js
76004
76079
 
76005
76080
  /* harmony default export */ var calendar_locale_en_US = (date_picker_locale_en_US);
76006
- ;// CONCATENATED MODULE: ./node_modules/antd/es/locale/default.js
76081
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/locale/en_US.js
76007
76082
  /* eslint-disable no-template-curly-in-string */
76008
76083
 
76009
76084
 
76010
76085
 
76011
76086
 
76012
- var default_typeTemplate = '${label} is not a valid ${type}';
76013
- var default_localeValues = {
76087
+ var en_US_typeTemplate = '${label} is not a valid ${type}';
76088
+ var en_US_localeValues = {
76014
76089
  locale: 'en',
76015
76090
  Pagination: locale_en_US,
76016
76091
  DatePicker: date_picker_locale_en_US,
@@ -76038,6 +76113,11 @@ var default_localeValues = {
76038
76113
  triggerAsc: 'Click to sort ascending',
76039
76114
  cancelSort: 'Click to cancel sorting'
76040
76115
  },
76116
+ Tour: {
76117
+ Next: 'Next',
76118
+ Previous: 'Previous',
76119
+ Finish: 'Finish'
76120
+ },
76041
76121
  Modal: {
76042
76122
  okText: 'OK',
76043
76123
  cancelText: 'Cancel',
@@ -76094,19 +76174,19 @@ var default_localeValues = {
76094
76174
  invalid: '${label} is an invalid date'
76095
76175
  },
76096
76176
  types: {
76097
- string: default_typeTemplate,
76098
- method: default_typeTemplate,
76099
- array: default_typeTemplate,
76100
- object: default_typeTemplate,
76101
- number: default_typeTemplate,
76102
- date: default_typeTemplate,
76103
- "boolean": default_typeTemplate,
76104
- integer: default_typeTemplate,
76105
- "float": default_typeTemplate,
76106
- regexp: default_typeTemplate,
76107
- email: default_typeTemplate,
76108
- url: default_typeTemplate,
76109
- hex: default_typeTemplate
76177
+ string: en_US_typeTemplate,
76178
+ method: en_US_typeTemplate,
76179
+ array: en_US_typeTemplate,
76180
+ object: en_US_typeTemplate,
76181
+ number: en_US_typeTemplate,
76182
+ date: en_US_typeTemplate,
76183
+ "boolean": en_US_typeTemplate,
76184
+ integer: en_US_typeTemplate,
76185
+ "float": en_US_typeTemplate,
76186
+ regexp: en_US_typeTemplate,
76187
+ email: en_US_typeTemplate,
76188
+ url: en_US_typeTemplate,
76189
+ hex: en_US_typeTemplate
76110
76190
  },
76111
76191
  string: {
76112
76192
  len: '${label} must be ${len} characters',
@@ -76135,16 +76215,16 @@ var default_localeValues = {
76135
76215
  preview: 'Preview'
76136
76216
  }
76137
76217
  };
76138
- /* harmony default export */ var locale_default = (default_localeValues);
76218
+ /* harmony default export */ var antd_es_locale_en_US = (en_US_localeValues);
76139
76219
  ;// CONCATENATED MODULE: ./node_modules/antd/es/modal/locale.js
76140
76220
 
76141
76221
 
76142
- var runtimeLocale = extends_extends({}, locale_default.Modal);
76222
+ var runtimeLocale = extends_extends({}, antd_es_locale_en_US.Modal);
76143
76223
  function changeConfirmLocale(newLocale) {
76144
76224
  if (newLocale) {
76145
76225
  runtimeLocale = extends_extends(extends_extends({}, runtimeLocale), newLocale);
76146
76226
  } else {
76147
- runtimeLocale = extends_extends({}, locale_default.Modal);
76227
+ runtimeLocale = extends_extends({}, antd_es_locale_en_US.Modal);
76148
76228
  }
76149
76229
  }
76150
76230
  function getConfirmLocale() {
@@ -76183,9 +76263,6 @@ var LocaleProvider = function LocaleProvider(props) {
76183
76263
  }, children);
76184
76264
  };
76185
76265
  /* harmony default export */ var locale_provider = (LocaleProvider);
76186
- ;// CONCATENATED MODULE: ./node_modules/antd/es/locale-provider/default.js
76187
-
76188
- /* harmony default export */ var locale_provider_default = (locale_default);
76189
76266
  ;// CONCATENATED MODULE: ./node_modules/antd/es/locale-provider/LocaleReceiver.js
76190
76267
 
76191
76268
 
@@ -76199,7 +76276,7 @@ var LocaleReceiver = function LocaleReceiver(props) {
76199
76276
  var antLocale = external_React_.useContext(locale_provider_context);
76200
76277
  var getLocale = external_React_.useMemo(function () {
76201
76278
  var _a;
76202
- var locale = defaultLocale || locale_provider_default[componentName];
76279
+ var locale = defaultLocale || antd_es_locale_en_US[componentName];
76203
76280
  var localeFromContext = (_a = antLocale === null || antLocale === void 0 ? void 0 : antLocale[componentName]) !== null && _a !== void 0 ? _a : {};
76204
76281
  return extends_extends(extends_extends({}, locale instanceof Function ? locale() : locale), localeFromContext || {});
76205
76282
  }, [componentName, defaultLocale, antLocale]);
@@ -76207,7 +76284,7 @@ var LocaleReceiver = function LocaleReceiver(props) {
76207
76284
  var localeCode = antLocale && antLocale.locale;
76208
76285
  // Had use LocaleProvide but didn't set locale
76209
76286
  if (antLocale && antLocale.exist && !localeCode) {
76210
- return locale_provider_default.locale;
76287
+ return antd_es_locale_en_US.locale;
76211
76288
  }
76212
76289
  return localeCode;
76213
76290
  }, [antLocale]);
@@ -76494,7 +76571,7 @@ var ProviderChildren = function ProviderChildren(props) {
76494
76571
  // Additional Form provider
76495
76572
  var validateMessages = {};
76496
76573
  if (locale) {
76497
- validateMessages = ((_a = locale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || ((_b = locale_default.Form) === null || _b === void 0 ? void 0 : _b.defaultValidateMessages) || {};
76574
+ validateMessages = ((_a = locale.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || ((_b = antd_es_locale_en_US.Form) === null || _b === void 0 ? void 0 : _b.defaultValidateMessages) || {};
76498
76575
  }
76499
76576
  if (form && form.validateMessages) {
76500
76577
  validateMessages = extends_extends(extends_extends({}, validateMessages), form.validateMessages);
@@ -76841,6 +76918,154 @@ var tupleNum = function tupleNum() {
76841
76918
  }
76842
76919
  return args;
76843
76920
  };
76921
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/style/compact.js
76922
+
76923
+ var genSpaceCompactStyle = function genSpaceCompactStyle(token) {
76924
+ var componentCls = token.componentCls;
76925
+ return defineProperty_defineProperty({}, componentCls, {
76926
+ display: 'inline-flex',
76927
+ '&-block': {
76928
+ display: 'flex',
76929
+ width: '100%'
76930
+ },
76931
+ '&-vertical': {
76932
+ flexDirection: 'column'
76933
+ }
76934
+ });
76935
+ };
76936
+ // ============================== Export ==============================
76937
+ /* harmony default export */ var compact = (genSpaceCompactStyle);
76938
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/style/index.js
76939
+
76940
+
76941
+
76942
+ var genSpaceStyle = function genSpaceStyle(token) {
76943
+ var componentCls = token.componentCls;
76944
+ return defineProperty_defineProperty({}, componentCls, defineProperty_defineProperty({
76945
+ display: 'inline-flex',
76946
+ '&-rtl': {
76947
+ direction: 'rtl'
76948
+ },
76949
+ '&-vertical': {
76950
+ flexDirection: 'column'
76951
+ },
76952
+ '&-align': {
76953
+ flexDirection: 'column',
76954
+ '&-center': {
76955
+ alignItems: 'center'
76956
+ },
76957
+ '&-start': {
76958
+ alignItems: 'flex-start'
76959
+ },
76960
+ '&-end': {
76961
+ alignItems: 'flex-end'
76962
+ },
76963
+ '&-baseline': {
76964
+ alignItems: 'flex-baseline'
76965
+ }
76966
+ }
76967
+ }, "".concat(componentCls, "-space-item"), {
76968
+ '&:empty': {
76969
+ display: 'none'
76970
+ }
76971
+ }));
76972
+ };
76973
+ // ============================== Export ==============================
76974
+ /* harmony default export */ var space_style = (genComponentStyleHook('Space', function (token) {
76975
+ return [genSpaceStyle(token), compact(token)];
76976
+ }));
76977
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/Compact.js
76978
+
76979
+
76980
+
76981
+ var Compact_rest = undefined && undefined.__rest || function (s, e) {
76982
+ var t = {};
76983
+ for (var p in s) {
76984
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
76985
+ }
76986
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76987
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
76988
+ }
76989
+ return t;
76990
+ };
76991
+
76992
+
76993
+
76994
+
76995
+
76996
+ var SpaceCompactItemContext = /*#__PURE__*/external_React_.createContext(null);
76997
+ var useCompactItemContext = function useCompactItemContext(prefixCls, direction) {
76998
+ var compactItemContext = external_React_.useContext(SpaceCompactItemContext);
76999
+ var compactItemClassnames = external_React_.useMemo(function () {
77000
+ var _classNames;
77001
+ if (!compactItemContext) return '';
77002
+ var compactDirection = compactItemContext.compactDirection,
77003
+ isFirstItem = compactItemContext.isFirstItem,
77004
+ isLastItem = compactItemContext.isLastItem;
77005
+ var separator = compactDirection === 'vertical' ? '-vertical-' : '-';
77006
+ return classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "item"), true), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "first-item"), isFirstItem), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "last-item"), isLastItem), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-compact").concat(separator, "item-rtl"), direction === 'rtl'), _classNames));
77007
+ }, [prefixCls, direction, compactItemContext]);
77008
+ return {
77009
+ compactSize: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactSize,
77010
+ compactDirection: compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.compactDirection,
77011
+ compactItemClassnames: compactItemClassnames
77012
+ };
77013
+ };
77014
+ var NoCompactStyle = function NoCompactStyle(_ref) {
77015
+ var children = _ref.children;
77016
+ return /*#__PURE__*/React.createElement(SpaceCompactItemContext.Provider, {
77017
+ value: null
77018
+ }, children);
77019
+ };
77020
+ var CompactItem = function CompactItem(_a) {
77021
+ var children = _a.children,
77022
+ otherProps = Compact_rest(_a, ["children"]);
77023
+ return /*#__PURE__*/external_React_.createElement(SpaceCompactItemContext.Provider, {
77024
+ value: otherProps
77025
+ }, children);
77026
+ };
77027
+ var Compact = function Compact(props) {
77028
+ var _classNames2;
77029
+ var _React$useContext = external_React_.useContext(context_ConfigContext),
77030
+ getPrefixCls = _React$useContext.getPrefixCls,
77031
+ directionConfig = _React$useContext.direction;
77032
+ var _props$size = props.size,
77033
+ size = _props$size === void 0 ? 'middle' : _props$size,
77034
+ direction = props.direction,
77035
+ block = props.block,
77036
+ customizePrefixCls = props.prefixCls,
77037
+ className = props.className,
77038
+ children = props.children,
77039
+ restProps = Compact_rest(props, ["size", "direction", "block", "prefixCls", "className", "children"]);
77040
+ var prefixCls = getPrefixCls('space-compact', customizePrefixCls);
77041
+ var _useStyle = space_style(prefixCls),
77042
+ _useStyle2 = slicedToArray_slicedToArray(_useStyle, 2),
77043
+ wrapSSR = _useStyle2[0],
77044
+ hashId = _useStyle2[1];
77045
+ var clx = classnames_default()(prefixCls, hashId, (_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-vertical"), direction === 'vertical'), _classNames2), className);
77046
+ var compactItemContext = external_React_.useContext(SpaceCompactItemContext);
77047
+ var childNodes = toArray_toArray(children);
77048
+ var nodes = external_React_.useMemo(function () {
77049
+ return childNodes.map(function (child, i) {
77050
+ var key = child && child.key || "".concat(prefixCls, "-item-").concat(i);
77051
+ return /*#__PURE__*/external_React_.createElement(CompactItem, {
77052
+ key: key,
77053
+ compactSize: size,
77054
+ compactDirection: direction,
77055
+ isFirstItem: i === 0 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isFirstItem)),
77056
+ isLastItem: i === childNodes.length - 1 && (!compactItemContext || (compactItemContext === null || compactItemContext === void 0 ? void 0 : compactItemContext.isLastItem))
77057
+ }, child);
77058
+ });
77059
+ }, [size, childNodes, compactItemContext]);
77060
+ // =========================== Render ===========================
77061
+ if (childNodes.length === 0) {
77062
+ return null;
77063
+ }
77064
+ return wrapSSR( /*#__PURE__*/external_React_.createElement("div", extends_extends({
77065
+ className: clx
77066
+ }, restProps), nodes));
77067
+ };
77068
+ /* harmony default export */ var space_Compact = (Compact);
76844
77069
  ;// CONCATENATED MODULE: ./node_modules/antd/es/_util/raf.js
76845
77070
 
76846
77071
  var id = 0;
@@ -77009,7 +77234,7 @@ var InternalWave = /*#__PURE__*/function (_React$Component) {
77009
77234
  var _this$props = _this.props,
77010
77235
  insertExtraNode = _this$props.insertExtraNode,
77011
77236
  disabled = _this$props.disabled;
77012
- if (disabled || !node || isHidden(node) || node.className.indexOf('-leave') >= 0) {
77237
+ if (disabled || !node || isHidden(node) || node.className.includes('-leave')) {
77013
77238
  return;
77014
77239
  }
77015
77240
  _this.extraNode = document.createElement('div');
@@ -77054,7 +77279,7 @@ var InternalWave = /*#__PURE__*/function (_React$Component) {
77054
77279
  _this.resetEffect(e.target);
77055
77280
  };
77056
77281
  _this.bindAnimationEvent = function (node) {
77057
- if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.indexOf('disabled') >= 0) {
77282
+ if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.includes('disabled')) {
77058
77283
  return;
77059
77284
  }
77060
77285
  var onClick = function onClick(e) {
@@ -77291,8 +77516,8 @@ var genButtonBorderStyle = function genButtonBorderStyle(buttonTypeCls, borderCo
77291
77516
  var genGroupStyle = function genGroupStyle(token) {
77292
77517
  var _componentCls, _ref2;
77293
77518
  var componentCls = token.componentCls,
77294
- fontSizeBase = token.fontSizeBase,
77295
- controlLineWidth = token.controlLineWidth,
77519
+ fontSize = token.fontSize,
77520
+ lineWidth = token.lineWidth,
77296
77521
  colorPrimaryHover = token.colorPrimaryHover,
77297
77522
  colorErrorHover = token.colorErrorHover;
77298
77523
  return defineProperty_defineProperty({}, "".concat(componentCls, "-group"), [(_ref2 = {
@@ -77304,7 +77529,7 @@ var genGroupStyle = function genGroupStyle(token) {
77304
77529
  borderEndEndRadius: 0
77305
77530
  }),
77306
77531
  '&:not(:first-child)': defineProperty_defineProperty({
77307
- marginInlineStart: -controlLineWidth
77532
+ marginInlineStart: -lineWidth
77308
77533
  }, "&, & > ".concat(componentCls), {
77309
77534
  borderStartStartRadius: 0,
77310
77535
  borderEndStartRadius: 0
@@ -77317,24 +77542,109 @@ var genGroupStyle = function genGroupStyle(token) {
77317
77542
  }), defineProperty_defineProperty(_componentCls, '&[disabled]', {
77318
77543
  zIndex: 0
77319
77544
  }), _componentCls)), defineProperty_defineProperty(_ref2, "".concat(componentCls, "-icon-only"), {
77320
- fontSize: fontSizeBase
77545
+ fontSize: fontSize
77321
77546
  }), _ref2),
77322
77547
  // Border Color
77323
77548
  genButtonBorderStyle("".concat(componentCls, "-primary"), colorPrimaryHover), genButtonBorderStyle("".concat(componentCls, "-danger"), colorErrorHover)]);
77324
77549
  };
77325
77550
  /* harmony default export */ var style_group = (genGroupStyle);
77551
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/style/compact-item.js
77552
+
77553
+
77554
+ // handle border collapse
77555
+ function compactItemBorder(token, borderedItemCls, popoverFocusedCls) {
77556
+ var childCombinator = borderedItemCls ? '> *' : '';
77557
+ return {
77558
+ '&-item:not(&-last-item)': {
77559
+ marginInlineEnd: -token.lineWidth
77560
+ },
77561
+ '&-item': extends_extends(extends_extends(defineProperty_defineProperty({}, "&:hover ".concat(childCombinator, ", &:focus ").concat(childCombinator, ", &:active ").concat(childCombinator), {
77562
+ zIndex: 2
77563
+ }), popoverFocusedCls ? defineProperty_defineProperty({}, "&".concat(popoverFocusedCls), {
77564
+ zIndex: 2
77565
+ }) : {}), defineProperty_defineProperty({}, "&[disabled] ".concat(childCombinator), {
77566
+ zIndex: 0
77567
+ }))
77568
+ };
77569
+ }
77570
+ // handle border-radius
77571
+ function compactItemBorderRadius(prefixCls, borderedElementCls) {
77572
+ var _ref2;
77573
+ var childCombinator = borderedElementCls ? "> ".concat(borderedElementCls) : '';
77574
+ return _ref2 = {}, defineProperty_defineProperty(_ref2, "&-item:not(&-first-item):not(&-last-item) ".concat(childCombinator), {
77575
+ borderRadius: 0
77576
+ }), defineProperty_defineProperty(_ref2, '&-item&-first-item', defineProperty_defineProperty({}, "& ".concat(childCombinator, ", &").concat(prefixCls, "-sm ").concat(childCombinator, ", &").concat(prefixCls, "-lg ").concat(childCombinator), {
77577
+ borderStartEndRadius: 0,
77578
+ borderEndEndRadius: 0
77579
+ })), defineProperty_defineProperty(_ref2, '&-item&-last-item', defineProperty_defineProperty({}, "& ".concat(childCombinator, ", &").concat(prefixCls, "-sm ").concat(childCombinator, ", &").concat(prefixCls, "-lg ").concat(childCombinator), {
77580
+ borderStartStartRadius: 0,
77581
+ borderEndStartRadius: 0
77582
+ })), _ref2;
77583
+ }
77584
+ function genCompactItemStyle(token, prefixCls, /** Some component borders are implemented on child elements like `Select` */
77585
+ borderedElementCls,
77586
+ /**
77587
+ * Some components have special `focus` className especially with popovers like `Select` and
77588
+ * `DatePicker`
77589
+ */
77590
+ popoverFocusedCls) {
77591
+ return {
77592
+ '&-compact': extends_extends(extends_extends({}, compactItemBorder(token, borderedElementCls, popoverFocusedCls)), compactItemBorderRadius(prefixCls, borderedElementCls))
77593
+ };
77594
+ }
77595
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/style/compact-item-vertical.js
77596
+
77597
+
77598
+ function compactItemVerticalBorder(token) {
77599
+ return {
77600
+ // border collapse
77601
+ '&-item:not(&-last-item)': {
77602
+ marginBottom: -token.lineWidth
77603
+ },
77604
+ '&-item': {
77605
+ '&:hover,&:focus,&:active': {
77606
+ zIndex: 2
77607
+ },
77608
+ '&[disabled]': {
77609
+ zIndex: 0
77610
+ }
77611
+ }
77612
+ };
77613
+ }
77614
+ function compactItemBorderVerticalRadius(prefixCls) {
77615
+ return {
77616
+ '&-item:not(&-first-item):not(&-last-item)': {
77617
+ borderRadius: 0
77618
+ },
77619
+ '&-item&-first-item': defineProperty_defineProperty({}, "&, &".concat(prefixCls, "-sm, &").concat(prefixCls, "-lg"), {
77620
+ borderEndEndRadius: 0,
77621
+ borderEndStartRadius: 0
77622
+ }),
77623
+ '&-item&-last-item': defineProperty_defineProperty({}, "&, &".concat(prefixCls, "-sm, &").concat(prefixCls, "-lg"), {
77624
+ borderStartStartRadius: 0,
77625
+ borderStartEndRadius: 0
77626
+ })
77627
+ };
77628
+ }
77629
+ function genCompactItemVerticalStyle(token, prefixCls) {
77630
+ return {
77631
+ '&-compact-vertical': extends_extends(extends_extends({}, compactItemVerticalBorder(token)), compactItemBorderVerticalRadius(prefixCls))
77632
+ };
77633
+ }
77326
77634
  ;// CONCATENATED MODULE: ./node_modules/antd/es/button/style/index.js
77327
77635
 
77328
77636
 
77329
77637
 
77330
77638
 
77331
77639
 
77640
+
77641
+
77332
77642
  // ============================== Shared ==============================
77333
77643
  var genSharedButtonStyle = function genSharedButtonStyle(token) {
77334
- var _componentCls;
77644
+ var _extends2, _extends3;
77335
77645
  var componentCls = token.componentCls,
77336
77646
  iconCls = token.iconCls;
77337
- return defineProperty_defineProperty({}, componentCls, (_componentCls = {
77647
+ return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends(extends_extends((_extends2 = {
77338
77648
  outline: 'none',
77339
77649
  position: 'relative',
77340
77650
  display: 'inline-block',
@@ -77343,7 +77653,7 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
77343
77653
  textAlign: 'center',
77344
77654
  backgroundImage: 'none',
77345
77655
  backgroundColor: 'transparent',
77346
- border: "".concat(token.controlLineWidth, "px ").concat(token.controlLineType, " transparent"),
77656
+ border: "".concat(token.lineWidth, "px ").concat(token.lineType, " transparent"),
77347
77657
  cursor: 'pointer',
77348
77658
  transition: "all ".concat(token.motionDurationFast, " ").concat(token.motionEaseInOut),
77349
77659
  userSelect: 'none',
@@ -77353,11 +77663,44 @@ var genSharedButtonStyle = function genSharedButtonStyle(token) {
77353
77663
  '> span': {
77354
77664
  display: 'inline-block'
77355
77665
  }
77356
- }, defineProperty_defineProperty(_componentCls, "> ".concat(iconCls, " + span, > span + ").concat(iconCls), {
77666
+ }, defineProperty_defineProperty(_extends2, "> ".concat(iconCls, " + span, > span + ").concat(iconCls), {
77357
77667
  marginInlineStart: token.marginXS
77358
- }), defineProperty_defineProperty(_componentCls, "&".concat(componentCls, "-block"), {
77668
+ }), defineProperty_defineProperty(_extends2, "&".concat(componentCls, "-block"), {
77359
77669
  width: '100%'
77360
- }), defineProperty_defineProperty(_componentCls, '&:not(:disabled)', extends_extends({}, genFocusStyle(token))), _componentCls));
77670
+ }), defineProperty_defineProperty(_extends2, '&:not(:disabled)', extends_extends({}, genFocusStyle(token))), _extends2), genCompactItemStyle(token, componentCls)), genCompactItemVerticalStyle(token, componentCls)), (_extends3 = {
77671
+ // make `btn-icon-only` not too narrow
77672
+ '&-icon-only&-compact-item': {
77673
+ flex: 'none'
77674
+ }
77675
+ }, defineProperty_defineProperty(_extends3, "&-compact-item".concat(componentCls, "-primary"), {
77676
+ '&:not([disabled]) + &:not([disabled])': {
77677
+ position: 'relative',
77678
+ '&:after': {
77679
+ position: 'absolute',
77680
+ top: -token.lineWidth,
77681
+ insetInlineStart: -token.lineWidth,
77682
+ display: 'inline-block',
77683
+ width: token.lineWidth,
77684
+ height: "calc(100% + ".concat(token.lineWidth * 2, "px)"),
77685
+ backgroundColor: token.colorPrimaryBorder,
77686
+ content: '""'
77687
+ }
77688
+ }
77689
+ }), defineProperty_defineProperty(_extends3, '&-compact-vertical-item', defineProperty_defineProperty({}, "&".concat(componentCls, "-primary"), {
77690
+ '&:not([disabled]) + &:not([disabled])': {
77691
+ position: 'relative',
77692
+ '&:after': {
77693
+ position: 'absolute',
77694
+ top: -token.lineWidth,
77695
+ insetInlineStart: -token.lineWidth,
77696
+ display: 'inline-block',
77697
+ width: "calc(100% + ".concat(token.lineWidth * 2, "px)"),
77698
+ height: token.lineWidth,
77699
+ backgroundColor: token.colorPrimaryBorder,
77700
+ content: '""'
77701
+ }
77702
+ }
77703
+ })), _extends3)));
77361
77704
  };
77362
77705
  var genHoverActiveButtonStyle = function genHoverActiveButtonStyle(hoverStyle, activeStyle) {
77363
77706
  return {
@@ -77532,8 +77875,8 @@ var genSizeButtonStyle = function genSizeButtonStyle(token) {
77532
77875
  var sizePrefixCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
77533
77876
  var componentCls = token.componentCls,
77534
77877
  iconCls = token.iconCls;
77535
- var paddingVertical = Math.max(0, (token.controlHeight - token.fontSize * token.lineHeight) / 2 - token.controlLineWidth);
77536
- var paddingHorizontal = token.padding - token.controlLineWidth;
77878
+ var paddingVertical = Math.max(0, (token.controlHeight - token.fontSize * token.lineHeight) / 2 - token.lineWidth);
77879
+ var paddingHorizontal = token.buttonPaddingHorizontal - token.lineWidth;
77537
77880
  var iconOnlyCls = "".concat(componentCls, "-icon-only");
77538
77881
  return [
77539
77882
  // Size
@@ -77541,7 +77884,7 @@ var genSizeButtonStyle = function genSizeButtonStyle(token) {
77541
77884
  fontSize: token.fontSize,
77542
77885
  height: token.controlHeight,
77543
77886
  padding: "".concat(paddingVertical, "px ").concat(paddingHorizontal, "px"),
77544
- borderRadius: token.controlRadius
77887
+ borderRadius: token.borderRadius
77545
77888
  }, defineProperty_defineProperty(_$concat$concat, "&".concat(iconOnlyCls), {
77546
77889
  width: token.controlHeight,
77547
77890
  paddingInlineStart: 0,
@@ -77567,7 +77910,8 @@ var genSizeSmallButtonStyle = function genSizeSmallButtonStyle(token) {
77567
77910
  var smallToken = statistic_merge(token, {
77568
77911
  controlHeight: token.controlHeightSM,
77569
77912
  padding: token.paddingXS,
77570
- controlRadius: token.controlRadiusSM
77913
+ buttonPaddingHorizontal: 8,
77914
+ borderRadius: token.borderRadiusSM
77571
77915
  });
77572
77916
  return genSizeButtonStyle(smallToken, "".concat(token.componentCls, "-sm"));
77573
77917
  };
@@ -77575,15 +77919,17 @@ var genSizeLargeButtonStyle = function genSizeLargeButtonStyle(token) {
77575
77919
  var largeToken = statistic_merge(token, {
77576
77920
  controlHeight: token.controlHeightLG,
77577
77921
  fontSize: token.fontSizeLG,
77578
- controlRadius: token.controlRadiusLG
77922
+ borderRadius: token.borderRadiusLG
77579
77923
  });
77580
77924
  return genSizeButtonStyle(largeToken, "".concat(token.componentCls, "-lg"));
77581
77925
  };
77582
77926
  // ============================== Export ==============================
77583
77927
  /* harmony default export */ var button_style = (genComponentStyleHook('Button', function (token) {
77584
- var controlTmpOutline = token.controlTmpOutline;
77928
+ var controlTmpOutline = token.controlTmpOutline,
77929
+ paddingContentHorizontal = token.paddingContentHorizontal;
77585
77930
  var buttonToken = statistic_merge(token, {
77586
- colorOutlineDefault: controlTmpOutline
77931
+ colorOutlineDefault: controlTmpOutline,
77932
+ buttonPaddingHorizontal: paddingContentHorizontal
77587
77933
  });
77588
77934
  return [
77589
77935
  // Shared
@@ -77623,6 +77969,7 @@ var button_rest = undefined && undefined.__rest || function (s, e) {
77623
77969
 
77624
77970
 
77625
77971
 
77972
+
77626
77973
  // CSSINJS
77627
77974
 
77628
77975
  var rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/;
@@ -77633,9 +77980,6 @@ function isString(str) {
77633
77980
  function isUnBorderedButtonType(type) {
77634
77981
  return type === 'text' || type === 'link';
77635
77982
  }
77636
- function isReactFragment(node) {
77637
- return /*#__PURE__*/ /*#__PURE__*/external_React_.isValidElement(node) && node.type === external_React_.Fragment;
77638
- }
77639
77983
  // Insert one space between two chinese characters automatically.
77640
77984
  function insertSpace(child, needInserted) {
77641
77985
  // Check the child if is undefined or null.
@@ -77652,7 +77996,7 @@ function insertSpace(child, needInserted) {
77652
77996
  if (typeof child === 'string') {
77653
77997
  return isTwoCNChar(child) ? /*#__PURE__*/external_React_.createElement("span", null, child.split('').join(SPACE)) : /*#__PURE__*/external_React_.createElement("span", null, child);
77654
77998
  }
77655
- if (isReactFragment(child)) {
77999
+ if (isFragment(child)) {
77656
78000
  return /*#__PURE__*/external_React_.createElement("span", null, child);
77657
78001
  }
77658
78002
  return child;
@@ -77787,16 +78131,19 @@ var InternalButton = function InternalButton(props, ref) {
77787
78131
  false ? 0 : void 0;
77788
78132
  false ? 0 : void 0;
77789
78133
  var autoInsertSpace = autoInsertSpaceInButton !== false;
78134
+ var _useCompactItemContex = useCompactItemContext(prefixCls, direction),
78135
+ compactSize = _useCompactItemContex.compactSize,
78136
+ compactItemClassnames = _useCompactItemContex.compactItemClassnames;
77790
78137
  var sizeClassNameMap = {
77791
78138
  large: 'lg',
77792
78139
  small: 'sm',
77793
78140
  middle: undefined
77794
78141
  };
77795
- var sizeFullname = groupSize || customizeSize || size;
78142
+ var sizeFullname = compactSize || groupSize || customizeSize || size;
77796
78143
  var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
77797
78144
  var iconType = innerLoading ? 'loading' : icon;
77798
78145
  var linkButtonRestProps = omit_omit(rest, ['navigate']);
77799
- var classes = classnames_default()(prefixCls, hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(type), type), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnBorderedButtonType(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace && !innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), linkButtonRestProps.href !== undefined && mergedDisabled), _classNames), className);
78146
+ var classes = classnames_default()(prefixCls, hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(type), type), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnBorderedButtonType(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace && !innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), linkButtonRestProps.href !== undefined && mergedDisabled), _classNames), compactItemClassnames, className);
77800
78147
  var iconNode = icon && !innerLoading ? icon : /*#__PURE__*/external_React_.createElement(button_LoadingIcon, {
77801
78148
  existIcon: !!icon,
77802
78149
  prefixCls: prefixCls,
@@ -77832,6 +78179,219 @@ Button.__ANT_BUTTON = true;
77832
78179
  ;// CONCATENATED MODULE: ./node_modules/antd/es/button/index.js
77833
78180
 
77834
78181
  /* harmony default export */ var es_button = (button_button);
78182
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/_util/styleChecker.js
78183
+
78184
+
78185
+ var canUseDocElement = function canUseDocElement() {
78186
+ return canUseDom() && window.document.documentElement;
78187
+ };
78188
+
78189
+ var flexGapSupported;
78190
+ var detectFlexGapSupported = function detectFlexGapSupported() {
78191
+ if (!canUseDocElement()) {
78192
+ return false;
78193
+ }
78194
+ if (flexGapSupported !== undefined) {
78195
+ return flexGapSupported;
78196
+ }
78197
+ // create flex container with row-gap set
78198
+ var flex = document.createElement('div');
78199
+ flex.style.display = 'flex';
78200
+ flex.style.flexDirection = 'column';
78201
+ flex.style.rowGap = '1px';
78202
+ // create two, elements inside it
78203
+ flex.appendChild(document.createElement('div'));
78204
+ flex.appendChild(document.createElement('div'));
78205
+ // append to the DOM (needed to obtain scrollHeight)
78206
+ document.body.appendChild(flex);
78207
+ flexGapSupported = flex.scrollHeight === 1; // flex container should be 1px high from the row-gap
78208
+ document.body.removeChild(flex);
78209
+ return flexGapSupported;
78210
+ };
78211
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/_util/hooks/useFlexGapSupport.js
78212
+
78213
+
78214
+
78215
+ /* harmony default export */ var useFlexGapSupport = (function () {
78216
+ var _React$useState = external_React_.useState(false),
78217
+ _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
78218
+ flexible = _React$useState2[0],
78219
+ setFlexible = _React$useState2[1];
78220
+ external_React_.useEffect(function () {
78221
+ setFlexible(detectFlexGapSupported());
78222
+ }, []);
78223
+ return flexible;
78224
+ });
78225
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/Item.js
78226
+
78227
+
78228
+
78229
+
78230
+ function Item(_ref) {
78231
+ var className = _ref.className,
78232
+ direction = _ref.direction,
78233
+ index = _ref.index,
78234
+ marginDirection = _ref.marginDirection,
78235
+ children = _ref.children,
78236
+ split = _ref.split,
78237
+ wrap = _ref.wrap;
78238
+ var _React$useContext = external_React_.useContext(SpaceContext),
78239
+ horizontalSize = _React$useContext.horizontalSize,
78240
+ verticalSize = _React$useContext.verticalSize,
78241
+ latestIndex = _React$useContext.latestIndex,
78242
+ supportFlexGap = _React$useContext.supportFlexGap;
78243
+ var style = {};
78244
+ if (!supportFlexGap) {
78245
+ if (direction === 'vertical') {
78246
+ if (index < latestIndex) {
78247
+ style = {
78248
+ marginBottom: horizontalSize / (split ? 2 : 1)
78249
+ };
78250
+ }
78251
+ } else {
78252
+ style = extends_extends(extends_extends({}, index < latestIndex && defineProperty_defineProperty({}, marginDirection, horizontalSize / (split ? 2 : 1))), wrap && {
78253
+ paddingBottom: verticalSize
78254
+ });
78255
+ }
78256
+ }
78257
+ if (children === null || children === undefined) {
78258
+ return null;
78259
+ }
78260
+ return /*#__PURE__*/external_React_.createElement(external_React_.Fragment, null, /*#__PURE__*/external_React_.createElement("div", {
78261
+ className: className,
78262
+ style: style
78263
+ }, children), index < latestIndex && split && /*#__PURE__*/external_React_.createElement("span", {
78264
+ className: "".concat(className, "-split"),
78265
+ style: style
78266
+ }, split));
78267
+ }
78268
+ ;// CONCATENATED MODULE: ./node_modules/antd/es/space/index.js
78269
+
78270
+
78271
+
78272
+ var space_rest = undefined && undefined.__rest || function (s, e) {
78273
+ var t = {};
78274
+ for (var p in s) {
78275
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
78276
+ }
78277
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
78278
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
78279
+ }
78280
+ return t;
78281
+ };
78282
+
78283
+
78284
+
78285
+
78286
+
78287
+
78288
+
78289
+
78290
+ var SpaceContext = /*#__PURE__*/external_React_.createContext({
78291
+ latestIndex: 0,
78292
+ horizontalSize: 0,
78293
+ verticalSize: 0,
78294
+ supportFlexGap: false
78295
+ });
78296
+ var spaceSize = {
78297
+ small: 8,
78298
+ middle: 16,
78299
+ large: 24
78300
+ };
78301
+ function getNumberSize(size) {
78302
+ return typeof size === 'string' ? spaceSize[size] : size || 0;
78303
+ }
78304
+ var Space = function Space(props) {
78305
+ var _classNames;
78306
+ var _React$useContext = external_React_.useContext(context_ConfigContext),
78307
+ getPrefixCls = _React$useContext.getPrefixCls,
78308
+ space = _React$useContext.space,
78309
+ directionConfig = _React$useContext.direction;
78310
+ var _props$size = props.size,
78311
+ size = _props$size === void 0 ? (space === null || space === void 0 ? void 0 : space.size) || 'small' : _props$size,
78312
+ align = props.align,
78313
+ className = props.className,
78314
+ children = props.children,
78315
+ _props$direction = props.direction,
78316
+ direction = _props$direction === void 0 ? 'horizontal' : _props$direction,
78317
+ customizePrefixCls = props.prefixCls,
78318
+ split = props.split,
78319
+ style = props.style,
78320
+ _props$wrap = props.wrap,
78321
+ wrap = _props$wrap === void 0 ? false : _props$wrap,
78322
+ otherProps = space_rest(props, ["size", "align", "className", "children", "direction", "prefixCls", "split", "style", "wrap"]);
78323
+ var supportFlexGap = useFlexGapSupport();
78324
+ var _React$useMemo = external_React_.useMemo(function () {
78325
+ return (Array.isArray(size) ? size : [size, size]).map(function (item) {
78326
+ return getNumberSize(item);
78327
+ });
78328
+ }, [size]),
78329
+ _React$useMemo2 = slicedToArray_slicedToArray(_React$useMemo, 2),
78330
+ horizontalSize = _React$useMemo2[0],
78331
+ verticalSize = _React$useMemo2[1];
78332
+ var childNodes = toArray_toArray(children, {
78333
+ keepEmpty: true
78334
+ });
78335
+ var mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
78336
+ var prefixCls = getPrefixCls('space', customizePrefixCls);
78337
+ var _useStyle = space_style(prefixCls),
78338
+ _useStyle2 = slicedToArray_slicedToArray(_useStyle, 2),
78339
+ wrapSSR = _useStyle2[0],
78340
+ hashId = _useStyle2[1];
78341
+ var cn = classnames_default()(prefixCls, hashId, "".concat(prefixCls, "-").concat(direction), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), directionConfig === 'rtl'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-align-").concat(mergedAlign), mergedAlign), _classNames), className);
78342
+ var itemClassName = "".concat(prefixCls, "-item");
78343
+ var marginDirection = directionConfig === 'rtl' ? 'marginLeft' : 'marginRight';
78344
+ // Calculate latest one
78345
+ var latestIndex = 0;
78346
+ var nodes = childNodes.map(function (child, i) {
78347
+ if (child !== null && child !== undefined) {
78348
+ latestIndex = i;
78349
+ }
78350
+ var key = child && child.key || "".concat(itemClassName, "-").concat(i);
78351
+ return /*#__PURE__*/external_React_.createElement(Item, {
78352
+ className: itemClassName,
78353
+ key: key,
78354
+ direction: direction,
78355
+ index: i,
78356
+ marginDirection: marginDirection,
78357
+ split: split,
78358
+ wrap: wrap
78359
+ }, child);
78360
+ });
78361
+ var spaceContext = external_React_.useMemo(function () {
78362
+ return {
78363
+ horizontalSize: horizontalSize,
78364
+ verticalSize: verticalSize,
78365
+ latestIndex: latestIndex,
78366
+ supportFlexGap: supportFlexGap
78367
+ };
78368
+ }, [horizontalSize, verticalSize, latestIndex, supportFlexGap]);
78369
+ // =========================== Render ===========================
78370
+ if (childNodes.length === 0) {
78371
+ return null;
78372
+ }
78373
+ var gapStyle = {};
78374
+ if (wrap) {
78375
+ gapStyle.flexWrap = 'wrap';
78376
+ // Patch for gap not support
78377
+ if (!supportFlexGap) {
78378
+ gapStyle.marginBottom = -verticalSize;
78379
+ }
78380
+ }
78381
+ if (supportFlexGap) {
78382
+ gapStyle.columnGap = horizontalSize;
78383
+ gapStyle.rowGap = verticalSize;
78384
+ }
78385
+ return wrapSSR( /*#__PURE__*/external_React_.createElement("div", extends_extends({
78386
+ className: cn,
78387
+ style: extends_extends(extends_extends({}, gapStyle), style)
78388
+ }, otherProps), /*#__PURE__*/external_React_.createElement(SpaceContext.Provider, {
78389
+ value: spaceContext
78390
+ }, nodes)));
78391
+ };
78392
+ var CompoundedSpace = Space;
78393
+ CompoundedSpace.Compact = space_Compact;
78394
+ /* harmony default export */ var space = (CompoundedSpace);
77835
78395
  ;// CONCATENATED MODULE: ./node_modules/antd/es/style/roundedArrow.js
77836
78396
  var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor, boxShadow) {
77837
78397
  var unitWidth = width / 2;
@@ -77900,9 +78460,9 @@ function getArrowOffset(options) {
77900
78460
  var maxVerticalContentRadius = MAX_VERTICAL_CONTENT_RADIUS;
77901
78461
  var sizePopupArrow = options.sizePopupArrow,
77902
78462
  contentRadius = options.contentRadius,
77903
- radiusOuter = options.radiusOuter,
78463
+ borderRadiusOuter = options.borderRadiusOuter,
77904
78464
  limitVerticalRadius = options.limitVerticalRadius;
77905
- var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(radiusOuter * (Math.sqrt(2) - 1));
78465
+ var arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(borderRadiusOuter * (Math.sqrt(2) - 1));
77906
78466
  var dropdownArrowOffset = (contentRadius > 12 ? contentRadius + 2 : 12) - arrowInnerOffset;
77907
78467
  var dropdownArrowOffsetVertical = limitVerticalRadius ? maxVerticalContentRadius - arrowInnerOffset : dropdownArrowOffset;
77908
78468
  return {
@@ -77915,28 +78475,28 @@ function getArrowStyle(token, options) {
77915
78475
  var componentCls = token.componentCls,
77916
78476
  sizePopupArrow = token.sizePopupArrow,
77917
78477
  marginXXS = token.marginXXS,
77918
- radiusXS = token.radiusXS,
77919
- radiusOuter = token.radiusOuter,
78478
+ borderRadiusXS = token.borderRadiusXS,
78479
+ borderRadiusOuter = token.borderRadiusOuter,
77920
78480
  boxShadowPopoverArrow = token.boxShadowPopoverArrow;
77921
78481
  var colorBg = options.colorBg,
77922
78482
  showArrowCls = options.showArrowCls,
77923
78483
  _options$contentRadiu = options.contentRadius,
77924
- contentRadius = _options$contentRadiu === void 0 ? token.radiusLG : _options$contentRadiu,
78484
+ contentRadius = _options$contentRadiu === void 0 ? token.borderRadiusLG : _options$contentRadiu,
77925
78485
  limitVerticalRadius = options.limitVerticalRadius;
77926
78486
  var _getArrowOffset = getArrowOffset({
77927
78487
  sizePopupArrow: sizePopupArrow,
77928
78488
  contentRadius: contentRadius,
77929
- radiusOuter: radiusOuter,
78489
+ borderRadiusOuter: borderRadiusOuter,
77930
78490
  limitVerticalRadius: limitVerticalRadius
77931
78491
  }),
77932
78492
  dropdownArrowOffsetVertical = _getArrowOffset.dropdownArrowOffsetVertical,
77933
78493
  dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
77934
- var dropdownArrowDistance = sizePopupArrow + marginXXS;
78494
+ var dropdownArrowDistance = sizePopupArrow / 2 + marginXXS;
77935
78495
  return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-arrow"), [extends_extends(extends_extends({
77936
78496
  position: 'absolute',
77937
78497
  zIndex: 1,
77938
78498
  display: 'block'
77939
- }, roundedArrow(sizePopupArrow, radiusXS, radiusOuter, colorBg, boxShadowPopoverArrow)), {
78499
+ }, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBg, boxShadowPopoverArrow)), {
77940
78500
  '&:before': {
77941
78501
  background: colorBg
77942
78502
  }
@@ -78380,9 +78940,9 @@ var genBaseStyle = function genBaseStyle(token) {
78380
78940
  motionDurationMid = token.motionDurationMid,
78381
78941
  motionDurationFast = token.motionDurationFast,
78382
78942
  dropdownPaddingVertical = token.dropdownPaddingVertical,
78383
- fontSizeBase = token.fontSizeBase,
78943
+ fontSize = token.fontSize,
78384
78944
  dropdownEdgeChildPadding = token.dropdownEdgeChildPadding,
78385
- radiusBase = token.radiusBase,
78945
+ borderRadius = token.borderRadius,
78386
78946
  colorTextDisabled = token.colorTextDisabled,
78387
78947
  fontSizeIcon = token.fontSizeIcon,
78388
78948
  controlPaddingHorizontal = token.controlPaddingHorizontal,
@@ -78400,7 +78960,7 @@ var genBaseStyle = function genBaseStyle(token) {
78400
78960
  // A placeholder out of dropdown visible range to avoid close when user moving
78401
78961
  '&::before': {
78402
78962
  position: 'absolute',
78403
- insetBlock: -dropdownArrowDistance + sizePopupArrow,
78963
+ insetBlock: -dropdownArrowDistance + sizePopupArrow / 2,
78404
78964
  // insetInlineStart: -7, // FIXME: Seems not work for hidden element
78405
78965
  zIndex: -9999,
78406
78966
  opacity: 0.0001,
@@ -78424,7 +78984,7 @@ var genBaseStyle = function genBaseStyle(token) {
78424
78984
  position: 'absolute',
78425
78985
  zIndex: 1,
78426
78986
  display: 'block'
78427
- }, roundedArrow(sizePopupArrow, token.radiusXS, token.radiusOuter, colorBgElevated, boxShadowPopoverArrow))), defineProperty_defineProperty(_extends2, "\n &-placement-top > ".concat(componentCls, "-arrow,\n &-placement-topLeft > ").concat(componentCls, "-arrow,\n &-placement-topRight > ").concat(componentCls, "-arrow\n "), {
78987
+ }, roundedArrow(sizePopupArrow, token.borderRadiusXS, token.borderRadiusOuter, colorBgElevated, boxShadowPopoverArrow))), defineProperty_defineProperty(_extends2, "\n &-placement-top > ".concat(componentCls, "-arrow,\n &-placement-topLeft > ").concat(componentCls, "-arrow,\n &-placement-topRight > ").concat(componentCls, "-arrow\n "), {
78428
78988
  bottom: dropdownArrowDistance,
78429
78989
  transform: 'translateY(100%) rotate(180deg)'
78430
78990
  }), defineProperty_defineProperty(_extends2, "&-placement-top > ".concat(componentCls, "-arrow"), {
@@ -78490,7 +79050,7 @@ var genBaseStyle = function genBaseStyle(token) {
78490
79050
  listStyleType: 'none',
78491
79051
  backgroundColor: colorBgElevated,
78492
79052
  backgroundClip: 'padding-box',
78493
- borderRadius: token.controlRadiusLG,
79053
+ borderRadius: token.borderRadiusLG,
78494
79054
  outline: 'none',
78495
79055
  boxShadow: token.boxShadowSecondary
78496
79056
  }, genFocusStyle(token)), (_extends5 = {}, defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-group-title"), {
@@ -78501,9 +79061,9 @@ var genBaseStyle = function genBaseStyle(token) {
78501
79061
  position: 'relative',
78502
79062
  display: 'flex',
78503
79063
  alignItems: 'center',
78504
- borderRadius: token.radiusSM
79064
+ borderRadius: token.borderRadiusSM
78505
79065
  }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-item-icon"), {
78506
- minWidth: fontSizeBase,
79066
+ minWidth: fontSize,
78507
79067
  marginInlineEnd: token.marginXS,
78508
79068
  fontSize: token.fontSizeSM
78509
79069
  }), defineProperty_defineProperty(_extends5, "".concat(menuCls, "-title-content"), {
@@ -78526,15 +79086,15 @@ var genBaseStyle = function genBaseStyle(token) {
78526
79086
  padding: "".concat(dropdownPaddingVertical, "px ").concat(controlPaddingHorizontal, "px"),
78527
79087
  color: token.colorText,
78528
79088
  fontWeight: 'normal',
78529
- fontSize: fontSizeBase,
79089
+ fontSize: fontSize,
78530
79090
  lineHeight: token.lineHeight,
78531
79091
  cursor: 'pointer',
78532
79092
  transition: "all ".concat(motionDurationFast),
78533
79093
  '&:first-child': !dropdownEdgeChildPadding ? {
78534
- borderRadius: "".concat(radiusBase, "px ").concat(radiusBase, "px 0 0")
79094
+ borderRadius: "".concat(borderRadius, "px ").concat(borderRadius, "px 0 0")
78535
79095
  } : [],
78536
79096
  '&:last-child': !dropdownEdgeChildPadding ? {
78537
- borderRadius: "0 0 ".concat(radiusBase, "px ").concat(radiusBase, "px")
79097
+ borderRadius: "0 0 ".concat(borderRadius, "px ").concat(borderRadius, "px")
78538
79098
  } : []
78539
79099
  }, "&:hover, &-active", {
78540
79100
  backgroundColor: token.controlItemBgHover
@@ -78597,23 +79157,23 @@ var genBaseStyle = function genBaseStyle(token) {
78597
79157
  var marginXXS = token.marginXXS,
78598
79158
  sizePopupArrow = token.sizePopupArrow,
78599
79159
  controlHeight = token.controlHeight,
78600
- fontSizeBase = token.fontSizeBase,
79160
+ fontSize = token.fontSize,
78601
79161
  lineHeight = token.lineHeight,
78602
79162
  paddingXXS = token.paddingXXS,
78603
79163
  componentCls = token.componentCls,
78604
- radiusOuter = token.radiusOuter,
78605
- radiusLG = token.radiusLG;
78606
- var dropdownPaddingVertical = (controlHeight - fontSizeBase * lineHeight) / 2;
79164
+ borderRadiusOuter = token.borderRadiusOuter,
79165
+ borderRadiusLG = token.borderRadiusLG;
79166
+ var dropdownPaddingVertical = (controlHeight - fontSize * lineHeight) / 2;
78607
79167
  var _getArrowOffset = getArrowOffset({
78608
79168
  sizePopupArrow: sizePopupArrow,
78609
- contentRadius: radiusLG,
78610
- radiusOuter: radiusOuter
79169
+ contentRadius: borderRadiusLG,
79170
+ borderRadiusOuter: borderRadiusOuter
78611
79171
  }),
78612
79172
  dropdownArrowOffset = _getArrowOffset.dropdownArrowOffset;
78613
79173
  var dropdownToken = statistic_merge(token, {
78614
79174
  menuCls: "".concat(componentCls, "-menu"),
78615
79175
  rootPrefixCls: rootPrefixCls,
78616
- dropdownArrowDistance: sizePopupArrow + marginXXS,
79176
+ dropdownArrowDistance: sizePopupArrow / 2 + marginXXS,
78617
79177
  dropdownArrowOffset: dropdownArrowOffset,
78618
79178
  dropdownPaddingVertical: dropdownPaddingVertical,
78619
79179
  dropdownEdgeChildPadding: paddingXXS
@@ -78644,7 +79204,8 @@ var dropdown_button_rest = undefined && undefined.__rest || function (s, e) {
78644
79204
 
78645
79205
 
78646
79206
 
78647
- var dropdown_button_ButtonGroup = es_button.Group;
79207
+
79208
+
78648
79209
  var dropdown_button_DropdownButton = function DropdownButton(props) {
78649
79210
  var _React$useContext = external_React_.useContext(context_ConfigContext),
78650
79211
  getContextPopupContainer = _React$useContext.getPopupContainer,
@@ -78700,6 +79261,10 @@ var dropdown_button_DropdownButton = function DropdownButton(props) {
78700
79261
  overlayStyle: overlayStyle,
78701
79262
  destroyPopupOnHide: destroyPopupOnHide
78702
79263
  };
79264
+ var _useCompactItemContex = useCompactItemContext(prefixCls, direction),
79265
+ compactSize = _useCompactItemContex.compactSize,
79266
+ compactItemClassnames = _useCompactItemContex.compactItemClassnames;
79267
+ var classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
78703
79268
  if ('open' in props) {
78704
79269
  dropdownProps.open = open;
78705
79270
  }
@@ -78727,9 +79292,11 @@ var dropdown_button_DropdownButton = function DropdownButton(props) {
78727
79292
  _buttonsRender2 = slicedToArray_slicedToArray(_buttonsRender, 2),
78728
79293
  leftButtonToRender = _buttonsRender2[0],
78729
79294
  rightButtonToRender = _buttonsRender2[1];
78730
- return wrapSSR( /*#__PURE__*/external_React_.createElement(dropdown_button_ButtonGroup, extends_extends({}, restProps, {
78731
- className: classnames_default()(buttonPrefixCls, className, hashId)
78732
- }), leftButtonToRender, /*#__PURE__*/external_React_.createElement(dropdown, extends_extends({}, dropdownProps), rightButtonToRender)));
79295
+ return wrapSSR( /*#__PURE__*/external_React_.createElement(space.Compact, extends_extends({
79296
+ className: classes,
79297
+ size: compactSize,
79298
+ block: true
79299
+ }, restProps), leftButtonToRender, /*#__PURE__*/external_React_.createElement(dropdown, extends_extends({}, dropdownProps), rightButtonToRender)));
78733
79300
  };
78734
79301
  dropdown_button_DropdownButton.__ANT_BUTTON = true;
78735
79302
  /* harmony default export */ var dropdown_button = (dropdown_button_DropdownButton);
@@ -78968,9 +79535,9 @@ function InternalItem(props, ref) {
78968
79535
  }
78969
79536
  return itemNode;
78970
79537
  }
78971
- var Item = /*#__PURE__*/external_React_.forwardRef(InternalItem);
78972
- Item.displayName = 'Item';
78973
- /* harmony default export */ var es_Item = (Item);
79538
+ var Item_Item = /*#__PURE__*/external_React_.forwardRef(InternalItem);
79539
+ Item_Item.displayName = 'Item';
79540
+ /* harmony default export */ var es_Item = (Item_Item);
78974
79541
  ;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/hooks/useBatchFrameState.js
78975
79542
 
78976
79543
 
@@ -78982,7 +79549,7 @@ Item.displayName = 'Item';
78982
79549
  */
78983
79550
 
78984
79551
  function useBatchFrameState() {
78985
- var _useState = useState_useSafeState({}),
79552
+ var _useState = useSafeState({}),
78986
79553
  _useState2 = slicedToArray_slicedToArray(_useState, 2),
78987
79554
  forceUpdate = _useState2[1];
78988
79555
  var statesRef = (0,external_React_.useRef)([]);
@@ -81657,6 +82224,7 @@ var getThemeStyle = function getThemeStyle(token, themeSuffix) {
81657
82224
  ;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/vertical.js
81658
82225
 
81659
82226
 
82227
+
81660
82228
  var getVerticalInlineStyle = function getVerticalInlineStyle(token) {
81661
82229
  var _ref;
81662
82230
  var componentCls = token.componentCls,
@@ -81779,12 +82347,9 @@ var getVerticalStyle = function getVerticalStyle(token) {
81779
82347
  display: 'none'
81780
82348
  }), defineProperty_defineProperty(_tooltip, 'a, a:hover', {
81781
82349
  color: colorTextLightSolid
81782
- }), _tooltip)), defineProperty_defineProperty(_$concat5, "".concat(componentCls, "-item-group-title"), {
81783
- paddingInline: paddingXS,
81784
- overflow: 'hidden',
81785
- whiteSpace: 'nowrap',
81786
- textOverflow: 'ellipsis'
81787
- }), _$concat5))];
82350
+ }), _tooltip)), defineProperty_defineProperty(_$concat5, "".concat(componentCls, "-item-group-title"), extends_extends(extends_extends({}, textEllipsis), {
82351
+ paddingInline: paddingXS
82352
+ })), _$concat5))];
81788
82353
  };
81789
82354
  /* harmony default export */ var vertical = (getVerticalStyle);
81790
82355
  ;// CONCATENATED MODULE: ./node_modules/antd/es/menu/style/index.js
@@ -81815,8 +82380,8 @@ var getBaseStyle = function getBaseStyle(token) {
81815
82380
  lineWidth = token.lineWidth,
81816
82381
  iconCls = token.iconCls,
81817
82382
  zIndexPopup = token.zIndexPopup,
81818
- radiusBase = token.radiusBase,
81819
- radiusLG = token.radiusLG,
82383
+ borderRadius = token.borderRadius,
82384
+ borderRadiusLG = token.borderRadiusLG,
81820
82385
  radiusSubMenuItem = token.radiusSubMenuItem,
81821
82386
  menuArrowSize = token.menuArrowSize,
81822
82387
  controlHeightSM = token.controlHeightSM,
@@ -81926,7 +82491,7 @@ var getBaseStyle = function getBaseStyle(token) {
81926
82491
  position: 'absolute',
81927
82492
  zIndex: zIndexPopup,
81928
82493
  background: 'transparent',
81929
- borderRadius: radiusLG,
82494
+ borderRadius: borderRadiusLG,
81930
82495
  boxShadow: 'none',
81931
82496
  transformOrigin: '0 0',
81932
82497
  // https://github.com/ant-design/ant-design/issues/13955
@@ -81946,7 +82511,7 @@ var getBaseStyle = function getBaseStyle(token) {
81946
82511
  insetInlineStart: menuPanelMaskInset
81947
82512
  }
81948
82513
  }, "> ".concat(componentCls), (_$concat4 = {
81949
- borderRadius: radiusLG
82514
+ borderRadius: borderRadiusLG
81950
82515
  }, defineProperty_defineProperty(_$concat4, "> ".concat(componentCls, "-item"), {
81951
82516
  borderRadius: radiusSubMenuItem
81952
82517
  }), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-submenu-title::after"), {
@@ -81966,7 +82531,7 @@ var getBaseStyle = function getBaseStyle(token) {
81966
82531
  width: menuArrowSize * 0.6,
81967
82532
  height: menuArrowSize * 0.15,
81968
82533
  backgroundColor: 'currentcolor',
81969
- borderRadius: radiusBase,
82534
+ borderRadius: borderRadius,
81970
82535
  transition: ["background ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "transform ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "top ".concat(motionDurationSlow, " ").concat(motionEaseInOut), "color ".concat(motionDurationSlow, " ").concat(motionEaseInOut)].join(','),
81971
82536
  content: '""'
81972
82537
  },
@@ -82077,8 +82642,8 @@ var getBaseStyle = function getBaseStyle(token) {
82077
82642
  return {
82078
82643
  dropdownWidth: 160,
82079
82644
  zIndexPopup: token.zIndexPopupBase + 50,
82080
- radiusItem: token.radiusLG,
82081
- radiusSubMenuItem: token.radiusSM,
82645
+ radiusItem: token.borderRadiusLG,
82646
+ radiusSubMenuItem: token.borderRadiusSM,
82082
82647
  colorItemText: colorText,
82083
82648
  colorItemTextHover: colorText,
82084
82649
  colorItemTextHoverHorizontal: colorPrimary,
@@ -82519,7 +83084,7 @@ var genTooltipStyle = function genTooltipStyle(token) {
82519
83084
  })),
82520
83085
  // Arrow Style
82521
83086
  getArrowStyle(statistic_merge(token, {
82522
- radiusOuter: tooltipRadiusOuter
83087
+ borderRadiusOuter: tooltipRadiusOuter
82523
83088
  }), {
82524
83089
  colorBg: 'var(--antd-arrow-background-color)',
82525
83090
  showArrowCls: '',
@@ -82539,17 +83104,17 @@ var genTooltipStyle = function genTooltipStyle(token) {
82539
83104
  if (injectStyle === false) {
82540
83105
  return [];
82541
83106
  }
82542
- var radiusBase = token.radiusBase,
83107
+ var borderRadius = token.borderRadius,
82543
83108
  colorTextLightSolid = token.colorTextLightSolid,
82544
83109
  colorBgDefault = token.colorBgDefault,
82545
- radiusOuter = token.radiusOuter;
83110
+ borderRadiusOuter = token.borderRadiusOuter;
82546
83111
  var TooltipToken = statistic_merge(token, {
82547
83112
  // default variables
82548
83113
  tooltipMaxWidth: 250,
82549
83114
  tooltipColor: colorTextLightSolid,
82550
- tooltipBorderRadius: radiusBase,
83115
+ tooltipBorderRadius: borderRadius,
82551
83116
  tooltipBg: colorBgDefault,
82552
- tooltipRadiusOuter: radiusOuter > 4 ? 4 : radiusOuter
83117
+ tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter
82553
83118
  });
82554
83119
  return [genTooltipStyle(TooltipToken), initZoomMotion(token, 'zoom-big-fast')];
82555
83120
  }, function (_ref3) {
@@ -82766,14 +83331,14 @@ var tooltip_Tooltip = /*#__PURE__*/external_React_.forwardRef(function (props, r
82766
83331
  top: '50%',
82767
83332
  left: '50%'
82768
83333
  };
82769
- if (['top', 'Bottom'].includes(placement)) {
83334
+ if (/top|Bottom/.test(placement)) {
82770
83335
  transformOrigin.top = "".concat(rect.height - align.offset[1], "px");
82771
- } else if (['Top', 'bottom'].includes(placement)) {
83336
+ } else if (/Top|bottom/.test(placement)) {
82772
83337
  transformOrigin.top = "".concat(-align.offset[1], "px");
82773
83338
  }
82774
- if (['left', 'Right'].includes(placement)) {
83339
+ if (/left|Right/.test(placement)) {
82775
83340
  transformOrigin.left = "".concat(rect.width - align.offset[0], "px");
82776
- } else if (['right', 'Left'].includes(placement)) {
83341
+ } else if (/right|Left/.test(placement)) {
82777
83342
  transformOrigin.left = "".concat(-align.offset[0], "px");
82778
83343
  }
82779
83344
  domNode.style.transformOrigin = "".concat(transformOrigin.left, " ").concat(transformOrigin.top);
@@ -83328,15 +83893,16 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
83328
83893
  motionEaseInOutCirc = token.motionEaseInOutCirc,
83329
83894
  radioButtonBg = token.radioButtonBg,
83330
83895
  colorBorder = token.colorBorder,
83331
- controlLineWidth = token.controlLineWidth,
83896
+ lineWidth = token.lineWidth,
83332
83897
  radioDotSize = token.radioDotSize,
83333
83898
  colorBgContainerDisabled = token.colorBgContainerDisabled,
83334
83899
  colorTextDisabled = token.colorTextDisabled,
83335
83900
  paddingXS = token.paddingXS,
83336
83901
  radioDotDisabledColor = token.radioDotDisabledColor,
83337
- controlLineType = token.controlLineType,
83902
+ lineType = token.lineType,
83338
83903
  radioDotDisabledSize = token.radioDotDisabledSize,
83339
- wireframe = token.wireframe;
83904
+ wireframe = token.wireframe,
83905
+ colorWhite = token.colorWhite;
83340
83906
  var radioInnerPrefixCls = "".concat(componentCls, "-inner");
83341
83907
  return defineProperty_defineProperty({}, "".concat(componentCls, "-wrapper"), extends_extends(extends_extends({}, style_resetComponent(token)), (_extends3 = {
83342
83908
  position: 'relative',
@@ -83364,7 +83930,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
83364
83930
  insetInlineStart: 0,
83365
83931
  width: '100%',
83366
83932
  height: '100%',
83367
- border: "".concat(controlLineWidth, "px ").concat(controlLineType, " ").concat(radioCheckedColor),
83933
+ border: "".concat(lineWidth, "px ").concat(lineType, " ").concat(radioCheckedColor),
83368
83934
  borderRadius: '50%',
83369
83935
  visibility: 'hidden',
83370
83936
  animationName: antRadioEffect,
@@ -83393,7 +83959,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
83393
83959
  height: radioSize,
83394
83960
  marginBlockStart: radioSize / -2,
83395
83961
  marginInlineStart: radioSize / -2,
83396
- backgroundColor: wireframe ? radioCheckedColor : radioButtonBg,
83962
+ backgroundColor: wireframe ? radioCheckedColor : colorWhite,
83397
83963
  borderBlockStart: 0,
83398
83964
  borderInlineStart: 0,
83399
83965
  borderRadius: radioSize,
@@ -83412,7 +83978,7 @@ var getRadioBasicStyle = function getRadioBasicStyle(token) {
83412
83978
  backgroundColor: radioButtonBg,
83413
83979
  borderColor: colorBorder,
83414
83980
  borderStyle: 'solid',
83415
- borderWidth: controlLineWidth,
83981
+ borderWidth: lineWidth,
83416
83982
  borderRadius: '50%',
83417
83983
  transition: "all ".concat(motionDurationFast)
83418
83984
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-input"), {
@@ -83461,8 +84027,8 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
83461
84027
  var radioButtonColor = token.radioButtonColor,
83462
84028
  controlHeight = token.controlHeight,
83463
84029
  componentCls = token.componentCls,
83464
- controlLineWidth = token.controlLineWidth,
83465
- controlLineType = token.controlLineType,
84030
+ lineWidth = token.lineWidth,
84031
+ lineType = token.lineType,
83466
84032
  colorBorder = token.colorBorder,
83467
84033
  motionDurationSlow = token.motionDurationSlow,
83468
84034
  motionDurationFast = token.motionDurationFast,
@@ -83473,9 +84039,9 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
83473
84039
  controlHeightLG = token.controlHeightLG,
83474
84040
  controlHeightSM = token.controlHeightSM,
83475
84041
  paddingXS = token.paddingXS,
83476
- controlRadius = token.controlRadius,
83477
- controlRadiusSM = token.controlRadiusSM,
83478
- controlRadiusLG = token.controlRadiusLG,
84042
+ borderRadius = token.borderRadius,
84043
+ borderRadiusSM = token.borderRadiusSM,
84044
+ borderRadiusLG = token.borderRadiusLG,
83479
84045
  radioCheckedColor = token.radioCheckedColor,
83480
84046
  radioButtonCheckedBg = token.radioButtonCheckedBg,
83481
84047
  radioButtonHoverColor = token.radioButtonHoverColor,
@@ -83494,14 +84060,14 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
83494
84060
  paddingBlock: 0,
83495
84061
  color: radioButtonColor,
83496
84062
  fontSize: fontSize,
83497
- lineHeight: "".concat(controlHeight - controlLineWidth * 2, "px"),
84063
+ lineHeight: "".concat(controlHeight - lineWidth * 2, "px"),
83498
84064
  background: radioButtonBg,
83499
- border: "".concat(controlLineWidth, "px ").concat(controlLineType, " ").concat(colorBorder),
84065
+ border: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorBorder),
83500
84066
  // strange align fix for chrome but works
83501
84067
  // https://gw.alipayobjects.com/zos/rmsportal/VFTfKXJuogBAXcvfAUWJ.gif
83502
- borderBlockStartWidth: controlLineWidth + 0.02,
84068
+ borderBlockStartWidth: lineWidth + 0.02,
83503
84069
  borderInlineStartWidth: 0,
83504
- borderInlineEndWidth: controlLineWidth,
84070
+ borderInlineEndWidth: lineWidth,
83505
84071
  cursor: 'pointer',
83506
84072
  transition: ["color ".concat(motionDurationFast), "background ".concat(motionDurationFast), "border-color ".concat(motionDurationFast), "box-shadow ".concat(motionDurationFast)].join(','),
83507
84073
  a: {
@@ -83517,51 +84083,51 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
83517
84083
  }), defineProperty_defineProperty(_$concat4, '&:not(:first-child)', {
83518
84084
  '&::before': {
83519
84085
  position: 'absolute',
83520
- insetBlockStart: -controlLineWidth,
83521
- insetInlineStart: -controlLineWidth,
84086
+ insetBlockStart: -lineWidth,
84087
+ insetInlineStart: -lineWidth,
83522
84088
  display: 'block',
83523
84089
  boxSizing: 'content-box',
83524
84090
  width: 1,
83525
84091
  height: '100%',
83526
- paddingBlock: controlLineWidth,
84092
+ paddingBlock: lineWidth,
83527
84093
  paddingInline: 0,
83528
84094
  backgroundColor: colorBorder,
83529
84095
  transition: "background-color ".concat(motionDurationSlow),
83530
84096
  content: '""'
83531
84097
  }
83532
84098
  }), defineProperty_defineProperty(_$concat4, '&:first-child', {
83533
- borderInlineStart: "".concat(controlLineWidth, "px ").concat(controlLineType, " ").concat(colorBorder),
83534
- borderStartStartRadius: controlRadius,
83535
- borderEndStartRadius: controlRadius
84099
+ borderInlineStart: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorBorder),
84100
+ borderStartStartRadius: borderRadius,
84101
+ borderEndStartRadius: borderRadius
83536
84102
  }), defineProperty_defineProperty(_$concat4, '&:last-child', {
83537
- borderStartEndRadius: controlRadius,
83538
- borderEndEndRadius: controlRadius
84103
+ borderStartEndRadius: borderRadius,
84104
+ borderEndEndRadius: borderRadius
83539
84105
  }), defineProperty_defineProperty(_$concat4, '&:first-child:last-child', {
83540
- borderRadius: controlRadius
84106
+ borderRadius: borderRadius
83541
84107
  }), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-large &"), {
83542
84108
  height: controlHeightLG,
83543
84109
  fontSize: fontSizeLG,
83544
- lineHeight: "".concat(controlHeightLG - controlLineWidth * 2, "px"),
84110
+ lineHeight: "".concat(controlHeightLG - lineWidth * 2, "px"),
83545
84111
  '&:first-child': {
83546
- borderStartStartRadius: controlRadiusLG,
83547
- borderEndStartRadius: controlRadiusLG
84112
+ borderStartStartRadius: borderRadiusLG,
84113
+ borderEndStartRadius: borderRadiusLG
83548
84114
  },
83549
84115
  '&:last-child': {
83550
- borderStartEndRadius: controlRadiusLG,
83551
- borderEndEndRadius: controlRadiusLG
84116
+ borderStartEndRadius: borderRadiusLG,
84117
+ borderEndEndRadius: borderRadiusLG
83552
84118
  }
83553
84119
  }), defineProperty_defineProperty(_$concat4, "".concat(componentCls, "-group-small &"), {
83554
84120
  height: controlHeightSM,
83555
- paddingInline: paddingXS - controlLineWidth,
84121
+ paddingInline: paddingXS - lineWidth,
83556
84122
  paddingBlock: 0,
83557
- lineHeight: "".concat(controlHeightSM - controlLineWidth * 2, "px"),
84123
+ lineHeight: "".concat(controlHeightSM - lineWidth * 2, "px"),
83558
84124
  '&:first-child': {
83559
- borderStartStartRadius: controlRadiusSM,
83560
- borderEndStartRadius: controlRadiusSM
84125
+ borderStartStartRadius: borderRadiusSM,
84126
+ borderEndStartRadius: borderRadiusSM
83561
84127
  },
83562
84128
  '&:last-child': {
83563
- borderStartEndRadius: controlRadiusSM,
83564
- borderEndEndRadius: controlRadiusSM
84129
+ borderStartEndRadius: borderRadiusSM,
84130
+ borderEndEndRadius: borderRadiusSM
83565
84131
  }
83566
84132
  }), defineProperty_defineProperty(_$concat4, '&:hover', {
83567
84133
  position: 'relative',
@@ -83630,7 +84196,7 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
83630
84196
  // ============================== Export ==============================
83631
84197
  /* harmony default export */ var radio_style = (genComponentStyleHook('Radio', function (token) {
83632
84198
  var padding = token.padding,
83633
- controlLineWidth = token.controlLineWidth,
84199
+ lineWidth = token.lineWidth,
83634
84200
  colorBgContainerDisabled = token.colorBgContainerDisabled,
83635
84201
  colorTextDisabled = token.colorTextDisabled,
83636
84202
  colorBgContainer = token.colorBgContainer,
@@ -83644,21 +84210,21 @@ var getRadioButtonStyle = function getRadioButtonStyle(token) {
83644
84210
  colorPrimary = token.colorPrimary,
83645
84211
  marginXS = token.marginXS,
83646
84212
  controlOutlineWidth = token.controlOutlineWidth,
83647
- paddingXXS = token.paddingXXS,
83648
84213
  wireframe = token.wireframe;
83649
84214
  // Radio
83650
84215
  var radioFocusShadow = "0 0 0 ".concat(controlOutlineWidth, "px ").concat(controlOutline);
83651
84216
  var radioButtonFocusShadow = radioFocusShadow;
83652
84217
  var radioSize = fontSizeLG;
83653
84218
  var radioTop = (Math.round(fontSize * lineHeight) - radioSize) / 2;
83654
- var radioDotDisabledSize = radioSize - paddingXXS * 2;
83655
- var radioDotSize = wireframe ? radioDotDisabledSize : radioSize - (paddingXXS + controlLineWidth) * 2;
84219
+ var dotPadding = 4; // Fixed value
84220
+ var radioDotDisabledSize = radioSize - dotPadding * 2;
84221
+ var radioDotSize = wireframe ? radioDotDisabledSize : radioSize - (dotPadding + lineWidth) * 2;
83656
84222
  var radioCheckedColor = colorPrimary;
83657
84223
  // Radio buttons
83658
84224
  var radioButtonColor = colorText;
83659
84225
  var radioButtonHoverColor = colorPrimaryHover;
83660
84226
  var radioButtonActiveColor = colorPrimaryActive;
83661
- var radioButtonPaddingHorizontal = padding - controlLineWidth;
84227
+ var radioButtonPaddingHorizontal = padding - lineWidth;
83662
84228
  var radioDisabledButtonCheckedColor = colorTextDisabled;
83663
84229
  var radioWrapperMarginRight = marginXS;
83664
84230
  var radioToken = statistic_merge(token, {
@@ -85272,17 +85838,17 @@ function BaseProList(props) {
85272
85838
  /* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
85273
85839
  ;// CONCATENATED MODULE: ./packages/components/src/version.ts
85274
85840
  var version_version = {
85275
- "@ant-design/pro-card": "2.0.20",
85276
- "@ant-design/pro-components": "2.3.26",
85277
- "@ant-design/pro-descriptions": "2.0.22",
85278
- "@ant-design/pro-field": "2.1.15",
85279
- "@ant-design/pro-form": "2.2.13",
85280
- "@ant-design/pro-layout": "7.1.14",
85281
- "@ant-design/pro-list": "2.0.23",
85282
- "@ant-design/pro-provider": "2.0.12",
85841
+ "@ant-design/pro-card": "2.0.22",
85842
+ "@ant-design/pro-components": "2.3.28",
85843
+ "@ant-design/pro-descriptions": "2.0.24",
85844
+ "@ant-design/pro-field": "2.1.17",
85845
+ "@ant-design/pro-form": "2.2.15",
85846
+ "@ant-design/pro-layout": "7.1.16",
85847
+ "@ant-design/pro-list": "2.0.25",
85848
+ "@ant-design/pro-provider": "2.0.13",
85283
85849
  "@ant-design/pro-skeleton": "2.0.4",
85284
- "@ant-design/pro-table": "3.1.0",
85285
- "@ant-design/pro-utils": "2.2.12"
85850
+ "@ant-design/pro-table": "3.1.2",
85851
+ "@ant-design/pro-utils": "2.3.0"
85286
85852
  };
85287
85853
  ;// CONCATENATED MODULE: ./packages/components/src/index.tsx
85288
85854