@luminati-io/uikit 6.2.8-beta.2 → 6.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -42586,15 +42586,19 @@ __webpack_require__.r(__webpack_exports__);
42586
42586
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
42587
42587
  /* harmony import */ var rc_util_lib_React_render__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/lib/React/render */ "./node_modules/rc-util/lib/React/render.js");
42588
42588
  /* harmony import */ var _themes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../themes */ "./src/themes/index.js");
42589
- /* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
42590
- /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
42591
- /* harmony import */ var _global_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../global_config */ "./src/global_config.js");
42592
- /* harmony import */ var _modal2__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modal2 */ "./src/modal/modal2.js");
42589
+ /* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
42590
+ /* harmony import */ var _global_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../global_config */ "./src/global_config.js");
42591
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
42592
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
42593
+ /* harmony import */ var _modal2__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modal2 */ "./src/modal/modal2.js");
42593
42594
  // LICENSE_CODE ZON
42594
42595
 
42595
42596
 
42596
42597
  /*jslint react:true*/
42598
+ var _excluded = ["className", "classNamePrefix", "closeOnOutsideClick", "zIndex", "show", "afterClose", "closable", "onClose", "onConfirm", "okLabel", "cancelLabel", "okProps", "cancelProps", "size", "content", "title"];
42597
42599
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
42600
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42601
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
42598
42602
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
42599
42603
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
42600
42604
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -42613,6 +42617,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
42613
42617
 
42614
42618
 
42615
42619
 
42620
+
42616
42621
  var destroyFns = [];
42617
42622
  var withWarn = function withWarn(props) {
42618
42623
  return _objectSpread(_objectSpread({}, props), {}, {
@@ -42667,7 +42672,7 @@ var confirm = function confirm(config) {
42667
42672
  var render = function render(props) {
42668
42673
  clearTimeout(timeoutId);
42669
42674
  timeoutId = setTimeout(function () {
42670
- var _globalConfig = (0,_global_config__WEBPACK_IMPORTED_MODULE_5__.globalConfig)(),
42675
+ var _globalConfig = (0,_global_config__WEBPACK_IMPORTED_MODULE_4__.globalConfig)(),
42671
42676
  themeName = _globalConfig.themeName;
42672
42677
  (0,rc_util_lib_React_render__WEBPACK_IMPORTED_MODULE_1__.render)(/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_themes__WEBPACK_IMPORTED_MODULE_2__.ThemeProvider, {
42673
42678
  theme: themeName
@@ -42715,10 +42720,15 @@ var ConfirmModal = function ConfirmModal(_ref) {
42715
42720
  onConfirm = _ref.onConfirm,
42716
42721
  okLabel = _ref.okLabel,
42717
42722
  cancelLabel = _ref.cancelLabel,
42723
+ okProps = _ref.okProps,
42724
+ cancelProps = _ref.cancelProps,
42718
42725
  _ref$size = _ref.size,
42719
42726
  size = _ref$size === void 0 ? 'sm' : _ref$size,
42720
- content = _ref.content;
42721
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2, {
42727
+ content = _ref.content,
42728
+ title = _ref.title,
42729
+ rest = _objectWithoutProperties(_ref, _excluded);
42730
+ var icon = (0,_util__WEBPACK_IMPORTED_MODULE_5__.firstDefined)(rest.icon, getIconByType(rest.type));
42731
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_7__.Modal2, {
42722
42732
  className: className,
42723
42733
  classNamePrefix: classNamePrefix,
42724
42734
  onClose: function onClose() {
@@ -42728,20 +42738,13 @@ var ConfirmModal = function ConfirmModal(_ref) {
42728
42738
  onConfirm === null || onConfirm === void 0 || onConfirm(false);
42729
42739
  },
42730
42740
  show: show,
42731
- title: "",
42741
+ title: title,
42742
+ icon: icon,
42732
42743
  closeOnOutsideClick: closeOnOutsideClick,
42733
42744
  size: size,
42734
42745
  zIndex: zIndex,
42735
42746
  closable: closable,
42736
42747
  afterClose: afterClose,
42737
- footer: null
42738
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, {
42739
- flex_direction: "column",
42740
- gap: "07"
42741
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
42742
- variant: "lg",
42743
- color: "text"
42744
- }, content), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_modal2__WEBPACK_IMPORTED_MODULE_6__.ModalFooter, {
42745
42748
  okLabel: okLabel,
42746
42749
  cancelLabel: cancelLabel,
42747
42750
  onOk: function onOk() {
@@ -42753,8 +42756,39 @@ var ConfirmModal = function ConfirmModal(_ref) {
42753
42756
  onCancel: function onCancel() {
42754
42757
  _onClose === null || _onClose === void 0 || _onClose();
42755
42758
  onConfirm === null || onConfirm === void 0 || onConfirm(false);
42756
- }
42757
- })));
42759
+ },
42760
+ okProps: okProps,
42761
+ cancelProps: cancelProps
42762
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Paragraph, {
42763
+ variant: "sm"
42764
+ }, content));
42765
+ };
42766
+ var getIconByType = function getIconByType(type) {
42767
+ if (type == 'warning') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
42768
+ size: "sm",
42769
+ name: "Warning",
42770
+ color: "icon_warning"
42771
+ });
42772
+ if (type == 'info') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
42773
+ size: "sm",
42774
+ name: "Info",
42775
+ color: "icon_primary"
42776
+ });
42777
+ if (type == 'success') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
42778
+ size: "sm",
42779
+ name: "CheckCircle",
42780
+ color: "icon_success"
42781
+ });
42782
+ if (type == 'error') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
42783
+ size: "sm",
42784
+ name: "Warning",
42785
+ color: "icon_error"
42786
+ });
42787
+ if (type == 'confirm') return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_6__.Icon, {
42788
+ size: "sm",
42789
+ name: "Question",
42790
+ color: "icon_primary"
42791
+ });
42758
42792
  };
