@ant-design/pro-components 2.2.0 → 2.2.1

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.
@@ -32112,7 +32112,7 @@ var FieldLabelFunction = function FieldLabelFunction(props, ref) {
32112
32112
  children: [getTextByValue(label, value), (value || value === 0) && allowClear && (0,jsx_runtime.jsx)(icons_CloseOutlined, {
32113
32113
  role: "button",
32114
32114
  title: "\u6E05\u9664",
32115
- className: classnames_default()("".concat(prefixCls, "-icon"), "".concat(prefixCls, "-close")),
32115
+ className: classnames_default()("".concat(prefixCls, "-icon"), hashId, "".concat(prefixCls, "-close")),
32116
32116
  onClick: function onClick(e) {
32117
32117
  if (onClear && !disabled) {
32118
32118
  onClear();
@@ -33625,7 +33625,7 @@ var FilterDropdown = function FilterDropdown(props) {
33625
33625
  overlay: (0,jsx_runtime.jsxs)("div", {
33626
33626
  className: "".concat(prefixCls, "-overlay ").concat(hashId),
33627
33627
  children: [(0,jsx_runtime.jsx)("div", {
33628
- className: "".concat(prefixCls, "-content"),
33628
+ className: "".concat(prefixCls, "-content ").concat(hashId),
33629
33629
  children: children
33630
33630
  }), footer && (0,jsx_runtime.jsx)(DropdownFooter, objectSpread2_objectSpread2({
33631
33631
  disabled: disabled,
@@ -33633,7 +33633,7 @@ var FilterDropdown = function FilterDropdown(props) {
33633
33633
  }, footer))]
33634
33634
  }),
33635
33635
  children: (0,jsx_runtime.jsx)("span", {
33636
- className: "".concat(prefixCls, "-label"),
33636
+ className: "".concat(prefixCls, "-label ").concat(hashId),
33637
33637
  children: label
33638
33638
  })
33639
33639
  }));
@@ -34019,14 +34019,14 @@ var LabelIconTip = /*#__PURE__*/external_React_default().memo(function (props) {
34019
34019
  return e.stopPropagation();
34020
34020
  },
34021
34021
  children: [(0,jsx_runtime.jsx)("div", {
34022
- className: classnames_default()("".concat(className, "-title"), defineProperty_defineProperty({}, "".concat(className, "-title-ellipsis"), ellipsis)),
34022
+ className: classnames_default()("".concat(className, "-title"), hashId, defineProperty_defineProperty({}, "".concat(className, "-title-ellipsis"), ellipsis)),
34023
34023
  children: label
34024
34024
  }), subTitle && (0,jsx_runtime.jsx)("div", {
34025
- className: "".concat(className, "-subtitle"),
34025
+ className: "".concat(className, "-subtitle ").concat(hashId),
34026
34026
  children: subTitle
34027
34027
  }), tooltip && (0,jsx_runtime.jsx)(external_antd_.Tooltip, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, tooltipProps), {}, {
34028
34028
  children: (0,jsx_runtime.jsx)("span", {
34029
- className: "".concat(className, "-icon"),
34029
+ className: "".concat(className, "-icon ").concat(hashId),
34030
34030
  children: icon
34031
34031
  })
34032
34032
  }))]
@@ -37197,7 +37197,7 @@ var CheckCard = function CheckCard(props) {
37197
37197
  bordered = _checkCardProps$borde === void 0 ? true : _checkCardProps$borde,
37198
37198
  checked = checkCardProps.checked;
37199
37199
  var sizeCls = getSizeCls(size);
37200
- var classString = classnames_default()(prefixCls, className, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), cardLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-checked"), checked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-multiple"), multiple), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-bordered"), bordered), defineProperty_defineProperty(_classNames, "hashId", hashId), _classNames));
37200
+ var classString = classnames_default()(prefixCls, className, hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), cardLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-checked"), checked), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-multiple"), multiple), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-bordered"), bordered), defineProperty_defineProperty(_classNames, "hashId", hashId), _classNames));
37201
37201
  var metaDom = (0,external_React_.useMemo)(function () {
37202
37202
  if (cardLoading) {
37203
37203
  return (0,jsx_runtime.jsx)(CardLoading, {
@@ -37210,7 +37210,7 @@ var CheckCard = function CheckCard(props) {
37210
37210
  }
37211
37211
 
37212
37212
  var avatarDom = avatar ? (0,jsx_runtime.jsx)("div", {
37213
- className: "".concat(prefixCls, "-avatar"),
37213
+ className: "".concat(prefixCls, "-avatar ").concat(hashId),
37214
37214
  children: typeof avatar === 'string' ? (0,jsx_runtime.jsx)(external_antd_.Avatar, {
37215
37215
  size: 48,
37216
37216
  shape: "square",
@@ -37219,29 +37219,29 @@ var CheckCard = function CheckCard(props) {
37219
37219
  }) : null;
37220
37220
 
37221
37221
  var headerDom = (title || extra) && (0,jsx_runtime.jsxs)("div", {
37222
- className: "".concat(prefixCls, "-header"),
37222
+ className: "".concat(prefixCls, "-header ").concat(hashId),
37223
37223
  children: [(0,jsx_runtime.jsx)("div", {
37224
- className: "".concat(prefixCls, "-title"),
37224
+ className: "".concat(prefixCls, "-title ").concat(hashId),
37225
37225
  children: title
37226
37226
  }), extra && (0,jsx_runtime.jsx)("div", {
37227
- className: "".concat(prefixCls, "-extra"),
37227
+ className: "".concat(prefixCls, "-extra ").concat(hashId),
37228
37228
  children: extra
37229
37229
  })]
37230
37230
  });
37231
37231
 
37232
37232
  var descriptionDom = description ? (0,jsx_runtime.jsx)("div", {
37233
- className: "".concat(prefixCls, "-description"),
37233
+ className: "".concat(prefixCls, "-description ").concat(hashId),
37234
37234
  children: description
37235
37235
  }) : null;
37236
- var metaClass = classnames_default()("".concat(prefixCls, "-content"), defineProperty_defineProperty({}, "".concat(prefixCls, "-avatar-header"), avatarDom && headerDom && !descriptionDom));
37236
+ var metaClass = classnames_default()("".concat(prefixCls, "-content"), hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-avatar-header"), avatarDom && headerDom && !descriptionDom));
37237
37237
  return (0,jsx_runtime.jsxs)("div", {
37238
37238
  className: metaClass,
37239
37239
  children: [avatarDom, headerDom || descriptionDom ? (0,jsx_runtime.jsxs)("div", {
37240
- className: "".concat(prefixCls, "-detail"),
37240
+ className: "".concat(prefixCls, "-detail ").concat(hashId),
37241
37241
  children: [headerDom, descriptionDom]
37242
37242
  }) : null]
37243
37243
  });
37244
- }, [avatar, cardLoading, cover, description, extra, prefixCls, title]);
37244
+ }, [avatar, cardLoading, cover, description, extra, hashId, prefixCls, title]);
37245
37245
  return wrapSSR((0,jsx_runtime.jsx)("div", {
37246
37246
  className: classString,
37247
37247
  style: style,
@@ -37431,11 +37431,11 @@ var Statistic = function Statistic(props) {
37431
37431
  var tipDom = tip && (0,jsx_runtime.jsx)(external_antd_.Tooltip, {
37432
37432
  title: tip,
37433
37433
  children: (0,jsx_runtime.jsx)(icons_QuestionCircleOutlined, {
37434
- className: "".concat(prefixCls, "-tip")
37434
+ className: "".concat(prefixCls, "-tip ").concat(hashId)
37435
37435
  })
37436
37436
  });
37437
37437
 
37438
- var trendIconClassName = classnames_default()("".concat(prefixCls, "-trend-icon"), defineProperty_defineProperty({}, "".concat(prefixCls, "-trend-icon-").concat(trend), trend));
37438
+ var trendIconClassName = classnames_default()("".concat(prefixCls, "-trend-icon"), hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-trend-icon-").concat(trend), trend));
37439
37439
 
37440
37440
  var trendDom = trend && (0,jsx_runtime.jsx)("div", {
37441
37441
  className: trendIconClassName
@@ -37470,7 +37470,7 @@ var Statistic = function Statistic(props) {
37470
37470
  }),
37471
37471
  className: statisticClassName
37472
37472
  }, others)), description && (0,jsx_runtime.jsx)("div", {
37473
- className: "".concat(prefixCls, "-description"),
37473
+ className: "".concat(prefixCls, "-description ").concat(hashId),
37474
37474
  children: description
37475
37475
  })]
37476
37476
  })]
@@ -38195,7 +38195,7 @@ var Card = /*#__PURE__*/external_React_default().forwardRef(function (props, ref
38195
38195
  return element;
38196
38196
  });
38197
38197
  var cardCls = classnames_default()("".concat(prefixCls), className, hashId, (_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-border"), bordered), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-box-shadow"), boxShadow), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-contain-card"), containProCard), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-loading"), loading), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-split"), split === 'vertical' || split === 'horizontal'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-ghost"), ghost), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-hoverable"), hoverable), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-size-").concat(size), size), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-type-").concat(type), type), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-collapse"), collapsed), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-checked"), checked), _classNames2));
