@ant-design/pro-components 2.3.7 → 2.3.8

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.
@@ -24875,6 +24875,7 @@ __webpack_require__.d(__webpack_exports__, {
24875
24875
  "ProFormMoney": function() { return /* reexport */ components_Money; },
24876
24876
  "ProFormRadio": function() { return /* reexport */ components_Radio; },
24877
24877
  "ProFormRate": function() { return /* reexport */ components_Rate; },
24878
+ "ProFormSegmented": function() { return /* reexport */ components_Segmented; },
24878
24879
  "ProFormSelect": function() { return /* reexport */ components_Select; },
24879
24880
  "ProFormSlider": function() { return /* reexport */ components_Slider; },
24880
24881
  "ProFormSwitch": function() { return /* reexport */ components_Switch; },
@@ -28758,7 +28759,7 @@ var Utility_assign = Object.assign;
28758
28759
  */
28759
28760
 
28760
28761
  function hash(value, length) {
28761
- return (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3);
28762
+ return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
28762
28763
  }
28763
28764
  /**
28764
28765
  * @param {string} value
@@ -29219,7 +29220,7 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
29219
29220
  switch (previous = character, character = next()) {
29220
29221
  // (
29221
29222
  case 40:
29222
- if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
29223
+ if (previous != 108 && charat(characters, length - 1) == 58) {
29223
29224
  if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1) ampersand = -1;
29224
29225
  break;
29225
29226
  }
@@ -29715,7 +29716,7 @@ var styleValidate = function styleValidate(key, value) {
29715
29716
  return;
29716
29717
 
29717
29718
  case 'animation':
29718
- if (hashId) {
29719
+ if (hashId && value !== 'none') {
29719
29720
  util_warning("You seem to be using hashed animation '".concat(value, "', in which case 'animationName' with Keyframe as value is recommended."), path);
29720
29721
  }
29721
29722
 
@@ -29893,7 +29894,6 @@ function useStyleRegister(info, styleFn) {
29893
29894
  var styleObj = styleFn();
29894
29895
  var styleStr = normalizeStyle(parseStyle(styleObj, hashId, path.join('-')));
29895
29896
  var styleId = uniqueHash(fullPath, styleStr); // Clear animation statistics
29896
- // Clear animation statistics
29897
29897
 
29898
29898
  animationStatistics = {};
29899
29899
 
@@ -29903,10 +29903,8 @@ function useStyleRegister(info, styleFn) {
29903
29903
  prepend: 'queue'
29904
29904
  });
29905
29905
  style[CSS_IN_JS_INSTANCE] = CSS_IN_JS_INSTANCE_ID; // Used for `useCacheToken` to remove on batch when token removed
29906
- // Used for `useCacheToken` to remove on batch when token removed
29907
29906
 
29908
29907
  style.setAttribute(StyleContext_ATTR_TOKEN, tokenKey); // Dev usage to find which cache path made this easily
29909
- // Dev usage to find which cache path made this easily
29910
29908
 
29911
29909
  if (false) {}
29912
29910
  }
@@ -32324,25 +32322,6 @@ var tryParse = function tryParse(v) {
32324
32322
  return isNaN(n) ? v : n;
32325
32323
  };
32326
32324
 
32327
- var operatorResMap = {
32328
- '>': [1],
32329
- '>=': [0, 1],
32330
- '=': [0],
32331
- '<=': [-1, 0],
32332
- '<': [-1]
32333
- };
32334
- var allowedOperators = Object.keys(operatorResMap);
32335
-
32336
- var assertValidOperator = function assertValidOperator(op) {
32337
- if (typeof op !== 'string') {
32338
- throw new TypeError("Invalid operator type, expected string but got ".concat(_typeof(op)));
32339
- }
32340
-
32341
- if (allowedOperators.indexOf(op) === -1) {
32342
- throw new Error("Invalid operator, expected one of ".concat(allowedOperators.join('|')));
32343
- }
32344
- };
32345
-
32346
32325
  var forceType = function forceType(a, b) {
32347
32326
  return typeof_typeof(a) !== typeof_typeof(b) ? [String(a), String(b)] : [a, b];
32348
32327
  };
@@ -32411,91 +32390,6 @@ var compareVersions = function compareVersions(v1, v2) {
32411
32390
 
32412
32391
  return 0;
32413
32392
  };
32414
- /**
32415
- * Validate [semver](https://semver.org/) version strings.
32416
- *
32417
- * @param version Version number to validate
32418
- * @returns `true` if the version number is a valid semver version number, `false` otherwise.
32419
- *
32420
- * @example
32421
- * ```
32422
- * validate('1.0.0-rc.1'); // return true
32423
- * validate('1.0-rc.1'); // return false
32424
- * validate('foo'); // return false
32425
- * ```
32426
- */
32427
-
32428
- var validate = function validate(version) {
32429
- return typeof version === 'string' && /^[v\d]/.test(version) && semver.test(version);
32430
- };
32431
- /**
32432
- * Compare [semver](https://semver.org/) version strings using the specified operator.
32433
- *
32434
- * @param v1 First version to compare
32435
- * @param v2 Second version to compare
32436
- * @param operator Allowed arithmetic operator to use
32437
- * @returns `true` if the comparison between the firstVersion and the secondVersion satisfies the operator, `false` otherwise.
32438
- *
32439
- * @example
32440
- * ```
32441
- * compare('10.1.8', '10.0.4', '>'); // return true
32442
- * compare('10.0.1', '10.0.1', '='); // return true
32443
- * compare('10.1.1', '10.2.2', '<'); // return true
32444
- * compare('10.1.1', '10.2.2', '<='); // return true
32445
- * compare('10.1.1', '10.2.2', '>='); // return false
32446
- * ```
32447
- */
32448
-
32449
- var compare = function compare(v1, v2, operator) {
32450
- // validate input operator
32451
- assertValidOperator(operator); // since result of compareVersions can only be -1 or 0 or 1
32452
- // a simple map can be used to replace switch
32453
-
32454
- var res = compareVersions(v1, v2);
32455
- return operatorResMap[operator].includes(res);
32456
- };
32457
- /**
32458
- * Match [npm semver](https://docs.npmjs.com/cli/v6/using-npm/semver) version range.
32459
- *
32460
- * @param version Version number to match
32461
- * @param range Range pattern for version
32462
- * @returns `true` if the version number is within the range, `false` otherwise.
32463
- *
32464
- * @example
32465
- * ```
32466
- * satisfies('1.1.0', '^1.0.0'); // return true
32467
- * satisfies('1.1.0', '~1.0.0'); // return false
32468
- * ```
32469
- */
32470
-
32471
- var satisfies = function satisfies(version, range) {
32472
- // if no range operator then "="
32473
- var m = range.match(/^([<>=~^]+)/);
32474
- var op = m ? m[1] : '='; // if gt/lt/eq then operator compare
32475
-
32476
- if (op !== '^' && op !== '~') return compare(version, range, op); // else range of either "~" or "^" is assumed
32477
-
32478
- var _validateAndParse = validateAndParse(version),
32479
- _validateAndParse2 = _slicedToArray(_validateAndParse, 3),
32480
- v1 = _validateAndParse2[0],
32481
- v2 = _validateAndParse2[1],
32482
- v3 = _validateAndParse2[2];
32483
-
32484
- var _validateAndParse3 = validateAndParse(range),
32485
- _validateAndParse4 = _slicedToArray(_validateAndParse3, 3),
32486
- r1 = _validateAndParse4[0],
32487
- r2 = _validateAndParse4[1],
32488
- r3 = _validateAndParse4[2];
32489
-
32490
- if (compareStrings(v1, r1) !== 0) return false;
32491
-
32492
- if (op === '^') {
32493
- return compareSegments([v2, v3], [r2, r3]) >= 0;
32494
- }
32495
-
32496
- if (compareStrings(v2, r2) !== 0) return false;
32497
- return compareStrings(v3, r3) >= 0;
32498
- };
32499
32393
  ;// CONCATENATED MODULE: ./packages/utils/es/components/FilterDropdown/style.js
32500
32394
 
32501
32395
 
@@ -32888,7 +32782,7 @@ var LabelIconTip_style_genProStyle = function genProStyle(token) {
32888
32782
  marginInlineStart: '4px',
32889
32783
  cursor: 'pointer',
32890
32784
  '&:hover': {
32891
- color: token.colorPrimaryBgHover
32785
+ color: token.colorPrimary
32892
32786
  }
32893
32787
  },
32894
32788
  '&-title': {
@@ -36751,6 +36645,108 @@ var Loading = function Loading(props) {
36751
36645
  };
36752
36646
 
36753
36647
  /* harmony default export */ var components_Loading = (Loading);
36648
+ // EXTERNAL MODULE: ./node_modules/rc-util/lib/Children/toArray.js
36649
+ var Children_toArray = __webpack_require__(5994);
36650
+ ;// CONCATENATED MODULE: ./packages/card/es/components/TabPane/index.js
36651
+
36652
+
36653
+ var TabPane_excluded = ["tab", "children"],
36654
+ TabPane_excluded2 = ["key", "tab", "tabKey", "disabled", "destroyInactiveTabPane", "children", "className", "style", "cardProps"];
36655
+
36656
+
36657
+
36658
+
36659
+
36660
+
36661
+
36662
+
36663
+ function filter(items) {
36664
+ return items.filter(function (item) {
36665
+ return item;
36666
+ });
36667
+ }
36668
+
36669
+ function useLegacyItems(items, children, tabs) {
36670
+ if (items) {
36671
+ return items.map(function (item) {
36672
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
36673
+ children: (0,jsx_runtime.jsx)(components_Card, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, tabs === null || tabs === void 0 ? void 0 : tabs.cardProps), {}, {
36674
+ children: item.children
36675
+ }))
36676
+ });
36677
+ });
36678
+ }
36679
+
36680
+ (0,lib_warning.noteOnce)(!tabs, 'Tabs.TabPane is deprecated. Please use `items` directly.');
36681
+ var childrenItems = (0,Children_toArray/* default */.Z)(children).map(function (node) {
36682
+ if ( /*#__PURE__*/external_React_default().isValidElement(node)) {
36683
+ var key = node.key,
36684
+ props = node.props;
36685
+
36686
+ var _ref = props || {},
36687
+ tab = _ref.tab,
36688
+ tempChild = _ref.children,
36689
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref, TabPane_excluded);
36690
+
36691
+ var item = objectSpread2_objectSpread2(objectSpread2_objectSpread2({
36692
+ key: String(key)
36693
+ }, restProps), {}, {
36694
+ children: (0,jsx_runtime.jsx)(components_Card, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, tabs === null || tabs === void 0 ? void 0 : tabs.cardProps), {}, {
36695
+ children: tempChild
36696
+ })),
36697
+ label: tab
36698
+ });
36699
+
36700
+ return item;
36701
+ }
36702
+
36703
+ return null;
36704
+ });
36705
+ return filter(childrenItems);
36706
+ }
36707
+ /**
36708
+ * @deprecated ProComponets 3.0
36709
+ */
36710
+
36711
+ var TabPane = function TabPane(props) {
36712
+ var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
36713
+ getPrefixCls = _useContext.getPrefixCls; // 如果是antd v5 则返回为空
36714
+
36715
+
36716
+ if (external_antd_.version.startsWith('5')) {
36717
+ return (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
36718
+ } else {
36719
+ var key = props.key,
36720
+ tab = props.tab,
36721
+ tabKey = props.tabKey,
36722
+ disabled = props.disabled,
36723
+ destroyInactiveTabPane = props.destroyInactiveTabPane,
36724
+ children = props.children,
36725
+ className = props.className,
36726
+ style = props.style,
36727
+ cardProps = props.cardProps,
36728
+ rest = objectWithoutProperties_objectWithoutProperties(props, TabPane_excluded2);
36729
+
36730
+ var prefixCls = getPrefixCls('pro-card-tabpane');
36731
+ var tabPaneClassName = classnames_default()(prefixCls, className);
36732
+ return (0,jsx_runtime.jsx)(external_antd_.Tabs.TabPane, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
36733
+ tabKey: tabKey,
36734
+ tab: tab,
36735
+ className: tabPaneClassName,
36736
+ style: style,
36737
+ disabled: disabled,
36738
+ destroyInactiveTabPane: destroyInactiveTabPane
36739
+ }, rest), {}, {
36740
+ children: (0,jsx_runtime.jsx)(components_Card, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, cardProps), {}, {
36741
+ children: children
36742
+ }))
36743
+ }), key);
36744
+ }
36745
+ };
36746
+
36747
+ if (false) {}
36748
+
36749
+ /* harmony default export */ var components_TabPane = (TabPane);
36754
36750
  ;// CONCATENATED MODULE: ./packages/card/es/components/Card/style.js