42759
42793
 
42760
42794
  /***/ }),
@@ -42798,6 +42832,18 @@ __webpack_require__.r(__webpack_exports__);
42798
42832
 
42799
42833
 
42800
42834
  _modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.Button = _modal_button__WEBPACK_IMPORTED_MODULE_2__.ModalButton;
42835
+ _modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.warn = function warnFn(props) {
42836
+ return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withWarn)(props));
42837
+ };
42838
+ _modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.info = function infoFn(props) {
42839
+ return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withInfo)(props));
42840
+ };
42841
+ _modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.success = function successFn(props) {
42842
+ return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withSuccess)(props));
42843
+ };
42844
+ _modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.error = function errorFn(props) {
42845
+ return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withError)(props));
42846
+ };
42801
42847
  _modal2__WEBPACK_IMPORTED_MODULE_6__.Modal2.confirm = function confirmFn(props) {
42802
42848
  return (0,_confirm__WEBPACK_IMPORTED_MODULE_1__.confirm)((0,_confirm__WEBPACK_IMPORTED_MODULE_1__.withConfirm)(props));
42803
42849
  };
@@ -42908,8 +42954,7 @@ var Popup = (0,_with_backdrop__WEBPACK_IMPORTED_MODULE_4__.withBackdrop)(General
42908
42954
  "use strict";
42909
42955
  __webpack_require__.r(__webpack_exports__);
42910
42956
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42911
- /* harmony export */ Modal2: () => (/* binding */ Modal2),
42912
- /* harmony export */ ModalFooter: () => (/* binding */ ModalFooter)
42957
+ /* harmony export */ Modal2: () => (/* binding */ Modal2)
42913
42958
  /* harmony export */ });
42914
42959
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "prop-types");
42915
42960
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
@@ -42930,7 +42975,7 @@ __webpack_require__.r(__webpack_exports__);
42930
42975
 
42931
42976
 
42932
42977
  /*jslint react:true*/