38198
- var bodyCls = classnames_default()("".concat(prefixCls, "-body"), (_classNames3 = {}, defineProperty_defineProperty(_classNames3, "".concat(prefixCls, "-body-center"), layout === 'center'), defineProperty_defineProperty(_classNames3, "".concat(prefixCls, "-body-direction-column"), split === 'horizontal' || direction === 'column'), defineProperty_defineProperty(_classNames3, "".concat(prefixCls, "-body-wrap"), wrap && containProCard), _classNames3));
38198
+ var bodyCls = classnames_default()("".concat(prefixCls, "-body"), hashId, (_classNames3 = {}, defineProperty_defineProperty(_classNames3, "".concat(prefixCls, "-body-center"), layout === 'center'), defineProperty_defineProperty(_classNames3, "".concat(prefixCls, "-body-direction-column"), split === 'horizontal' || direction === 'column'), defineProperty_defineProperty(_classNames3, "".concat(prefixCls, "-body-wrap"), wrap && containProCard), _classNames3));
38199
38199
 
38200
38200
  var cardBodyStyle = objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, getStyle(horizonalGutter > 0, {
38201
38201
  marginInlineEnd: -horizonalGutter / 2,
@@ -38216,7 +38216,7 @@ var Card = /*#__PURE__*/external_React_default().forwardRef(function (props, ref
38216
38216
  collapsed: collapsed
38217
38217
  }) : (0,jsx_runtime.jsx)(icons_RightOutlined, {
38218
38218
  rotate: !collapsed ? 90 : undefined,
38219
- className: "".concat(prefixCls, "-collapsible-icon")
38219
+ className: "".concat(prefixCls, "-collapsible-icon ").concat(hashId)
38220
38220
  }));
38221
38221
  return wrapSSR((0,jsx_runtime.jsxs)("div", objectSpread2_objectSpread2(objectSpread2_objectSpread2({
38222
38222
  className: cardCls,
@@ -38230,24 +38230,24 @@ var Card = /*#__PURE__*/external_React_default().forwardRef(function (props, ref
38230
38230
  }
38231
38231
  }, omit_js_es(rest, ['prefixCls', 'colSpan'])), {}, {
38232
38232
  children: [(title || extra || collapsibleButton) && (0,jsx_runtime.jsxs)("div", {
38233
- className: classnames_default()("".concat(prefixCls, "-header"), (_classNames4 = {}, defineProperty_defineProperty(_classNames4, "".concat(prefixCls, "-header-border"), headerBordered || type === 'inner'), defineProperty_defineProperty(_classNames4, "".concat(prefixCls, "-header-collapsible"), collapsibleButton), _classNames4)),
38233
+ className: classnames_default()("".concat(prefixCls, "-header"), hashId, (_classNames4 = {}, defineProperty_defineProperty(_classNames4, "".concat(prefixCls, "-header-border"), headerBordered || type === 'inner'), defineProperty_defineProperty(_classNames4, "".concat(prefixCls, "-header-collapsible"), collapsibleButton), _classNames4)),
38234
38234
  style: headStyle,
38235
38235
  onClick: function onClick() {
38236
38236
  if (collapsibleButton) setCollapsed(!collapsed);
38237
38237
  },
38238
38238
  children: [(0,jsx_runtime.jsxs)("div", {
38239
- className: "".concat(prefixCls, "-title"),
38239
+ className: "".concat(prefixCls, "-title ").concat(hashId),
38240
38240
  children: [collapsibleButton, (0,jsx_runtime.jsx)(LabelIconTip, {
38241
38241
  label: title,
38242
38242
  tooltip: tooltip || tip,
38243
38243
  subTitle: subTitle
38244
38244
  })]
38245
38245
  }), extra && (0,jsx_runtime.jsx)("div", {
38246
- className: "".concat(prefixCls, "-extra"),
38246
+ className: "".concat(prefixCls, "-extra ").concat(hashId),
38247
38247
  children: extra
38248
38248
  })]
38249
38249
  }), tabs ? (0,jsx_runtime.jsx)("div", {
38250
- className: "".concat(prefixCls, "-tabs"),
38250
+ className: "".concat(prefixCls, "-tabs ").concat(hashId),
38251
38251
  children: (0,jsx_runtime.jsx)(external_antd_.Tabs, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
38252
38252
  onChange: tabs.onChange
38253
38253
  }, tabs), {}, {
@@ -38666,14 +38666,14 @@ var StatisticCard = function StatisticCard(props) {
38666
38666
  layout: "vertical"
38667
38667
  }, statistic));
38668
38668
 
38669
- var chartCls = classnames_default()("".concat(prefixCls, "-chart"), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-chart-left"), chartPlacement === 'left' && chart && statistic), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-chart-right"), chartPlacement === 'right' && chart && statistic), _classNames));
38669
+ var chartCls = classnames_default()("".concat(prefixCls, "-chart"), hashId, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-chart-left"), chartPlacement === 'left' && chart && statistic), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-chart-right"), chartPlacement === 'right' && chart && statistic), _classNames));
38670
38670
 
38671
38671
  var chartDom = chart && (0,jsx_runtime.jsx)("div", {
38672
38672
  className: chartCls,
38673
38673
  children: chart
38674
38674
  });
38675
38675
 
38676
- var contentCls = classnames_default()("".concat(prefixCls, "-content"), defineProperty_defineProperty({}, "".concat(prefixCls, "-content-horizontal"), chartPlacement === 'left' || chartPlacement === 'right')); // 默认上下结构
38676
+ var contentCls = classnames_default()("".concat(prefixCls, "-content "), hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-content-horizontal"), chartPlacement === 'left' || chartPlacement === 'right')); // 默认上下结构
38677
38677
 
38678
38678
  var contentDom = (chartDom || statisticDom) && (chartPlacement === 'left' ? (0,jsx_runtime.jsxs)("div", {
38679
38679
  className: contentCls,
@@ -38684,7 +38684,7 @@ var StatisticCard = function StatisticCard(props) {
38684
38684
  }));
38685
38685
 
38686
38686
  var footerDom = footer && (0,jsx_runtime.jsx)("div", {
38687
- className: "".concat(prefixCls, "-footer"),
38687
+ className: "".concat(prefixCls, "-footer ").concat(hashId),
38688
38688
  children: footer
38689
38689
  });
38690
38690
 
@@ -57195,6 +57195,7 @@ var ListItem_excluded = ["creatorButtonProps", "deleteIconProps", "copyIconProps
57195
57195
 
57196
57196
 
57197
57197
 
57198
+
57198
57199
  /** Antd 自带的toArray 不支持方法,所以需要自己搞一个 */
57199
57200
 
57200
57201
  var listToArray = function listToArray(children) {
@@ -57235,6 +57236,9 @@ var ProFormListItem = function ProFormListItem(props) {
57235
57236
  count = props.count,
57236
57237
  rest = objectWithoutProperties_objectWithoutProperties(props, ListItem_excluded);
57237
57238
 
57239
+ var _useToken = useStyle_useToken(),
57240
+ hashId = _useToken.hashId;
57241
+
57238
57242
  var listContext = (0,external_React_.useContext)(FormListContext);
57239
57243
  var unmountedRef = (0,external_React_.useRef)(false);
57240
57244
 
@@ -57301,7 +57305,7 @@ var ProFormListItem = function ProFormListItem(props) {
57301
57305
  children: (0,jsx_runtime.jsx)(external_antd_.Spin, {
57302
57306
  spinning: loadingCopy,
57303
57307
  children: (0,jsx_runtime.jsx)(Icon, {
57304
- className: "".concat(prefixCls, "-action-icon action-copy"),
57308
+ className: "".concat(prefixCls, "-action-icon action-copy ").concat(hashId),
57305
57309
  onClick: function () {
57306
57310
  var _onClick = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
57307
57311
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -57334,7 +57338,7 @@ var ProFormListItem = function ProFormListItem(props) {
57334
57338
  })
57335
57339
  })
57336
57340
  }, "copy");
57337
- }, [copyIconProps, max, count, loadingCopy, prefixCls, action, formInstance, listContext.listName, rest.name, field.name]);
57341
+ }, [copyIconProps, max, count, loadingCopy, prefixCls, hashId, action, formInstance, listContext.listName, rest.name, field.name]);
57338
57342
  var deleteIcon = (0,external_React_.useMemo)(function () {
57339
57343
  if (deleteIconProps === false || min === count) return null;
57340
57344
  var _deleteIconProps$Icon = deleteIconProps.Icon,
@@ -57345,7 +57349,7 @@ var ProFormListItem = function ProFormListItem(props) {
57345
57349
  children: (0,jsx_runtime.jsx)(external_antd_.Spin, {
57346
57350
  spinning: loadingRemove,
57347
57351
  children: (0,jsx_runtime.jsx)(Icon, {
57348
- className: "".concat(prefixCls, "-action-icon action-remove"),
57352
+ className: "".concat(prefixCls, "-action-icon action-remove ").concat(hashId),
57349
57353
  onClick: function () {
57350
57354
  var _onClick2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
57351
57355
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
@@ -57378,7 +57382,7 @@ var ProFormListItem = function ProFormListItem(props) {
57378
57382
  })
57379
57383
  })
57380
57384
  }, "delete");
57381
- }, [deleteIconProps, min, count, loadingRemove, prefixCls, setLoadingRemove, action, field.name]);
57385
+ }, [deleteIconProps, min, count, loadingRemove, prefixCls, hashId, action, field.name]);
57382
57386
  var defaultActionDom = (0,external_React_.useMemo)(function () {
57383
57387
  return [copyIcon, deleteIcon].filter(function (item) {
57384
57388
  return item !== null && item !== undefined;
@@ -57386,7 +57390,7 @@ var ProFormListItem = function ProFormListItem(props) {
57386
57390
  }, [copyIcon, deleteIcon]);
57387
57391
  var actions = (actionRender === null || actionRender === void 0 ? void 0 : actionRender(field, action, defaultActionDom, count)) || defaultActionDom;
57388
57392
  var dom = actions.length > 0 ? (0,jsx_runtime.jsx)("div", {
57389
- className: "".concat(prefixCls, "-action"),
57393
+ className: "".concat(prefixCls, "-action ").concat(hashId),
57390
57394
  children: actions
57391
57395
  }) : null;
57392
57396
  var options = {
@@ -57408,7 +57412,7 @@ var ProFormListItem = function ProFormListItem(props) {
57408
57412
 
57409
57413
  var contentDom = (itemRender === null || itemRender === void 0 ? void 0 : itemRender({
57410
57414
  listDom: (0,jsx_runtime.jsx)("div", {
57411
- className: "".concat(prefixCls, "-container"),
57415
+ className: "".concat(prefixCls, "-container ").concat(hashId),
57412
57416
  style: {
57413
57417
  width: grid ? '100%' : undefined
57414
57418
  },
@@ -57416,13 +57420,13 @@ var ProFormListItem = function ProFormListItem(props) {
57416
57420
  }),
57417
57421
  action: dom
57418
57422
  }, options)) || (0,jsx_runtime.jsxs)("div", {
57419
- className: "".concat(prefixCls, "-item ").concat(alwaysShowItemLabel ? "".concat(prefixCls, "-item-show-label") : ''),
57423
+ className: "".concat(prefixCls, "-item ").concat(hashId, " ").concat(alwaysShowItemLabel ? "".concat(prefixCls, "-item-show-label ").concat(hashId) : ''),
57420
57424
  style: {
57421
57425
  display: 'flex',
57422
57426
  alignItems: 'flex-end'
57423
57427
  },
57424
57428
  children: [(0,jsx_runtime.jsx)("div", {
57425
- className: "".concat(prefixCls, "-container"),
57429
+ className: "".concat(prefixCls, "-container ").concat(hashId),
57426
57430
  style: {
57427
57431
  width: grid ? '100%' : undefined
57428
57432
  },
@@ -57472,6 +57476,10 @@ var ProFormListContainer = function ProFormListContainer(props) {
57472
57476
  containerStyle = props.containerStyle,
57473
57477
  onAfterAdd = props.onAfterAdd,
57474
57478
  onAfterRemove = props.onAfterRemove;
57479
+
57480
+ var _useToken = useStyle_useToken(),
57481
+ hashId = _useToken.hashId;
57482
+
57475
57483
  var fieldKeyMap = (0,external_React_.useRef)(new Map());
57476
57484
 
57477
57485
  var _useState = (0,external_React_.useState)(false),
@@ -57658,7 +57666,7 @@ var ProFormListContainer = function ProFormListContainer(props) {
57658
57666
  creatorButtonText = _ref5$creatorButtonTe === void 0 ? intl.getMessage('editableTable.action.add', '添加一行数据') : _ref5$creatorButtonTe;
57659
57667
 
57660
57668
  return (0,jsx_runtime.jsx)(external_antd_.Button, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
57661
- className: "".concat(prefixCls, "-creator-button-").concat(position),
57669
+ className: "".concat(prefixCls, "-creator-button-").concat(position, " ").concat(hashId),
57662
57670
  type: "dashed",
57663
57671
  loading: loading,
57664
57672
  block: true,
@@ -57698,7 +57706,7 @@ var ProFormListContainer = function ProFormListContainer(props) {
57698
57706
  }(),
57699
57707
  children: creatorButtonText
57700
57708
  }));
57701
- }, [creatorButtonProps, uuidFields.length, max, intl, prefixCls, loading, wrapperAction, creatorRecord]);
57709
+ }, [creatorButtonProps, uuidFields.length, max, intl, prefixCls, hashId, loading, wrapperAction, creatorRecord]);
57702
57710
 
57703
57711
  var defaultStyle = objectSpread2_objectSpread2({
57704
57712
  width: 'max-content',
@@ -58650,7 +58658,7 @@ var Group_Group = /*#__PURE__*/external_React_default().forwardRef(function (pro
58650
58658
  var Wrapper = (0,external_React_.useCallback)(function (_ref) {
58651
58659
  var dom = _ref.children;
58652
58660
  return (0,jsx_runtime.jsx)(external_antd_.Space, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, spaceProps), {}, {
58653
- className: classnames_default()("".concat(className, "-container"), spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.className),
58661
+ className: classnames_default()("".concat(className, "-container ").concat(hashId), spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.className),
58654
58662
  size: size,
58655
58663
  align: align,
58656
58664
  direction: direction,
@@ -58659,7 +58667,7 @@ var Group_Group = /*#__PURE__*/external_React_default().forwardRef(function (pro
58659
58667
  }, spaceProps === null || spaceProps === void 0 ? void 0 : spaceProps.style),
58660
58668
  children: dom
58661
58669
  }));
58662
- }, [align, className, direction, size, spaceProps]);
58670
+ }, [align, className, direction, hashId, size, spaceProps]);
58663
58671
  var titleDom = titleRender ? titleRender(label, props) : label;
58664
58672
 
58665
58673
  var _useMemo = (0,external_React_.useMemo)(function () {
@@ -58700,7 +58708,7 @@ var Group_Group = /*#__PURE__*/external_React_default().forwardRef(function (pro
58700
58708
  style: style,
58701
58709
  ref: ref,
58702
58710
  children: [hiddenDoms, (title || tooltip || extra) && (0,jsx_runtime.jsx)("div", {
58703
- className: "".concat(className, "-title"),
58711
+ className: "".concat(className, "-title ").concat(hashId),
58704
58712
  style: titleStyle,
58705
58713
  onClick: function onClick() {
58706
58714
  setCollapsed(!collapsed);
@@ -59071,6 +59079,14 @@ function DrawerForm(_ref) {
59071
59079
  resetFields();
59072
59080
  drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterOpe = drawerProps.afterOpenChange) === null || _drawerProps$afterOpe === void 0 ? void 0 : _drawerProps$afterOpe.call(drawerProps, e);
59073
59081
  },
59082
+ //@ts-expect-error
59083
+ afterVisibleChange: function afterVisibleChange(e) {
59084
+ var _drawerProps$afterVis;
59085
+
59086
+ if (!e) resetFields(); //@ts-expect-error
59087
+
59088
+ drawerProps === null || drawerProps === void 0 ? void 0 : (_drawerProps$afterVis = drawerProps.afterVisibleChange) === null || _drawerProps$afterVis === void 0 ? void 0 : _drawerProps$afterVis.call(drawerProps, e);
59089
+ },
59074
59090
  footer: rest.submitter !== false && (0,jsx_runtime.jsx)("div", {
59075
59091
  ref: footerDomRef,
59076
59092
  style: {
@@ -59303,7 +59319,7 @@ var LightFilterContainer = function LightFilterContainer(props) {
59303
59319
 
59304
59320
  if (collapse) {
59305
59321
  return (0,jsx_runtime.jsx)(icons_FilterOutlined, {
59306
- className: "".concat(lightFilterClassName, "-collapse-icon")
59322
+ className: "".concat(lightFilterClassName, "-collapse-icon ").concat(hashId)
59307
59323
  });
59308
59324
  }
59309
59325
 
@@ -59319,13 +59335,13 @@ var LightFilterContainer = function LightFilterContainer(props) {
59319
59335
  return values[key];
59320
59336
  }))),
59321
59337
  children: (0,jsx_runtime.jsxs)("div", {
59322
- className: "".concat(lightFilterClassName, "-container"),
59338
+ className: "".concat(lightFilterClassName, "-container ").concat(hashId),
59323
59339
  children: [outsideItems.map(function (child, index) {
59324
59340
  var key = child.key;
59325
59341
  var fieldProps = child.props.fieldProps;
59326
59342
  var newPlacement = (fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.placement) ? fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.placement : placement;
59327
59343
  return (0,jsx_runtime.jsx)("div", {
59328
- className: "".concat(lightFilterClassName, "-item"),
59344
+ className: "".concat(lightFilterClassName, "-item ").concat(hashId),
59329
59345
  children: /*#__PURE__*/external_React_default().cloneElement(child, {
59330
59346
  fieldProps: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, child.props.fieldProps), {}, {
59331
59347
  placement: newPlacement
@@ -59340,7 +59356,7 @@ var LightFilterContainer = function LightFilterContainer(props) {
59340
59356
  })
59341
59357
  }, key || index);
59342
59358
  }), collapseItems.length ? (0,jsx_runtime.jsx)("div", {
59343
- className: "".concat(lightFilterClassName, "-item"),
59359
+ className: "".concat(lightFilterClassName, "-item ").concat(hashId),
59344
59360
  children: (0,jsx_runtime.jsx)(FilterDropdown, {
59345
59361
  padding: 24,
59346
59362
  onVisibleChange: setOpen,
@@ -59381,7 +59397,7 @@ var LightFilterContainer = function LightFilterContainer(props) {
59381
59397
 
59382
59398
  var newPlacement = (fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.placement) ? fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.placement : placement;
59383
59399
  return (0,jsx_runtime.jsx)("div", {
59384
- className: "".concat(lightFilterClassName, "-line"),
59400
+ className: "".concat(lightFilterClassName, "-line ").concat(hashId),
59385
59401
  children: /*#__PURE__*/external_React_default().cloneElement(child, {
59386
59402
  fieldProps: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, newFieldProps), {}, {
59387
59403
  placement: newPlacement
@@ -61225,12 +61241,16 @@ var Actions_Actions = function Actions(props) {
61225
61241
  getPrefixCls = _useContext.getPrefixCls;
61226
61242
 
61227
61243
  var intl = useIntl();
61244
+
61245
+ var _useToken = useStyle_useToken(),
61246
+ hashId = _useToken.hashId;
61247
+
61228
61248
  var collapseRender = omitBoolean(props.collapseRender) || defaultCollapseRender;
61229
61249
  return (0,jsx_runtime.jsxs)(external_antd_.Space, {
61230
61250
  style: style,
61231
61251
  size: 16,
61232
61252
  children: [submitter, props.collapseRender !== false && (0,jsx_runtime.jsx)("a", {
61233
- className: getPrefixCls('pro-query-filter-collapse-button'),
61253
+ className: "".concat(getPrefixCls('pro-query-filter-collapse-button'), " ").concat(hashId),
61234
61254
  onClick: function onClick() {
61235
61255
  return setCollapsed(!collapsed);
61236
61256
  },
@@ -61368,6 +61388,10 @@ var flatMapItems = function flatMapItems(items, ignoreRules) {
61368
61388
 
61369
61389
  var QueryFilterContent = function QueryFilterContent(props) {
61370
61390
  var intl = useIntl();
61391
+
61392
+ var _useToken = useStyle_useToken(),
61393
+ hashId = _useToken.hashId;
61394
+
61371
61395
  var resetText = props.resetText || intl.getMessage('tableForm.reset', '重置');
61372
61396
  var searchText = props.searchText || intl.getMessage('tableForm.search', '搜索');
61373
61397
 
@@ -61486,7 +61510,7 @@ var QueryFilterContent = function QueryFilterContent(props) {
61486
61510
  if (split && currentSpan % 24 === 0 && index < itemLength - 1) {
61487
61511
  return (0,jsx_runtime.jsx)(external_antd_.Col, {
61488
61512
  span: colSpan,
61489
- className: "".concat(props.baseClassName, "-row-split-line"),
61513
+ className: "".concat(props.baseClassName, "-row-split-line ").concat(hashId),
61490
61514
  children: itemDom
61491
61515
  }, itemKey);
61492
61516
  }
@@ -61516,7 +61540,7 @@ var QueryFilterContent = function QueryFilterContent(props) {
61516
61540
  var baseClassName = context.getPrefixCls('pro-query-filter');
61517
61541
  return (0,jsx_runtime.jsxs)(external_antd_.Row, {
61518
61542
  gutter: searchGutter,
61519
- className: "".concat(baseClassName, "-row"),
61543
+ className: "".concat(baseClassName, "-row ").concat(hashId),
61520
61544
  justify: "start",
61521
61545
  children: [doms, submitter && (0,jsx_runtime.jsx)(external_antd_.Col, {
61522
61546
  span: spanSize.span,
@@ -61527,7 +61551,7 @@ var QueryFilterContent = function QueryFilterContent(props) {
61527
61551
  children: (0,jsx_runtime.jsx)(external_antd_.Form.Item, {
61528
61552
  label: " ",
61529
61553
  colon: false,
61530
- className: "".concat(baseClassName, "-actions"),
61554
+ className: "".concat(baseClassName, "-actions ").concat(hashId),
61531
61555
  children: (0,jsx_runtime.jsx)(QueryFilter_Actions, {
61532
61556
  hiddenNum: hiddenNum,
61533
61557
  collapsed: collapsed,
@@ -62051,7 +62075,7 @@ function StepsForm(props) {
62051
62075
  }(), [lastStep, onFinish, setLoading, setStep]);
62052
62076
  var stepsDom = (0,external_React_.useMemo)(function () {
62053
62077
  return (0,jsx_runtime.jsx)("div", {
62054
- className: "".concat(prefixCls, "-steps-container"),
62078
+ className: "".concat(prefixCls, "-steps-container ").concat(hashId),
62055
62079
  style: {
62056
62080
  maxWidth: Math.min(formArray.length * 320, 1160)
62057
62081
  },
@@ -62066,7 +62090,7 @@ function StepsForm(props) {
62066
62090
  })
62067
62091
  }))
62068
62092
  });
62069
- }, [formArray, prefixCls, step, stepsProps]);
62093
+ }, [formArray, hashId, prefixCls, step, stepsProps]);
62070
62094
  var onSubmit = useRefFunction(function () {
62071
62095
  var _from$current;
62072
62096
 
@@ -62166,7 +62190,7 @@ function StepsForm(props) {
62166
62190
  submitter: false
62167
62191
  } : {};
62168
62192
  return (0,jsx_runtime.jsx)("div", {
62169
- className: classnames_default()("".concat(prefixCls, "-step"), defineProperty_defineProperty({}, "".concat(prefixCls, "-step-active"), isShow)),
62193
+ className: classnames_default()("".concat(prefixCls, "-step"), hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-step-active"), isShow)),
62170
62194
  children: /*#__PURE__*/external_React_default().cloneElement(item, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, config), formProps), itemProps), {}, {
62171
62195
  name: name,
62172
62196
  step: index,
@@ -62174,7 +62198,7 @@ function StepsForm(props) {
62174
62198
  }))
62175
62199
  }, name);
62176
62200
  });
62177
- }, [formProps, prefixCls, props.children, step, stepFormRender]);
62201
+ }, [formProps, hashId, prefixCls, props.children, step, stepFormRender]);
62178
62202
  var finalStepsDom = (0,external_React_.useMemo)(function () {
62179
62203
  if (stepsRender) {
62180
62204
  return stepsRender(formArray.map(function (item) {
@@ -62191,13 +62215,13 @@ function StepsForm(props) {
62191
62215
  }, [formArray, stepsDom, stepsRender]);
62192
62216
  var formContainer = (0,external_React_.useMemo)(function () {
62193
62217
  return (0,jsx_runtime.jsxs)("div", {
62194
- className: "".concat(prefixCls, "-container"),
62218
+ className: "".concat(prefixCls, "-container ").concat(hashId),
62195
62219
  style: containerStyle,
62196
62220
  children: [formDom, stepsFormRender ? null : (0,jsx_runtime.jsx)(external_antd_.Space, {
62197
62221
  children: submitterDom
62198
62222
  })]
62199
62223
  });
62200
- }, [containerStyle, formDom, prefixCls, stepsFormRender, submitterDom]);
62224
+ }, [containerStyle, formDom, hashId, prefixCls, stepsFormRender, submitterDom]);
62201
62225
  var stepsFormDom = (0,external_React_.useMemo)(function () {
62202
62226
  var doms = {
62203
62227
  stepsDom: finalStepsDom,
@@ -64327,13 +64351,13 @@ function LoginForm(props) {
64327
64351
  var context = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext);
64328
64352
  var baseClassName = context.getPrefixCls('pro-form-login');
64329
64353
 
64330
- var getCls = function getCls(className) {
64331
- return "".concat(baseClassName, "-").concat(className);
64332
- };
64333
-
64334
64354
  var _useStyle = LoginForm_style_useStyle(baseClassName),
64335
64355
  wrapSSR = _useStyle.wrapSSR,
64336
64356
  hashId = _useStyle.hashId;
64357
+
64358
+ var getCls = function getCls(className) {
64359
+ return "".concat(baseClassName, "-").concat(className, " ").concat(hashId);
64360
+ };
64337
64361
  /** 生成logo 的dom,如果是string 设置为图片 如果是个 dom 就原样保留 */
64338
64362
 
64339
64363
 
@@ -64351,9 +64375,9 @@ function LoginForm(props) {
64351
64375
  return wrapSSR((0,jsx_runtime.jsxs)("div", {
64352
64376
  className: classnames_default()(getCls('container'), hashId),
64353
64377
  children: [(0,jsx_runtime.jsxs)("div", {
64354
- className: getCls('top'),
64378
+ className: "".concat(getCls('top'), " ").concat(hashId),
64355
64379
  children: [title || logoDom ? (0,jsx_runtime.jsxs)("div", {
64356
- className: getCls('header'),
64380
+ className: "".concat(getCls('header')),
64357
64381
  children: [logoDom ? (0,jsx_runtime.jsx)("span", {
64358
64382
  className: getCls('logo'),
64359
64383
  children: logoDom
@@ -64570,7 +64594,7 @@ function LoginFormPage(props) {
64570
64594
  hashId = _useStyle.hashId;
64571
64595
 
64572
64596
  var getCls = function getCls(className) {
64573
- return "".concat(baseClassName, "-").concat(className);
64597
+ return "".concat(baseClassName, "-").concat(className, " ").concat(hashId);
64574
64598
  };
64575
64599
  /** 生成logo 的dom,如果是string 设置为图片 如果是个 dom 就原样保留 */
64576
64600
 
@@ -79165,7 +79189,7 @@ var BaseProLayout = function BaseProLayout(props) {
79165
79189
  }) : (0,jsx_runtime.jsxs)("div", {
79166
79190
  className: className,
79167
79191
  children: [(0,jsx_runtime.jsx)("div", {
79168
- className: "".concat(proLayoutClassName, "-bg-list"),
79192
+ className: "".concat(proLayoutClassName, "-bg-list ").concat(hashId),
79169
79193
  children: bgImgStyleList
79170
79194
  }), (0,jsx_runtime.jsxs)(external_antd_.Layout, {
79171
79195
  style: objectSpread2_objectSpread2({
@@ -79173,7 +79197,7 @@ var BaseProLayout = function BaseProLayout(props) {
79173
79197
  }, style),
79174
79198
  children: [siderMenuDom, (0,jsx_runtime.jsxs)("div", {
79175
79199
  style: genLayoutStyle,
79176
- className: "".concat(proLayoutClassName, "-container"),
79200
+ className: "".concat(proLayoutClassName, "-container ").concat(hashId),
79177
79201
  children: [headerDom, (0,jsx_runtime.jsx)(WrapContent, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
79178
79202
  hasPageContainer: hasPageContainer,
79179
79203
  isChildrenLayout: isChildrenLayout
@@ -83922,6 +83946,16 @@ var ListToolBar = function ListToolBar(_ref2) {
83922
83946
  _ref2$tabs = _ref2.tabs,
83923
83947
  tabs = _ref2$tabs === void 0 ? {} : _ref2$tabs,
83924
83948
  menu = _ref2.menu;
83949
+
83950
+ var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
83951
+ getPrefixCls = _useContext.getPrefixCls;
83952
+
83953
+ var prefixCls = getPrefixCls('pro-table-list-toolbar', customizePrefixCls);
83954
+
83955
+ var _useStyle = ListToolBar_style_useStyle(prefixCls),
83956
+ wrapSSR = _useStyle.wrapSSR,
83957
+ hashId = _useStyle.hashId;
83958
+
83925
83959
  var intl = useIntl();
83926
83960
  var colSize = use_media_antd_query_es();
83927
83961
  var isMobile = colSize === 'sm' || colSize === 'xs';
@@ -83959,20 +83993,15 @@ var ListToolBar = function ListToolBar(_ref2) {
83959
83993
  }
83960
83994
  }));
83961
83995
  }, [placeholder, _onSearch, search]);
83962
-
83963
- var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
83964
- getPrefixCls = _useContext.getPrefixCls;
83965
-
83966
- var prefixCls = getPrefixCls('pro-table-list-toolbar', customizePrefixCls);
83967
83996
  /** 轻量筛选组件 */
83968
83997
 
83969
83998
  var filtersNode = (0,external_React_.useMemo)(function () {
83970
83999
  if (filter) return (0,jsx_runtime.jsx)("div", {
83971
- className: "".concat(prefixCls, "-filter"),
84000
+ className: "".concat(prefixCls, "-filter ").concat(hashId),
83972
84001
  children: filter
83973
84002
  });
83974
84003
  return null;
83975
- }, [filter, prefixCls]);
84004
+ }, [filter, hashId, prefixCls]);
83976
84005
  /** 有没有 title,需要结合多个场景判断 */
83977
84006
 
83978
84007
  var hasTitle = (0,external_React_.useMemo)(function () {
@@ -84016,16 +84045,16 @@ var ListToolBar = function ListToolBar(_ref2) {
84016
84045
  // 保留dom是为了占位,不然 right 就变到左边了
84017
84046
  if (!hasLeft && hasRight) {
84018
84047
  return (0,jsx_runtime.jsx)("div", {
84019
- className: "".concat(prefixCls, "-left")
84048
+ className: "".concat(prefixCls, "-left ").concat(hashId)
84020
84049
  });
84021
84050
  } // 减少 space 的dom,渲染的时候能节省点性能
84022
84051
 
84023
84052
 
84024
84053
  if (!menu && (hasTitle || !searchNode)) {
84025
84054
  return (0,jsx_runtime.jsx)("div", {
84026
- className: "".concat(prefixCls, "-left"),
84055
+ className: "".concat(prefixCls, "-left ").concat(hashId),
84027
84056
  children: (0,jsx_runtime.jsx)("div", {
84028
- className: "".concat(prefixCls, "-title"),
84057
+ className: "".concat(prefixCls, "-title ").concat(hashId),
84029
84058
  children: (0,jsx_runtime.jsx)(LabelIconTip, {
84030
84059
  tooltip: tooltip,
84031
84060
  label: title,
@@ -84036,9 +84065,9 @@ var ListToolBar = function ListToolBar(_ref2) {
84036
84065
  }
84037
84066
 
84038
84067
  return (0,jsx_runtime.jsxs)(external_antd_.Space, {
84039
- className: "".concat(prefixCls, "-left"),
84068
+ className: "".concat(prefixCls, "-left ").concat(hashId),
84040
84069
  children: [hasTitle && !menu && (0,jsx_runtime.jsx)("div", {
84041
- className: "".concat(prefixCls, "-title"),
84070
+ className: "".concat(prefixCls, "-title ").concat(hashId),
84042
84071
  children: (0,jsx_runtime.jsx)(LabelIconTip, {
84043
84072
  tooltip: tooltip,
84044
84073
  label: title,
@@ -84047,50 +84076,45 @@ var ListToolBar = function ListToolBar(_ref2) {
84047
84076
  }), menu && (0,jsx_runtime.jsx)(ListToolBar_HeaderMenu, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, menu), {}, {
84048
84077
  prefixCls: prefixCls
84049
84078
  })), !hasTitle && searchNode ? (0,jsx_runtime.jsx)("div", {
84050
- className: "".concat(prefixCls, "-search"),
84079
+ className: "".concat(prefixCls, "-search ").concat(hashId),
84051
84080
  children: searchNode
84052
84081
  }) : null]
84053
84082
  });
84054
- }, [hasLeft, hasRight, hasTitle, menu, prefixCls, searchNode, subTitle, title, tooltip]);
84083
+ }, [hasLeft, hasRight, hasTitle, hashId, menu, prefixCls, searchNode, subTitle, title, tooltip]);
84055
84084
  var rightTitleDom = (0,external_React_.useMemo)(function () {
84056
84085
  if (!hasRight) return null;
84057
84086
  return (0,jsx_runtime.jsxs)(external_antd_.Space, {
84058
- className: "".concat(prefixCls, "-right"),
84087
+ className: "".concat(prefixCls, "-right ").concat(hashId),
84059
84088
  direction: isMobile ? 'vertical' : 'horizontal',
84060
84089
  size: 16,
84061
84090
  align: isMobile ? 'end' : 'center',
84062
84091
  children: [hasTitle && searchNode ? (0,jsx_runtime.jsx)("div", {
84063
- className: "".concat(prefixCls, "-search"),
84092
+ className: "".concat(prefixCls, "-search ").concat(hashId),
84064
84093
  children: searchNode
84065
84094
  }) : null, !multipleLine ? filtersNode : null, actionDom, (settings === null || settings === void 0 ? void 0 : settings.length) ? (0,jsx_runtime.jsx)(external_antd_.Space, {
84066
84095
  size: 12,
84067
84096
  align: "center",
84068
- className: "".concat(prefixCls, "-setting-items"),
84097
+ className: "".concat(prefixCls, "-setting-items ").concat(hashId),
84069
84098
  children: settings.map(function (setting, index) {
84070
84099
  var settingItem = getSettingItem(setting);
84071
84100
  return (// eslint-disable-next-line react/no-array-index-key
84072
84101
  (0,jsx_runtime.jsx)("div", {
84073
- className: "".concat(prefixCls, "-setting-item"),
84102
+ className: "".concat(prefixCls, "-setting-item ").concat(hashId),
84074
84103
  children: settingItem
84075
84104
  }, index)
84076
84105
  );
84077
84106
  })
84078
84107
  }) : null]
84079
84108
  });
84080
- }, [actionDom, isMobile, filtersNode, hasRight, hasTitle, multipleLine, prefixCls, searchNode, settings]);
84109
+ }, [hasRight, prefixCls, hashId, isMobile, hasTitle, searchNode, multipleLine, filtersNode, actionDom, settings]);
84081
84110
  var titleNode = (0,external_React_.useMemo)(function () {
84082
84111
  if (!hasRight && !hasLeft) return null;
84083
- var containerClassName = classnames_default()("".concat(prefixCls, "-container"), defineProperty_defineProperty({}, "".concat(prefixCls, "-container-mobile"), isMobile));
84112
+ var containerClassName = classnames_default()("".concat(prefixCls, "-container"), hashId, defineProperty_defineProperty({}, "".concat(prefixCls, "-container-mobile"), isMobile));
84084
84113
  return (0,jsx_runtime.jsxs)("div", {
84085
84114
  className: containerClassName,
84086
84115
  children: [leftTitleDom, rightTitleDom]
84087
84116
  });
84088
- }, [hasLeft, hasRight, isMobile, leftTitleDom, prefixCls, rightTitleDom]);
84089
-
84090
- var _useStyle = ListToolBar_style_useStyle(prefixCls),
84091
- wrapSSR = _useStyle.wrapSSR,
84092
- hashId = _useStyle.hashId;
84093
-
84117
+ }, [hasLeft, hasRight, hashId, isMobile, leftTitleDom, prefixCls, rightTitleDom]);
84094
84118
  return wrapSSR((0,jsx_runtime.jsxs)("div", {
84095
84119
  style: style,
84096
84120
  className: classnames_default()(prefixCls, hashId, className),
@@ -105082,6 +105106,7 @@ var es_Item_excluded = ["title", "subTitle", "content", "itemTitleRender", "pref
105082
105106
 
105083
105107
 
105084
105108
 
105109
+
105085
105110
  function Item_renderExpandIcon(_ref) {
105086
105111
  var _classNames;
105087
105112
 
@@ -105122,6 +105147,9 @@ function ProListItem(props) {
105122
105147
  var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
105123
105148
  getPrefixCls = _useContext.getPrefixCls;
105124
105149
 
105150
+ var _useToken = useStyle_useToken(),
105151
+ hashId = _useToken.hashId;
105152
+
105125
105153
  var prefixCls = getPrefixCls('pro-list', customizePrefixCls);
105126
105154
  var defaultClassName = "".concat(prefixCls, "-row");
105127
105155
 
@@ -105175,8 +105203,8 @@ function ProListItem(props) {
105175
105203
  expanded = _useMergedState2[0],
105176
105204
  onExpand = _useMergedState2[1];
105177
105205
 
105178
- var className = classnames_default()((_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-selected"), !cardProps && selected), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-show-action-hover"), showActions === 'hover'), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-type-").concat(type), !!type), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-editable"), isEditable), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-show-extra-hover"), showExtra === 'hover'), _classNames2), defaultClassName);
105179
- var extraClassName = classnames_default()(defineProperty_defineProperty({}, "".concat(propsClassName, "-extra"), showExtra === 'hover'));
105206
+ var className = classnames_default()((_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-selected"), !cardProps && selected), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-show-action-hover"), showActions === 'hover'), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-type-").concat(type), !!type), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-editable"), isEditable), defineProperty_defineProperty(_classNames2, "".concat(defaultClassName, "-show-extra-hover"), showExtra === 'hover'), _classNames2), hashId, defaultClassName);
105207
+ var extraClassName = classnames_default()(hashId, defineProperty_defineProperty({}, "".concat(propsClassName, "-extra"), showExtra === 'hover'));
105180
105208
  var needExpanded = expanded || Object.values(expandableConfig || {}).length === 0;
105181
105209
  var expandedRowDom = expandedRowRender && expandedRowRender(record, index, indentSize, expanded);
105182
105210
  var extraDom = (0,external_React_.useMemo)(function () {
@@ -105204,12 +105232,12 @@ function ProListItem(props) {
105204
105232
  }, "action")];
105205
105233
  }, [actions, cardActionProps]);
105206
105234
  var titleDom = title || subTitle ? (0,jsx_runtime.jsxs)("div", {
105207
- className: "".concat(className, "-header-title"),
105235
+ className: "".concat(className, "-header-title ").concat(hashId),
105208
105236
  children: [title && (0,jsx_runtime.jsx)("div", {
105209
- className: "".concat(className, "-title"),
105237
+ className: "".concat(className, "-title ").concat(hashId),
105210
105238
  children: title
105211
105239
  }), subTitle && (0,jsx_runtime.jsx)("div", {
105212
- className: "".concat(className, "-subTitle"),
105240
+ className: "".concat(className, "-subTitle ").concat(hashId),
105213
105241
  children: subTitle
105214
105242
  })]
105215
105243
  }) : null;
@@ -105218,27 +105246,27 @@ function ProListItem(props) {
105218
105246
  avatar: avatar,
105219
105247
  title: metaTitle,
105220
105248
  description: description && needExpanded && (0,jsx_runtime.jsx)("div", {
105221
- className: "".concat(className, "-description"),
105249
+ className: "".concat(className, "-description ").concat(hashId),
105222
105250
  children: description
105223
105251
  })
105224
105252
  }) : null;
105225
- var rowClassName = classnames_default()((_classNames4 = {}, defineProperty_defineProperty(_classNames4, "".concat(className, "-item-has-checkbox"), checkbox), defineProperty_defineProperty(_classNames4, "".concat(className, "-item-has-avatar"), avatar), defineProperty_defineProperty(_classNames4, className, className), _classNames4));
105253
+ var rowClassName = classnames_default()(hashId, (_classNames4 = {}, defineProperty_defineProperty(_classNames4, "".concat(className, "-item-has-checkbox"), checkbox), defineProperty_defineProperty(_classNames4, "".concat(className, "-item-has-avatar"), avatar), defineProperty_defineProperty(_classNames4, className, className), _classNames4));
105226
105254
  var cardTitleDom = (0,external_React_.useMemo)(function () {
105227
105255
  if (avatar || title) {
105228
105256
  return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
105229
105257
  children: [avatar && (0,jsx_runtime.jsx)(external_antd_.Avatar, {
105230
105258
  size: 22,
105231
105259
  src: avatar,
105232
- className: getPrefixCls('list-item-meta-avatar')
105260
+ className: "".concat(getPrefixCls('list-item-meta-avatar'), " ").concat(hashId)
105233
105261
  }), (0,jsx_runtime.jsx)("span", {
105234
- className: getPrefixCls('list-item-meta-title'),
105262
+ className: "".concat(getPrefixCls('list-item-meta-title'), " ").concat(hashId),
105235
105263
  children: title
105236
105264
  })]
105237
105265
  });
105238
105266
  }
105239
105267
 
105240
105268
  return null;
105241
- }, [avatar, getPrefixCls, title]);
105269
+ }, [avatar, getPrefixCls, hashId, title]);
105242
105270
  var defaultDom = !cardProps ? (0,jsx_runtime.jsx)(external_antd_.List.Item, objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
105243
105271
  className: classnames_default()(rowClassName, defineProperty_defineProperty({}, propsClassName, propsClassName !== defaultClassName))
105244
105272
  }, rest), {}, {
@@ -105264,11 +105292,11 @@ function ProListItem(props) {
105264
105292
  loading: loading,
105265
105293
  active: true,
105266
105294
  children: [(0,jsx_runtime.jsxs)("div", {
105267
- className: "".concat(className, "-header"),
105295
+ className: "".concat(className, "-header ").concat(hashId),
105268
105296
  children: [(0,jsx_runtime.jsxs)("div", {
105269
- className: "".concat(className, "-header-option"),
105297
+ className: "".concat(className, "-header-option ").concat(hashId),
105270
105298
  children: [!!checkbox && (0,jsx_runtime.jsx)("div", {
105271
- className: "".concat(className, "-checkbox"),
105299
+ className: "".concat(className, "-checkbox ").concat(hashId),
105272
105300
  children: checkbox
105273
105301
  }), Object.values(expandableConfig || {}).length > 0 && rowSupportExpand && Item_renderExpandIcon({
105274
105302
  prefixCls: prefixCls,
@@ -105279,7 +105307,7 @@ function ProListItem(props) {
105279
105307
  })]
105280
105308
  }), (_ref4 = itemHeaderRender && (itemHeaderRender === null || itemHeaderRender === void 0 ? void 0 : itemHeaderRender(record, index, metaDom))) !== null && _ref4 !== void 0 ? _ref4 : metaDom]
105281
105309
  }), needExpanded && (content || expandedRowDom) && (0,jsx_runtime.jsxs)("div", {
105282
- className: "".concat(className, "-content"),
105310
+ className: "".concat(className, "-content ").concat(hashId),
105283
105311
  children: [content, expandedRowRender && rowSupportExpand && (0,jsx_runtime.jsx)("div", {
105284
105312
  className: expandedRowClassName && expandedRowClassName(record, index, indentSize),
105285
105313
  children: expandedRowDom
@@ -105305,7 +105333,7 @@ function ProListItem(props) {
105305
105333
  loading: loading,
105306
105334
  active: true,
105307
105335
  children: (0,jsx_runtime.jsxs)("div", {
105308
- className: "".concat(className, "-header"),
105336
+ className: "".concat(className, "-header ").concat(hashId),
105309
105337
  children: [itemTitleRender && (itemTitleRender === null || itemTitleRender === void 0 ? void 0 : itemTitleRender(record, index, titleDom)), content]
105310
105338
  })
105311
105339
  })
@@ -105316,7 +105344,7 @@ function ProListItem(props) {
105316
105344
  }
105317
105345
 
105318
105346
  return (0,jsx_runtime.jsx)("div", {
105319
- className: classnames_default()((_classNames6 = {}, defineProperty_defineProperty(_classNames6, "".concat(className, "-card"), cardProps), defineProperty_defineProperty(_classNames6, propsClassName, propsClassName !== defaultClassName), _classNames6)),
105347
+ className: classnames_default()(hashId, (_classNames6 = {}, defineProperty_defineProperty(_classNames6, "".concat(className, "-card"), cardProps), defineProperty_defineProperty(_classNames6, propsClassName, propsClassName !== defaultClassName), _classNames6)),
105320
105348
  style: style,
105321
105349
  children: defaultDom
105322
105350
  });
@@ -105340,6 +105368,7 @@ var ListView_excluded = ["dataSource", "columns", "rowKey", "showActions", "show
105340
105368
 
105341
105369
 
105342
105370
 
105371
+
105343
105372
  function ListView(props) {
105344
105373
  var dataSource = props.dataSource,
105345
105374
  columns = props.columns,
@@ -105360,6 +105389,9 @@ function ListView(props) {
105360
105389
  rowClassName = props.rowClassName,
105361
105390
  rest = objectWithoutProperties_objectWithoutProperties(props, ListView_excluded);
105362
105391
 
105392
+ var _useToken = useStyle_useToken(),
105393
+ hashId = _useToken.hashId;
105394
+
105363
105395
  var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
105364
105396
  getPrefixCls = _useContext.getPrefixCls;
105365
105397
 
@@ -105473,7 +105505,7 @@ function ListView(props) {
105473
105505
 
105474
105506
  var selectItemDom = selectItemRender([])[0];
105475
105507
  return (0,jsx_runtime.jsx)(external_antd_.List, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, rest), {}, {
105476
- className: classnames_default()(getPrefixCls('pro-list-container', customizePrefixCls), rest.className),
105508
+ className: classnames_default()(getPrefixCls('pro-list-container', customizePrefixCls), hashId, rest.className),
105477
105509
  dataSource: pageData,
105478
105510
  pagination: pagination && mergedPagination,
105479
105511
  renderItem: function renderItem(item, index) {
@@ -105924,17 +105956,17 @@ function BaseProList(props) {
105924
105956
  /* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
105925
105957
  ;// CONCATENATED MODULE: ./packages/components/src/version.ts
105926
105958
  var version_version = {
105927
- "@ant-design/pro-card": "2.0.0-experimental.21",
105928
- "@ant-design/pro-components": "2.1.2",
105929
- "@ant-design/pro-descriptions": "2.0.0-experimental.22",
105930
- "@ant-design/pro-field": "2.0.0-experimental.21",
105931
- "@ant-design/pro-form": "2.0.0-experimental.22",
105932
- "@ant-design/pro-layout": "7.0.0-experimental.33",
105933
- "@ant-design/pro-list": "2.0.0-experimental.23",
105934
- "@ant-design/pro-provider": "2.0.0-experimental.13",
105959
+ "@ant-design/pro-card": "2.0.0-experimental.22",
105960
+ "@ant-design/pro-components": "2.2.0",
105961
+ "@ant-design/pro-descriptions": "2.0.0-experimental.23",
105962
+ "@ant-design/pro-field": "2.0.0-experimental.22",
105963
+ "@ant-design/pro-form": "2.0.0-experimental.23",
105964
+ "@ant-design/pro-layout": "7.0.0-experimental.34",
105965
+ "@ant-design/pro-list": "2.0.0-experimental.24",
105966
+ "@ant-design/pro-provider": "2.0.0-experimental.14",
105935
105967
  "@ant-design/pro-skeleton": "2.0.0-experimental.9",
105936
- "@ant-design/pro-table": "3.0.0-experimental.23",
105937
- "@ant-design/pro-utils": "2.0.0-experimental.20"
105968
+ "@ant-design/pro-table": "3.0.0-experimental.24",
105969
+ "@ant-design/pro-utils": "2.0.0-experimental.21"
105938
105970
  };
105939
105971
  ;// CONCATENATED MODULE: ./packages/components/src/index.tsx
105940
105972