36755
36751
 
36756
36752
 
@@ -36888,7 +36884,8 @@ var genProCardStyle = function genProCardStyle(token) {
36888
36884
  }), defineProperty_defineProperty(_objectSpread2, "".concat(componentCls, "-title"), {
36889
36885
  color: token.colorText,
36890
36886
  fontWeight: 500,
36891
- fontSize: token.fontSizeLG
36887
+ fontSize: token.fontSizeLG,
36888
+ lineHeight: token.lineHeight
36892
36889
  }), defineProperty_defineProperty(_objectSpread2, "".concat(componentCls, "-extra"), {
36893
36890
  color: token.colorText
36894
36891
  }), defineProperty_defineProperty(_objectSpread2, "".concat(componentCls, "-type-inner"), defineProperty_defineProperty({}, "".concat(componentCls, "-header"), {
@@ -36907,7 +36904,7 @@ var genProCardStyle = function genProCardStyle(token) {
36907
36904
  boxSizing: 'border-box',
36908
36905
  height: '100%',
36909
36906
  paddingInline: token.paddingLG,
36910
- paddingBlock: token.paddingLG,
36907
+ paddingBlock: token.padding,
36911
36908
  '&-center': {
36912
36909
  display: 'flex',
36913
36910
  alignItems: 'center',
@@ -36992,9 +36989,10 @@ var Card_excluded = ["className", "style", "bodyStyle", "headStyle", "title", "s
36992
36989
 
36993
36990
 
36994
36991
 
36992
+
36995
36993
  var useBreakpoint = external_antd_.Grid.useBreakpoint;
36996
36994
  var Card = /*#__PURE__*/external_React_default().forwardRef(function (props, ref) {
36997
- var _tabs$items, _classNames2, _classNames3, _classNames4;
36995
+ var _classNames2, _classNames3, _classNames4;
36998
36996
 
36999
36997
  var className = props.className,
37000
36998
  style = props.style,
@@ -37058,13 +37056,7 @@ var Card = /*#__PURE__*/external_React_default().forwardRef(function (props, ref
37058
37056
  var responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs']; // 修改组合传给antd tabs的参数
37059
37057
  // @ts-ignore
37060
37058
 
37061
- var ModifyTabItemsContant = tabs === null || tabs === void 0 ? void 0 : (_tabs$items = tabs.items) === null || _tabs$items === void 0 ? void 0 : _tabs$items.map(function (item) {
37062
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
37063
- children: (0,jsx_runtime.jsx)(Card, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, tabs === null || tabs === void 0 ? void 0 : tabs.cardProps), {}, {
37064
- children: item.children
37065
- }))
37066
- });
37067
- });
37059
+ var ModifyTabItemsContant = useLegacyItems(tabs === null || tabs === void 0 ? void 0 : tabs.items, children, tabs);
37068
37060
  /**
37069
37061
  * 根据响应式获取 gutter, 参考 antd 实现
37070
37062
  *
@@ -37507,55 +37499,6 @@ StatisticCard.Operation = Operation;
37507
37499
  StatisticCard.isProCard = true;
37508
37500
  StatisticCard.Group = StatisticCard_Group;
37509
37501
  /* harmony default export */ var components_StatisticCard = (StatisticCard);
37510
- ;// CONCATENATED MODULE: ./packages/card/es/components/TabPane/index.js
37511
-
37512
-
37513
- var TabPane_excluded = ["key", "tab", "tabKey", "disabled", "destroyInactiveTabPane", "children", "className", "style", "cardProps"];
37514
-
37515
-
37516
-
37517
-
37518
-
37519
-
37520
- var TabPane = function TabPane(props) {
37521
- var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
37522
- getPrefixCls = _useContext.getPrefixCls; // 如果是antd v5 则返回为空
37523
-
37524
-
37525
- if (external_antd_.version.startsWith('5')) {
37526
- return (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
37527
- } else {
37528
- var key = props.key,
37529
- tab = props.tab,
37530
- tabKey = props.tabKey,
37531
- disabled = props.disabled,
37532
- destroyInactiveTabPane = props.destroyInactiveTabPane,
37533
- children = props.children,
37534
- className = props.className,
37535
- style = props.style,
37536
- cardProps = props.cardProps,
37537
- rest = objectWithoutProperties_objectWithoutProperties(props, TabPane_excluded);
37538
-
37539
- var prefixCls = getPrefixCls('pro-card-tabpane');
37540
- var tabPaneClassName = classnames_default()(prefixCls, className);
37541
- return (0,jsx_runtime.jsx)(external_antd_.Tabs.TabPane, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
37542
- tabKey: tabKey,
37543
- tab: tab,
37544
- className: tabPaneClassName,
37545
- style: style,
37546
- disabled: disabled,
37547
- destroyInactiveTabPane: destroyInactiveTabPane
37548
- }, rest), {}, {
37549
- children: (0,jsx_runtime.jsx)(components_Card, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, cardProps), {}, {
37550
- children: children
37551
- }))
37552
- }), key);
37553
- }
37554
- };
37555
-
37556
- if (false) {}
37557
-
37558
- /* harmony default export */ var components_TabPane = (TabPane);
37559
37502
  ;// CONCATENATED MODULE: ./packages/card/es/ProCard.js
37560
37503
 
37561
37504
 
@@ -43509,14 +43452,14 @@ var useFieldFetchData = function useFieldFetchData(props) {
43509
43452
  var cacheForSwr = props.cacheForSwr,
43510
43453
  fieldProps = props.fieldProps;
43511
43454
 
43512
- var _useState = (0,external_React_.useState)(props.defaultKeyWords),
43513
- _useState2 = slicedToArray_slicedToArray(_useState, 2),
43514
- keyWords = _useState2[0],
43515
- setKeyWords = _useState2[1];
43455
+ var _useSafeState = useSafeState(props.defaultKeyWords),
43456
+ _useSafeState2 = slicedToArray_slicedToArray(_useSafeState, 2),
43457
+ keyWords = _useSafeState2[0],
43458
+ setKeyWords = _useSafeState2[1];
43516
43459
  /** Key 是用来缓存请求的,如果不在是有问题 */
43517
43460
 
43518
43461
 
43519
- var _useState3 = (0,external_React_.useState)(function () {
43462
+ var _useState = (0,external_React_.useState)(function () {
43520
43463
  if (props.proFieldKey) {
43521
43464
  return props.proFieldKey.toString();
43522
43465
  }
@@ -43527,8 +43470,8 @@ var useFieldFetchData = function useFieldFetchData(props) {
43527
43470
 
43528
43471
  return 'no-fetch';
43529
43472
  }),
43530
- _useState4 = slicedToArray_slicedToArray(_useState3, 1),
43531
- cacheKey = _useState4[0];
43473
+ _useState2 = slicedToArray_slicedToArray(_useState, 1),
43474
+ cacheKey = _useState2[0];
43532
43475
 
43533
43476
  var proFieldKeyRef = (0,external_React_.useRef)(cacheKey);
43534
43477
  var getOptionsFormValueEnum = (0,external_React_.useCallback)(function (coverValueEnum) {
@@ -46727,8 +46670,7 @@ var ColorPicker_excluded = ["mode", "popoverProps"];
46727
46670
 
46728
46671
  var DEFAULT_COLORS = ['#FF9D4E', '#5BD8A6', '#5B8FF9', '#F7664E', '#FF86B7', '#2B9E9D', '#9270CA', '#6DC8EC', '#667796', '#F6BD16' // 9 - 黄色
46729
46672
  ];
46730
-
46731
- var ColorPicker = function ColorPicker(_ref) {
46673
+ var ColorPicker = /*#__PURE__*/external_React_default().forwardRef(function (_ref, ref) {
46732
46674
  var mode = _ref.mode,
46733
46675
  popoverProps = _ref.popoverProps,
46734
46676
  rest = objectWithoutProperties_objectWithoutProperties(_ref, ColorPicker_excluded);
@@ -46765,6 +46707,8 @@ var ColorPicker = function ColorPicker(_ref) {
46765
46707
  })
46766
46708
  });
46767
46709
 
46710
+ (0,external_React_.useImperativeHandle)(ref, function () {});
46711
+
46768
46712
  if (mode === 'read') {
46769
46713
  return readDom;
46770
46714
  }
@@ -46799,7 +46743,7 @@ var ColorPicker = function ColorPicker(_ref) {
46799
46743
  }),
46800
46744
  children: readDom
46801
46745
  }));
46802
- };
46746
+ });
46803
46747
  /**
46804
46748
  * 颜色组件
46805
46749
  *
@@ -46808,8 +46752,7 @@ var ColorPicker = function ColorPicker(_ref) {
46808
46752
  * moneySymbol?: string; }
46809
46753
  */
46810
46754
 
46811
-
46812
- var FieldColorPicker = function FieldColorPicker(_ref3) {
46755
+ var FieldColorPicker = function FieldColorPicker(_ref3, ref) {
46813
46756
  var text = _ref3.text,
46814
46757
  type = _ref3.mode,
46815
46758
  render = _ref3.render,
@@ -46819,7 +46762,8 @@ var FieldColorPicker = function FieldColorPicker(_ref3) {
46819
46762
  if (type === 'read') {
46820
46763
  var dom = (0,jsx_runtime.jsx)(ColorPicker, {
46821
46764
  value: text,
46822
- mode: "read"
46765
+ mode: "read",
46766
+ ref: ref
46823
46767
  });
46824
46768
 
46825
46769
  if (render) {
@@ -46832,7 +46776,9 @@ var FieldColorPicker = function FieldColorPicker(_ref3) {
46832
46776
  }
46833
46777
 
46834
46778
  if (type === 'edit' || type === 'update') {
46835
- var _dom = (0,jsx_runtime.jsx)(ColorPicker, objectSpread2_objectSpread2({}, fieldProps));
46779
+ var _dom = (0,jsx_runtime.jsx)(ColorPicker, objectSpread2_objectSpread2({
46780
+ ref: ref
46781
+ }, fieldProps));
46836
46782
 
46837
46783
  if (renderFormItem) {
46838
46784
  return renderFormItem(text, objectSpread2_objectSpread2({
@@ -46846,7 +46792,7 @@ var FieldColorPicker = function FieldColorPicker(_ref3) {
46846
46792
  return null;
46847
46793
  };
46848
46794
 
46849
- /* harmony default export */ var components_ColorPicker = (FieldColorPicker);
46795
+ /* harmony default export */ var components_ColorPicker = (/*#__PURE__*/external_React_default().forwardRef(FieldColorPicker));
46850
46796
  // EXTERNAL MODULE: ./node_modules/dayjs/plugin/weekOfYear.js
46851
46797
  var weekOfYear = __webpack_require__(9855);
46852
46798
  var weekOfYear_default = /*#__PURE__*/__webpack_require__.n(weekOfYear);
@@ -48202,7 +48148,7 @@ var FieldRadio = function FieldRadio(_ref, ref) {
48202
48148
  }); // css
48203
48149
 
48204
48150
  var _useStyle = useStyle('FieldRadioRadio', function (token) {
48205
- return defineProperty_defineProperty({}, ".".concat(layoutClassName, "-horizontal"), defineProperty_defineProperty({}, "".concat(token.antCls, "-radio-wrapper"), {
48151
+ return defineProperty_defineProperty({}, ".".concat(layoutClassName, "-vertical"), defineProperty_defineProperty({}, "".concat(token.antCls, "-radio-wrapper"), {
48206
48152
  display: 'block',
48207
48153
  marginInlineEnd: 0
48208
48154
  }));
@@ -48243,7 +48189,7 @@ var FieldRadio = function FieldRadio(_ref, ref) {
48243
48189
  ref: radioRef,
48244
48190
  optionType: radioType
48245
48191
  }, rest.fieldProps), {}, {
48246
- className: classnames_default()((_rest$fieldProps = rest.fieldProps) === null || _rest$fieldProps === void 0 ? void 0 : _rest$fieldProps.className, hashId, "".concat(layoutClassName, "-").concat(rest.fieldProps.layout || 'vertical')),
48192
+ className: classnames_default()((_rest$fieldProps = rest.fieldProps) === null || _rest$fieldProps === void 0 ? void 0 : _rest$fieldProps.className, hashId, "".concat(layoutClassName, "-").concat(rest.fieldProps.layout || 'horizontal')),
48247
48193
  options: options
48248
48194
  })));
48249
48195
 
@@ -48504,6 +48450,100 @@ var Second = function Second(_ref, ref) {
48504
48450
  };
48505
48451
 
48506
48452
  /* harmony default export */ var components_Second = (/*#__PURE__*/external_React_default().forwardRef(Second));
48453
+ ;// CONCATENATED MODULE: ./packages/field/es/components/Segmented/index.js
48454
+
48455
+
48456
+
48457
+
48458
+ var Segmented_excluded = ["mode", "render", "renderFormItem", "fieldProps", "emptyText"];
48459
+
48460
+
48461
+
48462
+
48463
+ /**
48464
+ * Segmented https://ant.design/components/segmented-cn/
48465
+ *
48466
+ * @param
48467
+ */
48468
+
48469
+ var FieldSegmented = function FieldSegmented(_ref, ref) {
48470
+ var mode = _ref.mode,
48471
+ render = _ref.render,
48472
+ renderFormItem = _ref.renderFormItem,
48473
+ fieldProps = _ref.fieldProps,
48474
+ _ref$emptyText = _ref.emptyText,
48475
+ emptyText = _ref$emptyText === void 0 ? '-' : _ref$emptyText,
48476
+ rest = objectWithoutProperties_objectWithoutProperties(_ref, Segmented_excluded);
48477
+
48478
+ var inputRef = (0,external_React_.useRef)();
48479
+
48480
+ var _useFieldFetchData = useFieldFetchData(rest),
48481
+ _useFieldFetchData2 = slicedToArray_slicedToArray(_useFieldFetchData, 3),
48482
+ loading = _useFieldFetchData2[0],
48483
+ options = _useFieldFetchData2[1],
48484
+ _fetchData = _useFieldFetchData2[2];
48485
+
48486
+ (0,external_React_.useImperativeHandle)(ref, function () {
48487
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, inputRef.current || {}), {}, {
48488
+ fetchData: function fetchData() {
48489
+ return _fetchData();
48490
+ }
48491
+ });
48492
+ });
48493
+
48494
+ if (loading) {
48495
+ return (0,jsx_runtime.jsx)(external_antd_.Spin, {
48496
+ size: "small"
48497
+ });
48498
+ }
48499
+
48500
+ if (mode === 'read') {
48501
+ var optionsValueEnum = (options === null || options === void 0 ? void 0 : options.length) ? options === null || options === void 0 ? void 0 : options.reduce(function (pre, cur) {
48502
+ var _cur$value;
48503
+
48504
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, pre), {}, defineProperty_defineProperty({}, (_cur$value = cur.value) !== null && _cur$value !== void 0 ? _cur$value : '', cur.label));
48505
+ }, {}) : undefined;
48506
+
48507
+ var dom = (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
48508
+ children: proFieldParsingText(rest.text, ObjToMap(rest.valueEnum || optionsValueEnum))
48509
+ });
48510
+
48511
+ if (render) {
48512
+ var _render;
48513
+
48514
+ return (_render = render(rest.text, objectSpread2_objectSpread2({
48515
+ mode: mode
48516
+ }, fieldProps), (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
48517
+ children: dom
48518
+ }))) !== null && _render !== void 0 ? _render : emptyText;
48519
+ }
48520
+
48521
+ return dom;
48522
+ }
48523
+
48524
+ if (mode === 'edit' || mode === 'update') {
48525
+ var _dom = (0,jsx_runtime.jsx)(external_antd_.Segmented, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
48526
+ ref: inputRef,
48527
+ allowClear: true
48528
+ }, fieldProps), {}, {
48529
+ options: options
48530
+ }));
48531
+
48532
+ if (renderFormItem) {
48533
+ return renderFormItem(rest.text, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
48534
+ mode: mode
48535
+ }, fieldProps), {}, {
48536
+ options: options
48537
+ }), _dom);
48538
+ }
48539
+
48540
+ return _dom;
48541
+ }
48542
+
48543
+ return null;
48544
+ };
48545
+
48546
+ /* harmony default export */ var Segmented = (/*#__PURE__*/external_React_default().forwardRef(FieldSegmented));
48507
48547
  ;// CONCATENATED MODULE: ./packages/field/es/components/Slider/index.js