42933
- var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "zIndex", "children", "minHeight", "afterClose"];
42978
+ var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "icon", "zIndex", "children", "minHeight", "afterClose"];
42934
42979
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
42935
42980
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
42936
42981
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
@@ -42949,7 +42994,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
42949
42994
  var Modal2 = function Modal2(_ref) {
42950
42995
  var className = _ref.className,
42951
42996
  _ref$classNamePrefix = _ref.classNamePrefix,
42952
- classNamePrefix = _ref$classNamePrefix === void 0 ? 'uikit_dialog' : _ref$classNamePrefix,
42997
+ classNamePrefix = _ref$classNamePrefix === void 0 ? 'uikit_modal' : _ref$classNamePrefix,
42953
42998
  _ref$size = _ref.size,
42954
42999
  size = _ref$size === void 0 ? 'md' : _ref$size,
42955
43000
  _ref$footerVariant = _ref.footerVariant,
@@ -42968,6 +43013,7 @@ var Modal2 = function Modal2(_ref) {
42968
43013
  cancelLabel = _ref.cancelLabel,
42969
43014
  onCancel = _ref.onCancel,
42970
43015
  cancelProps = _ref.cancelProps,
43016
+ icon = _ref.icon,
42971
43017
  _ref$zIndex = _ref.zIndex,
42972
43018
  zIndex = _ref$zIndex === void 0 ? _constants__WEBPACK_IMPORTED_MODULE_7__.Z_INDEX.popover : _ref$zIndex,
42973
43019
  children = _ref.children,
@@ -42980,12 +43026,7 @@ var Modal2 = function Modal2(_ref) {
42980
43026
  var _useWindowSize = (0,_hooks__WEBPACK_IMPORTED_MODULE_8__.useWindowSize)(),
42981
43027
  windowHeight = _useWindowSize.height;
42982
43028
  var maxHeight = "".concat(Math.max(windowHeight * 0.8, minHeight), "px");
42983
- var dialogTitle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Header, {
42984
- color: "text"
42985
- }, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
42986
- padding_right: "04"
42987
- }, subtitle));
42988
- var dialogFooter = footer !== null ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ModalFooter, {
43029
+ var dialogFooter = footer !== null ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DialogFooter, {
42989
43030
  onOk: onOk,
42990
43031
  onCancel: onCancel,
42991
43032
  okLabel: okLabel,
@@ -42995,12 +43036,6 @@ var Modal2 = function Modal2(_ref) {
42995
43036
  variant: footerVariant,
42996
43037
  footer: footer
42997
43038
  }) : null;
42998
- var closeIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_js__WEBPACK_IMPORTED_MODULE_5__.Icon, {
42999
- name: "CloseSmall",
43000
- size: "xs",
43001
- color: "icon",
43002
- "data-testid": "modal_header_close_button"
43003
- });
43004
43039
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Modal2Style, {
43005
43040
  $prefixCls: classNamePrefix,
43006
43041
  $theme: theme
@@ -43011,10 +43046,15 @@ var Modal2 = function Modal2(_ref) {
43011
43046
  className: className,
43012
43047
  prefixCls: classNamePrefix,
43013
43048
  closable: closable,
43014
- closeIcon: closeIcon,
43049
+ closeIcon: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CloseIcon, null),
43015
43050
  size: size,
43016
43051
  maskClosable: closeOnOutsideClick && onClose,
43017
- title: dialogTitle,
43052
+ title: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DialogHeader, {
43053
+ icon: icon,
43054
+ title: title,
43055
+ subtitle: subtitle,
43056
+ prefixCls: classNamePrefix
43057
+ }),
43018
43058
  footer: dialogFooter,
43019
43059
  zIndex: zIndex,
43020
43060
  width: width,
@@ -43026,7 +43066,8 @@ var Modal2 = function Modal2(_ref) {
43026
43066
  afterClose: afterClose,
43027
43067
  keyboard: false,
43028
43068
  animation: "zoom",
43029
- maskAnimation: "fade"
43069
+ maskAnimation: "fade",
43070
+ rootClassName: "test"
43030
43071
  }, (0,_util__WEBPACK_IMPORTED_MODULE_9__.getCommonProps)(rest)), children));