48508
48548
 
48509
48549
 
@@ -49318,6 +49358,7 @@ var es_excluded = ["text", "valueType", "mode", "onChange", "renderFormItem", "v
49318
49358
 
49319
49359
 
49320
49360
 
49361
+
49321
49362
 
49322
49363
 
49323
49364
  dayjs_min_default().extend((weekday_default()));
@@ -49738,6 +49779,12 @@ var defaultRenderText = function defaultRenderText(dataValue, valueType, props,
49738
49779
  }, props));
49739
49780
  }
49740
49781
 
49782
+ if (valueType === 'segmented') {
49783
+ return (0,jsx_runtime.jsx)(Segmented, objectSpread2_objectSpread2({
49784
+ text: dataValue
49785
+ }, props));
49786
+ }
49787
+
49741
49788
  return (0,jsx_runtime.jsx)(Text, objectSpread2_objectSpread2({
49742
49789
  text: dataValue
49743
49790
  }, props));
@@ -50468,8 +50515,6 @@ var PlusOutlined_PlusOutlined = function PlusOutlined(props, ref) {
50468
50515
 
50469
50516
  PlusOutlined_PlusOutlined.displayName = 'PlusOutlined';
50470
50517
  /* harmony default export */ var icons_PlusOutlined = (/*#__PURE__*/external_React_.forwardRef(PlusOutlined_PlusOutlined));
50471
- // EXTERNAL MODULE: ./node_modules/rc-util/lib/Children/toArray.js
50472
- var Children_toArray = __webpack_require__(5994);
50473
50518
  ;// CONCATENATED MODULE: ./packages/form/es/components/List/ListItem.js
50474
50519
 
50475
50520
 
@@ -55741,7 +55786,7 @@ var field = function field(item, _ref) {
55741
55786
  }
55742
55787
 
55743
55788
  return /*#__PURE__*/(0,external_React_.createElement)(components_Field, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formFieldProps), {}, {
55744
- key: "".concat(item.key, "-").concat(item.index),
55789
+ key: [item.key, item.index || 0].join('-'),
55745
55790
  renderFormItem: renderFormItem
55746
55791
  }));
55747
55792
  };
@@ -56033,6 +56078,41 @@ function BetaSchemaForm(props) {
56033
56078
  }
56034
56079
 
56035
56080
  /* harmony default export */ var SchemaForm = (BetaSchemaForm);
56081
+ ;// CONCATENATED MODULE: ./packages/form/es/components/Segmented/index.js
56082
+
56083
+
56084
+ var components_Segmented_excluded = ["fieldProps", "request", "params", "proFieldProps"];
56085
+
56086
+
56087
+
56088
+ /**
56089
+ * 分段控制器
56090
+ *
56091
+ * @param
56092
+ */
56093
+
56094
+ var ProFormSegmented = function ProFormSegmented(_ref, ref) {
56095
+ var fieldProps = _ref.fieldProps,
56096
+ request = _ref.request,
56097
+ params = _ref.params,
56098
+ proFieldProps = _ref.proFieldProps,
56099
+ rest = objectWithoutProperties_objectWithoutProperties(_ref, components_Segmented_excluded);
56100
+
56101
+ return (0,jsx_runtime.jsx)(components_Field, objectSpread2_objectSpread2({
56102
+ valueType: "segmented",
56103
+ fieldProps: fieldProps,
56104
+ ref: ref,
56105
+ request: request,
56106
+ params: params,
56107
+ filedConfig: {
56108
+ customLightMode: true
56109
+ },
56110
+ proFieldProps: proFieldProps
56111
+ }, rest));
56112
+ };
56113
+
56114
+ var WarpProFormSegmented = /*#__PURE__*/external_React_default().forwardRef(ProFormSegmented);
56115
+ /* harmony default export */ var components_Segmented = (WarpProFormSegmented);
56036
56116
  ;// CONCATENATED MODULE: ./packages/form/es/components/Select/index.js