43031
43072
  };
43032
43073
  Modal2.propTypes = {
@@ -43049,9 +43090,10 @@ Modal2.propTypes = {
43049
43090
  cancelProps: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().object),
43050
43091
  zIndex: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
43051
43092
  minHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
43052
- afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
43093
+ afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
43094
+ icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
43053
43095
  };
43054
- var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{&-root{div[role=\"dialog\"]{margin:10vh auto 0;}}&-mask{position:fixed;inset:0;height:100%;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:none;&-hidden{display:none;}}&-fade-enter,&-fade-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active{animation-name:rcDialogFadeIn;animation-play-state:running;}&-fade-leave&-fade-leave-active{animation-name:rcDialogFadeOut;animation-play-state:running;}@keyframes rcDialogFadeIn{0%{opacity:0;}100%{opacity:1;}}@keyframes rcDialogFadeOut{0%{opacity:1;}100%{opacity:0;}}&-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;}&-content{position:relative;display:flex;flex-direction:column;box-sizing:border-box;padding-top:", ";background-color:", ";border-radius:", ";font-family:", ";box-shadow:", ";pointer-events:auto;}&-close{position:absolute;top:", ";inset-inline-end:", ";z-index:1;padding:0;text-decoration:none;background:transparent;border-radius:4px;width:32px;height:32px;border:0;outline:0;cursor:pointer;}&-header{display:flex;flex-direction:column;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";gap:", ";}&-body{overflow-y:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcDialogZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcDialogZoomOut;animation-play-state:running;}@keyframes rcDialogZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcDialogZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (_ref2) {
43096
+ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobalStyle)([".", "{&-root{div[role=\"dialog\"]{margin:10vh auto 0;}}&-mask{position:fixed;inset:0;height:100%;background-color:", ";background-color:", ";filter:alpha(opacity=70);pointer-events:none;&-hidden{display:none;}}&-fade-enter,&-fade-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.55,0,0.55,0.2);animation-play-state:paused;}&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active{animation-name:rcDialogFadeIn;animation-play-state:running;}&-fade-leave&-fade-leave-active{animation-name:rcDialogFadeOut;animation-play-state:running;}@keyframes rcDialogFadeIn{0%{opacity:0;}100%{opacity:1;}}@keyframes rcDialogFadeOut{0%{opacity:1;}100%{opacity:0;}}&-wrap{position:fixed;inset:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;}&-content{position:relative;display:flex;flex-direction:column;box-sizing:border-box;padding-top:", ";background-color:", ";border-radius:", ";font-family:", ";box-shadow:", ";pointer-events:auto;}&-close{position:absolute;margin-top:8px;inset-inline-end:16px;z-index:1;padding:4px;text-decoration:none;background:transparent;border-radius:4px;width:24px;height:24px;border:0;outline:0;cursor:pointer;background-color:", ";svg{color:", ";}&:hover{background-color:", ";svg{color:", ";}}}&-header{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";}&-title{display:flex;flex-direction:column;gap:", ";}&-title-wrap{display:flex;flex-direction:row;align-items:center;gap:", ";}&-body{overflow-y:auto;padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";color:", ";", "}&-footer{padding-top:", ";padding-right:", ";padding-bottom:", ";padding-left:", ";border-top:1px solid ", ";}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,0.04,0.98,0.34);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcDialogZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcDialogZoomOut;animation-play-state:running;}@keyframes rcDialogZoomIn{0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}}@keyframes rcDialogZoomOut{0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}}}"], function (_ref2) {
43055
43097
  var $prefixCls = _ref2.$prefixCls;
43056
43098
  return $prefixCls;
43057
43099
  }, function (_ref3) {
@@ -43076,17 +43118,17 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
43076
43118
  var $theme = _ref9.$theme;
43077
43119
  return $theme.shadow.large;
43078
43120
  }, function (_ref10) {
43079
- var $theme = _ref10.$theme;
43080
- return $theme.spacing['05'];
43121
+ var color = _ref10.theme.color;
43122
+ return color.icon_button_bg;
43081
43123
  }, function (_ref11) {
43082
- var $theme = _ref11.$theme;
43083
- return $theme.spacing['02'];
43124
+ var color = _ref11.theme.color;
43125
+ return color.icon_button_icon_default;
43084
43126
  }, function (_ref12) {
43085
- var $theme = _ref12.$theme;
43086
- return $theme.spacing['03'];
43127
+ var color = _ref12.theme.color;
43128
+ return color.icon_button_bg_hover;
43087
43129
  }, function (_ref13) {
43088
- var $theme = _ref13.$theme;
43089
- return $theme.spacing['07'];
43130
+ var color = _ref13.theme.color;
43131
+ return color.icon_button_icon_hover;
43090
43132
  }, function (_ref14) {
43091
43133
  var $theme = _ref14.$theme;
43092
43134
  return $theme.spacing['03'];
@@ -43098,44 +43140,70 @@ var Modal2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.createGlobal
43098
43140
  return $theme.spacing['03'];
43099
43141
  }, function (_ref17) {
43100
43142
  var $theme = _ref17.$theme;
43101
- return $theme.spacing['06'];
43143
+ return $theme.spacing['07'];
43102
43144
  }, function (_ref18) {
43103
43145
  var $theme = _ref18.$theme;
43104
- return $theme.spacing['07'];
43146
+ return $theme.spacing['03'];
43105
43147
  }, function (_ref19) {
43106
43148
  var $theme = _ref19.$theme;
43107
- return $theme.spacing['08'];
43149
+ return $theme.spacing['03'];
43108
43150
  }, function (_ref20) {
43109
43151
  var $theme = _ref20.$theme;
43110
- return $theme.spacing['07'];
43152
+ return $theme.spacing['06'];
43111
43153
  }, function (_ref21) {
43112
43154
  var $theme = _ref21.$theme;
43113
- return $theme.scrollbars.thin;
43155
+ return $theme.spacing['07'];
43114
43156
  }, function (_ref22) {
43115
43157
  var $theme = _ref22.$theme;
43116
- return $theme.spacing['04'];
43158
+ return $theme.spacing['08'];
43117
43159
  }, function (_ref23) {
43118
43160
  var $theme = _ref23.$theme;
43119
43161
  return $theme.spacing['07'];
43120
43162
  }, function (_ref24) {
43121
43163
  var $theme = _ref24.$theme;
43122
- return $theme.spacing['04'];
43164
+ return $theme.color.text_secondary;
43123
43165
  }, function (_ref25) {
43124
43166
  var $theme = _ref25.$theme;
43125
- return $theme.spacing['07'];
43167
+ return $theme.scrollbars.thin;
43126
43168
  }, function (_ref26) {
43127
43169
  var $theme = _ref26.$theme;
43170
+ return $theme.spacing['04'];
43171
+ }, function (_ref27) {
43172
+ var $theme = _ref27.$theme;
43173
+ return $theme.spacing['07'];
43174
+ }, function (_ref28) {
43175
+ var $theme = _ref28.$theme;
43176
+ return $theme.spacing['04'];
43177
+ }, function (_ref29) {
43178
+ var $theme = _ref29.$theme;
43179
+ return $theme.spacing['07'];
43180
+ }, function (_ref30) {
43181
+ var $theme = _ref30.$theme;
43128
43182
  return $theme.color.border_secondary;
43129
43183
  });
43130
- var ModalFooter = function ModalFooter(_ref27) {
43131
- var onOk = _ref27.onOk,
43132
- onCancel = _ref27.onCancel,
43133
- okLabel = _ref27.okLabel,
43134
- cancelLabel = _ref27.cancelLabel,
43135
- okProps = _ref27.okProps,
43136
- cancelProps = _ref27.cancelProps,
43137
- variant = _ref27.variant,
43138
- footer = _ref27.footer;
43184
+ var DialogHeader = function DialogHeader(_ref31) {
43185
+ var icon = _ref31.icon,
43186
+ title = _ref31.title,
43187
+ subtitle = _ref31.subtitle,
43188
+ prefixCls = _ref31.prefixCls;
43189
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("div", {
43190
+ className: "".concat(prefixCls, "-title-wrap")
43191
+ }, icon, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Header, {
43192
+ color: "text"
43193
+ }, title)), !!subtitle && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_4__.Label, {
43194
+ padding_right: "04",
43195
+ color: "text_tertiary"
43196
+ }, subtitle));
43197
+ };
43198
+ var DialogFooter = function DialogFooter(_ref32) {
43199
+ var onOk = _ref32.onOk,
43200
+ onCancel = _ref32.onCancel,
43201
+ okLabel = _ref32.okLabel,
43202
+ cancelLabel = _ref32.cancelLabel,
43203
+ okProps = _ref32.okProps,
43204
+ cancelProps = _ref32.cancelProps,
43205
+ variant = _ref32.variant,
43206
+ footer = _ref32.footer;
43139
43207
  var renderCancel = !footer && !!(onCancel && cancelLabel);
43140
43208
  var renderOk = !footer && !!(onOk && okLabel);
43141
43209
  var renderFooter = !!footer || renderOk || renderCancel;
@@ -43190,6 +43258,13 @@ var footerLayout = {
43190
43258
  horizontal_full: FooterFullHorizontal,
43191
43259
  vertical: FooterVertical
43192
43260
  };
43261
+ var CloseIcon = function CloseIcon() {
43262
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_js__WEBPACK_IMPORTED_MODULE_5__.Icon, {
43263
+ name: "Close",
43264
+ size: "xs",
43265
+ "data-testid": "modal_header_close_button"
43266
+ });
43267
+ };
43193
43268
 