56037
56117
 
56038
56118
 
@@ -56741,6 +56821,7 @@ var ProFormUploadDragger = createField(BaseProFormUploadDragger, {
56741
56821
 
56742
56822
 
56743
56823
 
56824
+
56744
56825
 
56745
56826
 
56746
56827
  ;// CONCATENATED MODULE: ./packages/form/es/BaseForm/BaseForm.js
@@ -60304,8 +60385,8 @@ var genPageContainerStyle = function genPageContainerStyle(token) {
60304
60385
  }))
60305
60386
  }, defineProperty_defineProperty(_token$componentCls, '& &-warp-page-header', defineProperty_defineProperty({
60306
60387
  marginBlockEnd: token.marginBlockPageContainerContent / 2,
60307
- paddingInlineStart: 40,
60308
- paddingInlineEnd: 40
60388
+ paddingInlineStart: token.marginInlinePageContainerContent,
60389
+ paddingInlineEnd: token.marginInlinePageContainerContent
60309
60390
  }, "& ~ ".concat(token.proComponentsCls, "-grid-content"), defineProperty_defineProperty({}, "".concat(token.proComponentsCls, "-page-container-children-content"), {
60310
60391
  marginBlock: token.marginBlockPageContainerContent / 3
60311
60392
  }))), defineProperty_defineProperty(_token$componentCls, '&-detail', defineProperty_defineProperty({
@@ -67481,7 +67562,7 @@ var genProLayoutStyle = function genProLayoutStyle(token) {
67481
67562
  display: 'flex',
67482
67563
  flexDirection: 'column',
67483
67564
  width: '100%',
67484
- backgroundColor: 'transparent',
67565
+ backgroundColor: token.pageContainer.colorBgPageContainer || 'transparent',
67485
67566
  position: 'relative',
67486
67567
  '*': {
67487
67568
  boxSizing: 'border-box'
@@ -71011,7 +71092,7 @@ function container_useContainer() {
71011
71092
  try {
71012
71093
  storage === null || storage === void 0 ? void 0 : storage.removeItem(persistenceKey);
71013
71094
  } catch (error) {
71014
- console.error(error);
71095
+ console.warn(error);
71015
71096
  }
71016
71097
  }, [props.columnsState]);
71017
71098
  (0,external_React_.useEffect)(function () {
@@ -71032,7 +71113,8 @@ function container_useContainer() {
71032
71113
  try {
71033
71114
  storage === null || storage === void 0 ? void 0 : storage.setItem(persistenceKey, JSON.stringify(columnsMap));
71034
71115
  } catch (error) {
71035
- console.error(error);
71116
+ console.warn(error);
71117
+ clearPersistenceStorage();
71036
71118
  } // eslint-disable-next-line react-hooks/exhaustive-deps
71037
71119
 
71038
71120
  }, [(_props$columnsState8 = props.columnsState) === null || _props$columnsState8 === void 0 ? void 0 : _props$columnsState8.persistenceKey, columnsMap, (_props$columnsState9 = props.columnsState) === null || _props$columnsState9 === void 0 ? void 0 : _props$columnsState9.persistenceType]);
@@ -71200,7 +71282,7 @@ VerticalAlignBottomOutlined_VerticalAlignBottomOutlined.displayName = 'VerticalA
71200
71282
 
71201
71283
 
71202
71284
  var ColumnSetting_style_genProStyle = function genProStyle(token) {
71203
- var _overlay, _$concat2, _ref;
71285
+ var _$concat, _overlay, _$concat2, _ref;
71204
71286
 
71205
71287
  return _ref = {}, defineProperty_defineProperty(_ref, token.componentCls, {
71206
71288
  width: 'auto',
@@ -71224,19 +71306,16 @@ var ColumnSetting_style_genProStyle = function genProStyle(token) {
71224
71306
  backgroundColor: 'transparent'
71225
71307
  }), defineProperty_defineProperty(_overlay, "".concat(token.antCls, "-tree-draggable-icon"), {
71226
71308
  cursor: 'grab'
71227
- }), defineProperty_defineProperty(_overlay, "".concat(token.antCls, "-tree-treenode"), defineProperty_defineProperty({
71309
+ }), defineProperty_defineProperty(_overlay, "".concat(token.antCls, "-tree-treenode"), (_$concat = {
71228
71310
  alignItems: 'center',
71229
- '&:hover': defineProperty_defineProperty({
71230
- backgroundColor: token.controlItemBgActive
71231
- }, "".concat(token.componentCls, "-list-item-option"), {
71311
+ '&:hover': defineProperty_defineProperty({}, "".concat(token.componentCls, "-list-item-option"), {
71232
71312
  display: 'block'
71233
71313
  })
71234
- }, "".concat(token.antCls, "-tree-checkbox"), {
71235
- insetBlockStart: 0,
71236
- marginBlock: 0,
71237
- marginInline: 0,
71314
+ }, defineProperty_defineProperty(_$concat, "".concat(token.antCls, "-tree-checkbox"), {
71238
71315
  marginInlineEnd: '4px'
71239
- })), _overlay)
71316
+ }), defineProperty_defineProperty(_$concat, "".concat(token.antCls, "-tree-title"), {
71317
+ width: '100%'
71318
+ }), _$concat)), _overlay)
71240
71319
  }), defineProperty_defineProperty(_ref, "".concat(token.componentCls, "-list"), (_$concat2 = {
71241
71320
  display: 'flex',
71242
71321
  flexDirection: 'column',
@@ -71343,8 +71422,11 @@ var CheckboxListItem = function CheckboxListItem(_ref2) {
71343
71422
  fixed = _ref2.fixed;
71344
71423
  var intl = useIntl();
71345
71424
 
71425
+ var _useToken = useStyle_useToken(),
71426
+ hashId = _useToken.hashId;
71427
+
71346
71428
  var dom = (0,jsx_runtime.jsxs)("span", {
71347
- className: "".concat(className, "-list-item-option"),
71429
+ className: "".concat(className, "-list-item-option ").concat(hashId),
71348
71430
  children: [(0,jsx_runtime.jsx)(ToolTipIcon, {
71349
71431
  columnKey: columnKey,
71350
71432
  fixed: "left",
@@ -71367,9 +71449,9 @@ var CheckboxListItem = function CheckboxListItem(_ref2) {
71367
71449
  });
71368
71450
 
71369
71451
  return (0,jsx_runtime.jsxs)("span", {
71370
- className: "".concat(className, "-list-item"),
71452
+ className: "".concat(className, "-list-item ").concat(hashId),
71371
71453
  children: [(0,jsx_runtime.jsx)("div", {
71372
- className: "".concat(className, "-list-item-title"),
71454
+ className: "".concat(className, "-list-item-title ").concat(hashId),
71373
71455
  children: title
71374
71456
  }), !isLeaf ? dom : null]
71375
71457
  }, columnKey);
@@ -71388,6 +71470,9 @@ var CheckboxList = function CheckboxList(_ref3) {
71388
71470
  _ref3$listHeight = _ref3.listHeight,
71389
71471
  listHeight = _ref3$listHeight === void 0 ? 280 : _ref3$listHeight;
71390
71472
 
71473
+ var _useToken2 = useStyle_useToken(),
71474
+ hashId = _useToken2.hashId;
71475
+
71391
71476
  var _Container$useContain2 = container.useContainer(),
71392
71477
  columnsMap = _Container$useContain2.columnsMap,
71393
71478
  setColumnsMap = _Container$useContain2.setColumnsMap,
@@ -71398,6 +71483,7 @@ var CheckboxList = function CheckboxList(_ref3) {
71398
71483
  var treeDataConfig = (0,external_React_.useMemo)(function () {
71399
71484
  if (!show) return {};
71400
71485
  var checkedKeys = [];
71486
+ var treeMap = new Map();
71401
71487
 
71402
71488
  var loopData = function loopData(data, parentConfig) {
71403
71489
  return data.map(function (_ref4) {
@@ -71413,7 +71499,7 @@ var CheckboxList = function CheckboxList(_ref3) {
71413
71499
  show: true
71414
71500
  };
71415
71501
 
71416
- if (config.show !== false && (parentConfig === null || parentConfig === void 0 ? void 0 : parentConfig.show) !== false && !children) {
71502
+ if (config.show !== false && !children) {
71417
71503
  checkedKeys.push(columnKey);
71418
71504
  }
71419
71505
 
@@ -71427,16 +71513,26 @@ var CheckboxList = function CheckboxList(_ref3) {
71427
71513
  });
71428
71514
 
71429
71515
  if (children) {
71430
- item.children = loopData(children, config);
71516
+ var _item$children;
71517
+
71518
+ item.children = loopData(children, config); // 如果children 已经全部是show了,把自己也设置为show
71519
+
71520
+ if ((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.every(function (childrenItem) {
71521
+ return checkedKeys === null || checkedKeys === void 0 ? void 0 : checkedKeys.includes(childrenItem.key);
71522
+ })) {
71523
+ checkedKeys.push(columnKey);
71524
+ }
71431
71525
  }
71432
71526
 
71527
+ treeMap.set(key, item);
71433
71528
  return item;
71434
71529
  });
71435
71530
  };
71436
71531
 
71437
71532
  return {
71438
71533
  list: loopData(list),
71439
- keys: checkedKeys
71534
+ keys: checkedKeys,
71535
+ map: treeMap
71440
71536
  };
71441
71537
  }, [columnsMap, list, show]);
71442
71538
  /** 移动到指定的位置 */
@@ -71476,12 +71572,28 @@ var CheckboxList = function CheckboxList(_ref3) {
71476
71572
  /** 选中反选功能 */
71477
71573
 
71478
71574
  var onCheckTree = useRefFunction(function (e) {
71479
- var columnKey = e.node.key;
71575
+ var newColumnMap = objectSpread2_objectSpread2({}, columnsMap);
71576
+
71577
+ var loopSetShow = function loopSetShow(key) {
71578
+ var _treeDataConfig$map, _treeDataConfig$map$g;
71579
+
71580
+ var newSetting = objectSpread2_objectSpread2({}, newColumnMap[key]);
71581
+
71582
+ newSetting.show = e.checked; // 如果含有子节点,也要选中
71583
+
71584
+ if ((_treeDataConfig$map = treeDataConfig.map) === null || _treeDataConfig$map === void 0 ? void 0 : (_treeDataConfig$map$g = _treeDataConfig$map.get(key)) === null || _treeDataConfig$map$g === void 0 ? void 0 : _treeDataConfig$map$g.children) {
71585
+ var _treeDataConfig$map2, _treeDataConfig$map2$, _treeDataConfig$map2$2;
71586
+
71587
+ (_treeDataConfig$map2 = treeDataConfig.map) === null || _treeDataConfig$map2 === void 0 ? void 0 : (_treeDataConfig$map2$ = _treeDataConfig$map2.get(key)) === null || _treeDataConfig$map2$ === void 0 ? void 0 : (_treeDataConfig$map2$2 = _treeDataConfig$map2$.children) === null || _treeDataConfig$map2$2 === void 0 ? void 0 : _treeDataConfig$map2$2.forEach(function (item) {
71588
+ return loopSetShow(item.key);
71589
+ });
71590
+ }
71480
71591
 
71481
- var newSetting = objectSpread2_objectSpread2({}, columnsMap[columnKey]);
71592
+ newColumnMap[key] = newSetting;
71593
+ };
71482
71594
 
71483
- newSetting.show = e.checked;
71484
- setColumnsMap(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, columnsMap), {}, defineProperty_defineProperty({}, columnKey, newSetting)));
71595
+ loopSetShow(e.node.key);
71596
+ setColumnsMap(objectSpread2_objectSpread2({}, newColumnMap));
71485
71597
  });
71486
71598
 
71487
71599
  if (!show) {
@@ -71511,6 +71623,7 @@ var CheckboxList = function CheckboxList(_ref3) {
71511
71623
  children: undefined
71512
71624
  });
71513
71625
 
71626
+ if (!node.title) return null;
71514
71627
  return (0,jsx_runtime.jsx)(CheckboxListItem, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
71515
71628
  className: className
71516
71629
  }, node), {}, {
@@ -71524,7 +71637,7 @@ var CheckboxList = function CheckboxList(_ref3) {
71524
71637
 
71525
71638
  return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
71526
71639
  children: [showTitle && (0,jsx_runtime.jsx)("span", {
71527
- className: "".concat(className, "-list-title"),
71640
+ className: "".concat(className, "-list-title ").concat(hashId),
71528
71641
  children: listTitle
71529
71642
  }), listDom]
71530
71643
  });
@@ -71536,6 +71649,10 @@ var GroupCheckboxList = function GroupCheckboxList(_ref5) {
71536
71649
  draggable = _ref5.draggable,
71537
71650
  checkable = _ref5.checkable,
71538
71651
  listsHeight = _ref5.listsHeight;
71652
+
71653
+ var _useToken3 = useStyle_useToken(),
71654
+ hashId = _useToken3.hashId;
71655
+
71539
71656
  var rightList = [];
71540
71657
  var leftList = [];
71541
71658
  var list = [];
@@ -71563,7 +71680,7 @@ var GroupCheckboxList = function GroupCheckboxList(_ref5) {
71563
71680
  var showRight = rightList && rightList.length > 0;
71564
71681
  var showLeft = leftList && leftList.length > 0;
71565
71682
  return (0,jsx_runtime.jsxs)("div", {
71566
- className: classnames_default()("".concat(className, "-list"), defineProperty_defineProperty({}, "".concat(className, "-list-group"), showRight || showLeft)),
71683
+ className: classnames_default()("".concat(className, "-list"), hashId, defineProperty_defineProperty({}, "".concat(className, "-list-group"), showRight || showLeft)),
71567
71684
  children: [(0,jsx_runtime.jsx)(CheckboxList, {
71568
71685
  title: intl.getMessage('tableToolBar.leftFixedTitle', '固定在左侧'),
71569
71686
  list: leftList,
@@ -71593,7 +71710,8 @@ var GroupCheckboxList = function GroupCheckboxList(_ref5) {
71593
71710
  function ColumnSetting(props) {
71594
71711
  var _props$checkable, _props$draggable;
71595
71712
 
71596
- var columnRef = (0,external_React_.useRef)({});
71713
+ var columnRef = (0,external_React_.useRef)({}); // 获得当前上下文的 hashID
71714
+
71597
71715
  var counter = container.useContainer();
71598
71716
  var localColumns = props.columns;
71599
71717
  var _props$checkedReset = props.checkedReset,
@@ -71674,12 +71792,13 @@ function ColumnSetting(props) {
71674
71792
  var className = getPrefixCls('pro-table-column-setting');
71675
71793
 
71676
71794
  var _useStyle = ColumnSetting_style_useStyle(className),
71677
- wrapSSR = _useStyle.wrapSSR;
71795
+ wrapSSR = _useStyle.wrapSSR,
71796
+ hashId = _useStyle.hashId;
71678
71797
 
71679
71798
  return wrapSSR((0,jsx_runtime.jsx)(external_antd_.Popover, {
71680
71799
  arrowPointAtCenter: true,
71681
71800
  title: (0,jsx_runtime.jsxs)("div", {
71682
- className: "".concat(className, "-title"),
71801
+ className: "".concat(className, "-title ").concat(hashId),
71683
71802
  children: [(0,jsx_runtime.jsx)(external_antd_.Checkbox, {
71684
71803
  indeterminate: indeterminate,
71685
71804
  checked: unCheckedKeys.length === 0 && unCheckedKeys.length !== localColumns.length,
@@ -71697,7 +71816,7 @@ function ColumnSetting(props) {
71697
71816
  children: props.extra
71698
71817
  }) : null]
71699
71818
  }),
71700
- overlayClassName: "".concat(className, "-overlay"),
71819
+ overlayClassName: "".concat(className, "-overlay ").concat(hashId),
71701
71820
  trigger: "click",
71702
71821
  placement: "bottomRight",
71703
71822
  content: (0,jsx_runtime.jsx)(GroupCheckboxList, {
@@ -92620,9 +92739,6 @@ function Divider_Divider(_ref) {
92620
92739
 
92621
92740
 
92622
92741
 
92623
- /** @private Only used for antd internal. Do not use in your production. */
92624
-
92625
- var es_useFullPath = useFullPath;
92626
92742
 
92627
92743
  var ExportMenu = es_Menu;
92628
92744
  ExportMenu.Item = es_MenuItem;
@@ -94580,7 +94696,7 @@ function SubMenu_SubMenu(props) {
94580
94696
  var context = external_React_.useContext(menu_MenuContext);
94581
94697
  var prefixCls = context.prefixCls,
94582
94698
  inlineCollapsed = context.inlineCollapsed;
94583
- var parentPath = es_useFullPath();
94699
+ var parentPath = useFullPath();
94584
94700
  var titleNode;
94585
94701
 
94586
94702
  if (!icon) {
@@ -97132,17 +97248,17 @@ function BaseProList(props) {
97132
97248
  /* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
97133
97249
  ;// CONCATENATED MODULE: ./packages/components/src/version.ts
97134
97250
  var version_version = {
97135
- "@ant-design/pro-card": "2.0.4",
97136
- "@ant-design/pro-components": "2.3.6",
97137
- "@ant-design/pro-descriptions": "2.0.5",
97138
- "@ant-design/pro-field": "2.0.5",
97139
- "@ant-design/pro-form": "2.0.5",
97140
- "@ant-design/pro-layout": "7.0.4",
97141
- "@ant-design/pro-list": "2.0.5",
97251
+ "@ant-design/pro-card": "2.0.5",
97252
+ "@ant-design/pro-components": "2.3.7",
97253
+ "@ant-design/pro-descriptions": "2.0.6",
97254
+ "@ant-design/pro-field": "2.0.6",
97255
+ "@ant-design/pro-form": "2.0.6",
97256
+ "@ant-design/pro-layout": "7.0.5",
97257
+ "@ant-design/pro-list": "2.0.6",
97142
97258
  "@ant-design/pro-provider": "2.0.3",
97143
- "@ant-design/pro-skeleton": "2.0.2",
97144
- "@ant-design/pro-table": "3.0.5",
97145
- "@ant-design/pro-utils": "2.0.3"
97259
+ "@ant-design/pro-skeleton": "2.0.3",
97260
+ "@ant-design/pro-table": "3.0.6",
97261
+ "@ant-design/pro-utils": "2.0.4"
97146
97262
  };
97147
97263
  ;// CONCATENATED MODULE: ./packages/components/src/index.tsx
97148
97264