43194
43269
  /***/ }),
43195
43270
 
@@ -44783,14 +44858,10 @@ var DroppableBody = function DroppableBody(props) {
44783
44858
  var _useRowHoverActions = (0,_row_hover_actions__WEBPACK_IMPORTED_MODULE_2__.useRowHoverActions)(),
44784
44859
  renderHoverActions = _useRowHoverActions.renderHoverActions,
44785
44860
  rowHoverEvents = _useRowHoverActions.rowHoverEvents;
44786
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_3__.Droppable, droppableProps, function (provided) {
44787
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
44788
- ref: provided.innerRef
44789
- }, provided.droppableProps), rows.map(function (row, index) {
44790
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DraggableWrapper, {
44791
- key: row.id,
44792
- row: row,
44793
- index: index,
44861
+ var prepared_rows = react__WEBPACK_IMPORTED_MODULE_0___default().useMemo(function () {
44862
+ return rows.map(function (row, index) {
44863
+ return {
44864
+ original: row,
44794
44865
  render: function render(wrapperProps, dragHandleProps) {
44795
44866
  return renderRow({
44796
44867
  row: row,
@@ -44802,6 +44873,20 @@ var DroppableBody = function DroppableBody(props) {
44802
44873
  })
44803
44874
  });
44804
44875
  }
44876
+ };
44877
+ });
44878
+ }, [rows]);
44879
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_3__.Droppable, droppableProps, function (provided) {
44880
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", _extends({
44881
+ ref: provided.innerRef
44882
+ }, provided.droppableProps), prepared_rows.map(function (_ref, index) {
44883
+ var row = _ref.original,
44884
+ render = _ref.render;
44885
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DraggableWrapper, {
44886
+ key: row.id,
44887
+ row: row,
44888
+ index: index,
44889
+ render: render
44805
44890
  });
44806
44891
  }), provided.placeholder), renderHoverActions());
44807
44892
  });
@@ -49585,7 +49670,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
49585
49670
 
49586
49671
 
49587
49672
 
49588
- var PT_TRIGGER = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'click', 'focus']);
49673
+ var PT_TRIGGER = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['hover', 'click', 'focus', 'contextMenu']);
49589
49674
  var _Tooltip = function Tooltip2(_ref) {
49590
49675
  var id = _ref.id,
49591
49676
  className = _ref.className,
@@ -49645,9 +49730,9 @@ _Tooltip.propTypes = {
49645
49730
  onVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
49646
49731
  afterVisibleChange: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func)
49647
49732
  };
49648
- _Tooltip.showDelay = 0;
49733
+ _Tooltip.showDelay = 0.1;
49649
49734
  _Tooltip.hideDelay = 0.1;
49650
- var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlobalStyle)([".", "{&_white,&_black{position:absolute;display:block;visibility:visible;font-family:", ";font-size:", ";font-weight:", ";line-height:", ";padding:1px;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-inner{padding:8px 10px;text-align:left;text-decoration:none;border-radius:", ";box-shadow:", ";min-height:", ";}&-arrow,&-arrow-inner{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{bottom:1px;margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow{left:50%;}&-placement-topLeft &-arrow{left:15%;}&-placement-topRight &-arrow{right:15%;}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;transform:translateX(calc(-100% + 1px));}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;}&-placement-right &-arrow{top:50%;}&-placement-rightTop &-arrow{top:15%;margin-top:0;}&-placement-rightBottom &-arrow{bottom:15%;}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;transform:translateX(calc(100% - 1px));}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;}&-placement-left &-arrow{top:50%;}&-placement-leftTop &-arrow{top:15%;margin-top:0;}&-placement-leftBottom &-arrow{bottom:15%;}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{top:1px;margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow{left:50%;}&-placement-bottomLeft &-arrow{left:15%;}&-placement-bottomRight &-arrow{right:15%;}&&-zoom-appear,&&-zoom-enter{opacity:0;}&&-zoom-enter,&&-zoom-leave{display:block;}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.18,0.89,0.32,1.28);animation-play-state:paused;}&-zoom-leave{animation-duration:0.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.6,-0.3,0.74,0.05);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running;}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}100%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}}}&_white{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{border-bottom-color:", ";}}&_black{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow-inner,&-placement-topLeft &-arrow-inner,&-placement-topRight &-arrow-inner{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow-inner,&-placement-rightTop &-arrow-inner,&-placement-rightBottom &-arrow-inner{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow-inner,&-placement-leftTop &-arrow-inner,&-placement-leftBottom &-arrow-inner{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow-inner,&-placement-bottomLeft &-arrow-inner,&-placement-bottomRight &-arrow-inner{border-bottom-color:", ";}}}"], function (_ref2) {
49735
+ var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlobalStyle)([".", "{&_white,&_black{position:absolute;display:block;visibility:visible;font-family:", ";font-size:", ";font-weight:", ";line-height:", ";padding:1px;width:fit-content;max-width:min(500px,80vw);background-color:transparent;&-hidden{display:none;}&-inner{padding:8px 10px;text-align:left;text-decoration:none;border-radius:", ";box-shadow:", ";min-height:", ";}&-arrow,&-arrow::before{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{transform:translate(-50%,5px);margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow::before,&-placement-topLeft &-arrow::before,&-placement-topRight &-arrow::before{bottom:1px;margin-left:-6px;border-width:6px 6px 0;}&-placement-top &-arrow{left:50%;}&-placement-topLeft &-arrow{left:15%;}&-placement-topRight &-arrow{right:15%;}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0;transform:translateX(calc(-100% + 1px));}&-placement-right &-arrow::before,&-placement-rightTop &-arrow::before,&-placement-rightBottom &-arrow::before{left:1px;margin-top:-6px;border-width:6px 6px 6px 0;}&-placement-right &-arrow{top:50%;}&-placement-rightTop &-arrow{top:15%;margin-top:0;}&-placement-rightBottom &-arrow{bottom:15%;}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{right:-5px;margin-top:-6px;border-width:6px 0 6px 6px;transform:translateX(calc(100% - 1px));}&-placement-left &-arrow::before,&-placement-leftTop &-arrow::before,&-placement-leftBottom &-arrow::before{right:1px;margin-top:-6px;border-width:6px 0 6px 6px;}&-placement-left &-arrow{top:50%;}&-placement-leftTop &-arrow{top:15%;margin-top:0;}&-placement-leftBottom &-arrow{bottom:15%;}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{transform:translate(-50%,-5px);margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow::before,&-placement-bottomLeft &-arrow::before,&-placement-bottomRight &-arrow::before{top:1px;margin-left:-6px;border-width:0 6px 6px;}&-placement-bottom &-arrow{left:50%;}&-placement-bottomLeft &-arrow{left:15%;}&-placement-bottomRight &-arrow{right:15%;}&&-zoom-appear,&&-zoom-enter{opacity:0;}&&-zoom-enter,&&-zoom-leave{display:block;}&-zoom-enter,&-zoom-appear{opacity:0;animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;}&-zoom-leave{animation-duration:0.1s;animation-fill-mode:both;animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86);animation-play-state:paused;}&-zoom-enter&-zoom-enter-active,&-zoom-appear&-zoom-appear-active{animation-name:rcToolTipZoomIn;animation-play-state:running;}&-zoom-leave&-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running;}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}100%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1,1);}100%{opacity:0;transform-origin:50% 50%;transform:scale(0,0);}}}&_white{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow::before,&-placement-topLeft &-arrow::before,&-placement-topRight &-arrow::before{content:'';border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow::before,&-placement-rightTop &-arrow::before,&-placement-rightBottom &-arrow::before{content:'';border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow::before,&-placement-leftTop &-arrow::before,&-placement-leftBottom &-arrow::before{content:'';border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow::before,&-placement-bottomLeft &-arrow::before,&-placement-bottomRight &-arrow::before{content:'';border-bottom-color:", ";}}&_black{&-inner{color:", ";background-color:", ";border:1px solid ", ";}&-placement-top &-arrow,&-placement-topLeft &-arrow,&-placement-topRight &-arrow{border-top-color:", ";}&-placement-top &-arrow::before,&-placement-topLeft &-arrow::before,&-placement-topRight &-arrow::before{border-top-color:", ";}&-placement-right &-arrow,&-placement-rightTop &-arrow,&-placement-rightBottom &-arrow{border-right-color:", ";}&-placement-right &-arrow::before,&-placement-rightTop &-arrow::before,&-placement-rightBottom &-arrow::before{border-right-color:", ";}&-placement-left &-arrow,&-placement-leftTop &-arrow,&-placement-leftBottom &-arrow{border-left-color:", ";}&-placement-left &-arrow::before,&-placement-leftTop &-arrow::before,&-placement-leftBottom &-arrow::before{border-left-color:", ";}&-placement-bottom &-arrow,&-placement-bottomLeft &-arrow,&-placement-bottomRight &-arrow{border-bottom-color:", ";}&-placement-bottom &-arrow::before,&-placement-bottomLeft &-arrow::before,&-placement-bottomRight &-arrow::before{border-bottom-color:", ";}}}"], function (_ref2) {
49651
49736
  var $prefixCls = _ref2.$prefixCls;
49652
49737
  return $prefixCls;
49653
49738
  }, function (_ref3) {
@@ -49658,10 +49743,10 @@ var Tooltip2Style = (0,styled_components__WEBPACK_IMPORTED_MODULE_3__.createGlob
49658
49743
  return $theme.font_size.sm;
49659
49744
  }, function (_ref5) {
49660
49745
  var $theme = _ref5.$theme;
49661
- return $theme.font_weight.medium;
49746
+ return $theme.font_weight.regular;
49662
49747
  }, function (_ref6) {
49663
49748
  var $theme = _ref6.$theme;
49664
- return $theme.line_height.none;
49749
+ return $theme.line_height.snug;
49665
49750
  }, function (_ref7) {
49666
49751
  var $theme = _ref7.$theme;
49667
49752
  return $theme.spacing['02'];