@luminati-io/uikit 6.3.8 → 6.3.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -36695,10 +36695,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
36695
36695
|
/* harmony export */ });
|
36696
36696
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
|
36697
36697
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
36698
|
-
/* harmony import */ var
|
36699
|
-
/* harmony import */ var
|
36700
|
-
/* harmony import */ var
|
36701
|
-
/* harmony import */ var
|
36698
|
+
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
|
36699
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../layout */ "./src/layout/index.js");
|
36700
|
+
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../menu */ "./src/menu/index.js");
|
36701
|
+
/* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../popover */ "./src/popover/index.js");
|
36702
36702
|
/* harmony import */ var _divider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./divider */ "./src/breadcrumbs/divider.js");
|
36703
36703
|
// LICENSE_CODE ZON
|
36704
36704
|
|
@@ -36710,6 +36710,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
36710
36710
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
36711
36711
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
36712
36712
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
36713
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
36714
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
36715
|
+
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; } }
|
36716
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
36717
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
36718
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
36713
36719
|
|
36714
36720
|
|
36715
36721
|
|
@@ -36718,42 +36724,45 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
36718
36724
|
|
36719
36725
|
var CollapsedItems = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (_ref, ref) {
|
36720
36726
|
var items = _ref.items;
|
36721
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
36727
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_2__.Flex, {
|
36722
36728
|
ref: ref,
|
36723
36729
|
"data-testid": "button-more",
|
36724
36730
|
align_items: "center"
|
36725
36731
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MenuButton, {
|
36726
|
-
|
36727
|
-
items: items
|
36728
|
-
}
|
36732
|
+
items: items
|
36729
36733
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_divider__WEBPACK_IMPORTED_MODULE_5__.Divider, null));
|
36730
36734
|
});
|
36731
36735
|
CollapsedItems.displayName = 'CollapsedItems';
|
36732
|
-
var MenuButton =
|
36733
|
-
var
|
36734
|
-
|
36735
|
-
|
36736
|
-
|
36737
|
-
|
36738
|
-
});
|
36739
|
-
}, function (_ref3) {
|
36740
|
-
var items = _ref3.items,
|
36741
|
-
popover = _ref3.popover;
|
36736
|
+
var MenuButton = function MenuButton(_ref2) {
|
36737
|
+
var items = _ref2.items;
|
36738
|
+
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
36739
|
+
_useState2 = _slicedToArray(_useState, 2),
|
36740
|
+
visible = _useState2[0],
|
36741
|
+
setVisible = _useState2[1];
|
36742
36742
|
var menuItems = items.map(function (i) {
|
36743
36743
|
return _objectSpread(_objectSpread({
|
36744
36744
|
key: i.text
|
36745
36745
|
}, i), {}, {
|
36746
36746
|
onClick: function onClick(e) {
|
36747
|
-
|
36747
|
+
setVisible(false);
|
36748
36748
|
i === null || i === void 0 || i.onClick(e);
|
36749
36749
|
}
|
36750
36750
|
});
|
36751
36751
|
});
|
36752
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(
|
36753
|
-
|
36754
|
-
|
36755
|
-
|
36756
|
-
|
36752
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_popover__WEBPACK_IMPORTED_MODULE_4__.Popover, {
|
36753
|
+
trigger: "click",
|
36754
|
+
visible: visible,
|
36755
|
+
onVisibleChange: setVisible,
|
36756
|
+
popover: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_menu__WEBPACK_IMPORTED_MODULE_3__.Menu, {
|
36757
|
+
size: "sm",
|
36758
|
+
items: menuItems,
|
36759
|
+
noBorder: true
|
36760
|
+
})
|
36761
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_1__.IconButton, {
|
36762
|
+
size: "xs",
|
36763
|
+
icon: "DotsHorizontal"
|
36764
|
+
}));
|
36765
|
+
};
|
36757
36766
|
|
36758
36767
|
/***/ }),
|
36759
36768
|
|
@@ -39236,8 +39245,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
39236
39245
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
39237
39246
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
39238
39247
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
39239
|
-
/* harmony import */ var
|
39240
|
-
/* harmony import */ var
|
39248
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
39249
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
39250
|
+
/* harmony import */ var _code_snippet__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./code_snippet */ "./src/code/code_snippet.js");
|
39241
39251
|
// LICENSE_CODE ZON
|
39242
39252
|
|
39243
39253
|
|
@@ -39248,6 +39258,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
39248
39258
|
|
39249
39259
|
|
39250
39260
|
|
39261
|
+
|
39251
39262
|
var CodeBlock = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(function (props, ref) {
|
39252
39263
|
var className = props.className,
|
39253
39264
|
classNamePrefix = props.classNamePrefix,
|
@@ -39269,16 +39280,16 @@ var CodeBlock = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
39269
39280
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CodeBlockWrapper, _extends({
|
39270
39281
|
ref: ref,
|
39271
39282
|
"data-testid": "code_block"
|
39272
|
-
}, (0,
|
39273
|
-
className: (0,
|
39283
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(props), {
|
39284
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
39274
39285
|
wrapper: true
|
39275
39286
|
}, className)
|
39276
39287
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CodeBlockHeader, {
|
39277
|
-
className: (0,
|
39288
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
39278
39289
|
header: true
|
39279
39290
|
}, variant)
|
39280
|
-
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
39281
|
-
className: (0,
|
39291
|
+
}, header), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_code_snippet__WEBPACK_IMPORTED_MODULE_5__.CodeSnippet, {
|
39292
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
39282
39293
|
snippet: true
|
39283
39294
|
}),
|
39284
39295
|
maxHeight: maxHeight || max_height,
|
@@ -39287,7 +39298,7 @@ var CodeBlock = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(f
|
|
39287
39298
|
variant: variant,
|
39288
39299
|
lineNumbers: lineNumbers,
|
39289
39300
|
copyButton: copyButton,
|
39290
|
-
copyButtonClassName: (0,
|
39301
|
+
copyButtonClassName: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
39291
39302
|
copyButton: true
|
39292
39303
|
}),
|
39293
39304
|
copyButtonPlacement: copyButtonPlacement,
|
@@ -39315,7 +39326,7 @@ CodeBlock.propTypes = {
|
|
39315
39326
|
var CodeBlockWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
39316
39327
|
displayName: "CodeBlockWrapper",
|
39317
39328
|
componentId: "sc-dgi5hi-0"
|
39318
|
-
})(["", "{border-top-left-radius:0;border-top-right-radius:0;}"],
|
39329
|
+
})(["", "{border-top-left-radius:0;border-top-right-radius:0;}"], _code_snippet__WEBPACK_IMPORTED_MODULE_5__.CodeSnippetWrapper);
|
39319
39330
|
var CodeBlockHeader = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
39320
39331
|
displayName: "CodeBlockHeader",
|
39321
39332
|
componentId: "sc-dgi5hi-1"
|
@@ -41143,7 +41154,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
41143
41154
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "prop-types");
|
41144
41155
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
41145
41156
|
/* harmony import */ var _icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @icons */ "./assets/icons/index.js");
|
41146
|
-
/* harmony import */ var
|
41157
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
41147
41158
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils */ "./src/utils.js");
|
41148
41159
|
// LICENSE_CODE ZON
|
41149
41160
|
|
@@ -41159,19 +41170,19 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
41159
41170
|
|
41160
41171
|
|
41161
41172
|
|
41162
|
-
var Icon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (
|
41163
|
-
var name =
|
41164
|
-
|
41165
|
-
size =
|
41166
|
-
color =
|
41167
|
-
verticalAlign =
|
41168
|
-
rest = _objectWithoutProperties(
|
41173
|
+
var Icon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
|
41174
|
+
var name = props.name,
|
41175
|
+
_props$size = props.size,
|
41176
|
+
size = _props$size === void 0 ? 'md' : _props$size,
|
41177
|
+
color = props.color,
|
41178
|
+
verticalAlign = props.verticalAlign,
|
41179
|
+
rest = _objectWithoutProperties(props, _excluded);
|
41169
41180
|
var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)();
|
41170
41181
|
var ic = _icons__WEBPACK_IMPORTED_MODULE_3__["default"][name];
|
41171
41182
|
if (!ic) return null;
|
41172
41183
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledSvg, _extends({
|
41173
41184
|
ref: ref
|
41174
|
-
}, (0,
|
41185
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_4__["default"])(rest), {
|
41175
41186
|
$size: size,
|
41176
41187
|
viewBox: ic.viewBox,
|
41177
41188
|
$color: theme.color[color],
|
@@ -41349,10 +41360,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
41349
41360
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
41350
41361
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
41351
41362
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
41352
|
-
/* harmony import */ var
|
41353
|
-
/* harmony import */ var
|
41354
|
-
/* harmony import */ var
|
41355
|
-
/* harmony import */ var
|
41363
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
41364
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./icon */ "./src/icon.js");
|
41365
|
+
/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./layout */ "./src/layout/index.js");
|
41366
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./typography */ "./src/typography/index.js");
|
41356
41367
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils */ "./src/utils.js");
|
41357
41368
|
// LICENSE_CODE ZON
|
41358
41369
|
|
@@ -41388,15 +41399,14 @@ var InfoChip = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forward
|
|
41388
41399
|
warning: 'icon_warning',
|
41389
41400
|
info: 'icon_primary'
|
41390
41401
|
}[variant] || 'icon_accent';
|
41391
|
-
var commonProps = (0,_util__WEBPACK_IMPORTED_MODULE_6__.getCommonProps)(rest);
|
41392
41402
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(InfoChipWrapper, _extends({
|
41393
41403
|
ref: ref,
|
41394
41404
|
$variant: variant
|
41395
|
-
},
|
41405
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest)), icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_4__.Icon, {
|
41396
41406
|
size: "xxs",
|
41397
41407
|
color: iconColor,
|
41398
41408
|
name: icon
|
41399
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
41409
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_6__.Label, {
|
41400
41410
|
variant: "xs",
|
41401
41411
|
color: textColor
|
41402
41412
|
}, text));
|
@@ -41407,7 +41417,7 @@ InfoChip.propTypes = {
|
|
41407
41417
|
text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
41408
41418
|
icon: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(_utils__WEBPACK_IMPORTED_MODULE_7__.iconNames)
|
41409
41419
|
};
|
41410
|
-
var InfoChipWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
41420
|
+
var InfoChipWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_layout__WEBPACK_IMPORTED_MODULE_5__.Flex).attrs({
|
41411
41421
|
align_items: 'center',
|
41412
41422
|
gap: '02',
|
41413
41423
|
padding_top: '0',
|
@@ -41991,7 +42001,7 @@ var useStyles = function useStyles(_ref) {
|
|
41991
42001
|
},
|
41992
42002
|
placeholder: function placeholder(baseStyles) {
|
41993
42003
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
41994
|
-
color: color.
|
42004
|
+
color: color.text_disabled
|
41995
42005
|
});
|
41996
42006
|
},
|
41997
42007
|
menu: function menu(baseStyles) {
|
@@ -42615,10 +42625,10 @@ Day.displayName = 'Day';
|
|
42615
42625
|
var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
42616
42626
|
displayName: "DayWrapper",
|
42617
42627
|
componentId: "sc-1gurvxq-2"
|
42618
|
-
})(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (_ref28) {
|
42628
|
+
})(["padding:0;background-color:", ";border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";.rdp-day{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;box-sizing:border-box;border-radius:", ";border:1px solid ", ";background-color:", ";cursor:pointer;font-family:", ";font-style:normal;font-weight:", ";font-size:", ";line-height:", ";color:", ";&:hover:not(:disabled){background-color:", ";border:1px solid ", ";}&:disabled{color:", ";cursor:not-allowed;}}.rdp-day_today{color:", ";font-weight:", ";}.rdp-day_selected{background-color:", ";border:1px solid ", ";color:", ";}.rdp-day_range_middle{background-color:", ";border:1px solid ", ";color:", ";&.rdp-day_today{color:", ";}}"], function (_ref28) {
|
42619
42629
|
var $mod = _ref28.$mod,
|
42620
42630
|
color = _ref28.theme.color;
|
42621
|
-
return $mod.selected ? color.
|
42631
|
+
return $mod.selected ? color.bg_fill_primary_secondary : color.bg;
|
42622
42632
|
}, function (_ref29) {
|
42623
42633
|
var $mod = _ref29.$mod;
|
42624
42634
|
return $mod.range_middle || $mod.range_end && !$mod.range_start ? '0' : borderRadius;
|
@@ -42633,10 +42643,10 @@ var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.wi
|
|
42633
42643
|
return $mod.range_middle || $mod.range_start && !$mod.range_end ? '0' : borderRadius;
|
42634
42644
|
}, borderRadius, function (_ref33) {
|
42635
42645
|
var color = _ref33.theme.color;
|
42636
|
-
return color.
|
42646
|
+
return color.bg;
|
42637
42647
|
}, function (_ref34) {
|
42638
42648
|
var color = _ref34.theme.color;
|
42639
|
-
return color.
|
42649
|
+
return color.bg;
|
42640
42650
|
}, function (_ref35) {
|
42641
42651
|
var font_family = _ref35.theme.font_family;
|
42642
42652
|
return font_family.sans;
|
@@ -42654,36 +42664,39 @@ var DayWrapper = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.wi
|
|
42654
42664
|
return color.text_secondary;
|
42655
42665
|
}, function (_ref40) {
|
42656
42666
|
var color = _ref40.theme.color;
|
42657
|
-
return color.
|
42667
|
+
return color.bg_elevated;
|
42658
42668
|
}, function (_ref41) {
|
42659
42669
|
var color = _ref41.theme.color;
|
42660
|
-
return color.
|
42670
|
+
return color.border_primary_hover;
|
42661
42671
|
}, function (_ref42) {
|
42662
42672
|
var color = _ref42.theme.color;
|
42663
|
-
return color.
|
42673
|
+
return color.text_disabled;
|
42664
42674
|
}, function (_ref43) {
|
42665
|
-
var
|
42666
|
-
return
|
42675
|
+
var color = _ref43.theme.color;
|
42676
|
+
return color.text_primary;
|
42667
42677
|
}, function (_ref44) {
|
42668
|
-
var
|
42669
|
-
return
|
42678
|
+
var font_weight = _ref44.theme.font_weight;
|
42679
|
+
return font_weight.semibold;
|
42670
42680
|
}, function (_ref45) {
|
42671
42681
|
var color = _ref45.theme.color;
|
42672
42682
|
return color.bg_fill_primary_hover;
|
42673
42683
|
}, function (_ref46) {
|
42674
42684
|
var color = _ref46.theme.color;
|
42675
|
-
return color.
|
42685
|
+
return color.bg_fill_primary_hover;
|
42676
42686
|
}, function (_ref47) {
|
42677
42687
|
var color = _ref47.theme.color;
|
42678
|
-
return color.
|
42688
|
+
return color.text_white;
|
42679
42689
|
}, function (_ref48) {
|
42680
42690
|
var color = _ref48.theme.color;
|
42681
|
-
return color.
|
42691
|
+
return color.bg_fill_primary_secondary;
|
42682
42692
|
}, function (_ref49) {
|
42683
42693
|
var color = _ref49.theme.color;
|
42684
|
-
return color.
|
42694
|
+
return color.bg_fill_primary_secondary;
|
42685
42695
|
}, function (_ref50) {
|
42686
42696
|
var color = _ref50.theme.color;
|
42697
|
+
return color.text_secondary;
|
42698
|
+
}, function (_ref51) {
|
42699
|
+
var color = _ref51.theme.color;
|
42687
42700
|
return color.text_primary;
|
42688
42701
|
});
|
42689
42702
|
var getDateText = function getDateText(props) {
|
@@ -43718,7 +43731,7 @@ var useStyles = function useStyles(_ref) {
|
|
43718
43731
|
},
|
43719
43732
|
placeholder: function placeholder(baseStyles) {
|
43720
43733
|
return _objectSpread(_objectSpread({}, baseStyles), {}, {
|
43721
|
-
color: color.
|
43734
|
+
color: color.text_disabled
|
43722
43735
|
});
|
43723
43736
|
},
|
43724
43737
|
indicatorsContainer: function indicatorsContainer(baseStyles) {
|
@@ -44756,24 +44769,27 @@ var NumberInput = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input
|
|
44756
44769
|
}).withConfig({
|
44757
44770
|
displayName: "NumberInput",
|
44758
44771
|
componentId: "sc-13mfzjc-1"
|
44759
|
-
})(["padding:0;outline:none;border:0;width:100%;color:inherit;background:inherit
|
44772
|
+
})(["padding:0;outline:none;border:0;width:100%;color:inherit;background:inherit;::placeholder{color:", ";}&:focus{margin-right:21px;}appearance:textfield;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;}"], function (_ref2) {
|
44773
|
+
var color = _ref2.theme.color;
|
44774
|
+
return color.text_disabled;
|
44775
|
+
});
|
44760
44776
|
var Buttons = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
44761
44777
|
displayName: "Buttons",
|
44762
44778
|
componentId: "sc-13mfzjc-2"
|
44763
|
-
})(["position:absolute;top:0;right:0;display:flex;flex-direction:column;border-top-right-radius:4px;border-bottom-right-radius:4px;height:100%;div[role=\"button\"]{box-sizing:border-box;min-height:0;height:50%;background:", ";border-left:1px solid ", ";padding:2px 4px;display:flex;align-items:center;cursor:pointer;&.up{border-top-right-radius:4px;}&.down{border-bottom-right-radius:4px;border-top:1px solid ", ";}&:hover{background:", ";svg{color:", ";}}}"], function (
|
44764
|
-
var color = _ref2.theme.color;
|
44765
|
-
return color.bg;
|
44766
|
-
}, function (_ref3) {
|
44779
|
+
})(["position:absolute;top:0;right:0;display:flex;flex-direction:column;border-top-right-radius:4px;border-bottom-right-radius:4px;height:100%;div[role=\"button\"]{box-sizing:border-box;min-height:0;height:50%;background:", ";border-left:1px solid ", ";padding:2px 4px;display:flex;align-items:center;cursor:pointer;&.up{border-top-right-radius:4px;}&.down{border-bottom-right-radius:4px;border-top:1px solid ", ";}&:hover{background:", ";svg{color:", ";}}}"], function (_ref3) {
|
44767
44780
|
var color = _ref3.theme.color;
|
44768
|
-
return color.
|
44781
|
+
return color.bg;
|
44769
44782
|
}, function (_ref4) {
|
44770
44783
|
var color = _ref4.theme.color;
|
44771
44784
|
return color.border;
|
44772
44785
|
}, function (_ref5) {
|
44773
44786
|
var color = _ref5.theme.color;
|
44774
|
-
return color.
|
44787
|
+
return color.border;
|
44775
44788
|
}, function (_ref6) {
|
44776
44789
|
var color = _ref6.theme.color;
|
44790
|
+
return color.bg_fill_secondary;
|
44791
|
+
}, function (_ref7) {
|
44792
|
+
var color = _ref7.theme.color;
|
44777
44793
|
return color.icon_accent;
|
44778
44794
|
});
|
44779
44795
|
|
@@ -46099,7 +46115,7 @@ var Field = styled_components__WEBPACK_IMPORTED_MODULE_2___default().input.withC
|
|
46099
46115
|
return color.text;
|
46100
46116
|
}, function (_ref6) {
|
46101
46117
|
var color = _ref6.theme.color;
|
46102
|
-
return color.
|
46118
|
+
return color.text_disabled;
|
46103
46119
|
});
|
46104
46120
|
var InputLabel = function InputLabel(_ref7) {
|
46105
46121
|
var className = _ref7.className,
|
@@ -46273,7 +46289,7 @@ var InputContentWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default
|
|
46273
46289
|
var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
46274
46290
|
displayName: "InputWrapper",
|
46275
46291
|
componentId: "sc-r60v1b-7"
|
46276
|
-
})(["position:relative;width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";border-left-width:1px;border-right-width:1px;border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";", " ", " box-shadow:", ";"], function (_ref32) {
|
46292
|
+
})(["position:relative;width:100%;border:1px solid;border-radius:4px;box-sizing:border-box;font-family:", ";padding:", "px ", "px;overflow:auto;display:flex;gap:8px;align-items:", ";border-left-width:1px;border-right-width:1px;border-top-left-radius:", ";border-bottom-left-radius:", ";border-top-right-radius:", ";border-bottom-right-radius:", ";", " cursor:", ";background-color:", ";color:", ";border-color:", ";&:hover{border-color:", ";}box-shadow:", ";"], function (_ref32) {
|
46277
46293
|
var font_family = _ref32.theme.font_family;
|
46278
46294
|
return font_family.sans;
|
46279
46295
|
}, _constants__WEBPACK_IMPORTED_MODULE_12__.INPUT_VERTICAL_PADDING, _constants__WEBPACK_IMPORTED_MODULE_12__.INPUT_HORIZONTAL_PADDING, function (_ref33) {
|
@@ -46291,23 +46307,36 @@ var InputWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.
|
|
46291
46307
|
var _props$$heightCalcula;
|
46292
46308
|
return (_props$$heightCalcula = props.$heightCalculationCallback) === null || _props$$heightCalcula === void 0 ? void 0 : _props$$heightCalcula.call(props);
|
46293
46309
|
}, function (_ref34) {
|
46294
|
-
var $disabled = _ref34.$disabled
|
46295
|
-
|
46296
|
-
$active = _ref34.$active,
|
46297
|
-
color = _ref34.theme.color;
|
46298
|
-
if ($disabled) {
|
46299
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:default;background-color:", ";border-color:", ";color:", ";"], color.bg_fill_teritary, color.border_disabled, color.text_disabled);
|
46300
|
-
}
|
46301
|
-
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["cursor:text;background-color:", ";color:", ";border-color:", ";&:hover{border-color:", ";}"], color.bg, color.text_tertiary, $invalid ? color.border_error : $active ? color.border_primary : color.border, color.border_accent);
|
46310
|
+
var $disabled = _ref34.$disabled;
|
46311
|
+
return $disabled ? 'default' : 'text';
|
46302
46312
|
}, function (_ref35) {
|
46303
|
-
var $
|
46304
|
-
|
46313
|
+
var $disabled = _ref35.$disabled,
|
46314
|
+
color = _ref35.theme.color;
|
46315
|
+
return $disabled ? color.bg_fill_teritary : color.bg;
|
46316
|
+
}, function (_ref36) {
|
46317
|
+
var $disabled = _ref36.$disabled,
|
46318
|
+
color = _ref36.theme.color;
|
46319
|
+
return $disabled ? color.text_disabled : color.text_tertiary;
|
46320
|
+
}, function (_ref37) {
|
46321
|
+
var $disabled = _ref37.$disabled,
|
46322
|
+
$invalid = _ref37.$invalid,
|
46323
|
+
$active = _ref37.$active,
|
46324
|
+
color = _ref37.theme.color;
|
46325
|
+
return $disabled ? color.border_disabled : $invalid ? color.border_error : $active ? color.border_primary : color.border;
|
46326
|
+
}, function (_ref38) {
|
46327
|
+
var $disabled = _ref38.$disabled,
|
46328
|
+
$active = _ref38.$active,
|
46329
|
+
color = _ref38.theme.color;
|
46330
|
+
return $disabled ? color.border_disabled : $active ? color.border_primary : color.border_accent;
|
46331
|
+
}, function (_ref39) {
|
46332
|
+
var $active = _ref39.$active,
|
46333
|
+
shadow = _ref39.theme.shadow;
|
46305
46334
|
return $active ? shadow.primary : null;
|
46306
46335
|
});
|
46307
|
-
var HelperText = function HelperText(
|
46308
|
-
var classNamePrefix =
|
46309
|
-
children =
|
46310
|
-
invalid =
|
46336
|
+
var HelperText = function HelperText(_ref40) {
|
46337
|
+
var classNamePrefix = _ref40.classNamePrefix,
|
46338
|
+
children = _ref40.children,
|
46339
|
+
invalid = _ref40.invalid;
|
46311
46340
|
if (!children) return null;
|
46312
46341
|
var color = invalid ? 'text_error' : 'text_quaternary';
|
46313
46342
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_9__.Label, {
|
@@ -46473,7 +46502,7 @@ var Area = styled_components__WEBPACK_IMPORTED_MODULE_2___default().textarea.wit
|
|
46473
46502
|
return line_height.none;
|
46474
46503
|
}, function (_ref6) {
|
46475
46504
|
var color = _ref6.theme.color;
|
46476
|
-
return color.
|
46505
|
+
return color.text_disabled;
|
46477
46506
|
});
|
46478
46507
|
|
46479
46508
|
/***/ }),
|
@@ -48864,7 +48893,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
48864
48893
|
|
48865
48894
|
|
48866
48895
|
/*jslint react:true*/
|
48867
|
-
var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "icon", "zIndex", "children", "minHeight", "afterClose"];
|
48896
|
+
var _excluded = ["className", "classNamePrefix", "size", "footerVariant", "show", "closable", "closeOnOutsideClick", "title", "subtitle", "footer", "onClose", "okLabel", "onOk", "okProps", "cancelLabel", "onCancel", "cancelProps", "icon", "zIndex", "children", "minHeight", "afterClose", "destroyOnClose"];
|
48868
48897
|
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); }
|
48869
48898
|
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; }
|
48870
48899
|
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; }
|
@@ -48909,6 +48938,8 @@ var Modal2 = function Modal2(_ref) {
|
|
48909
48938
|
_ref$minHeight = _ref.minHeight,
|
48910
48939
|
minHeight = _ref$minHeight === void 0 ? 300 : _ref$minHeight,
|
48911
48940
|
afterClose = _ref.afterClose,
|
48941
|
+
_ref$destroyOnClose = _ref.destroyOnClose,
|
48942
|
+
destroyOnClose = _ref$destroyOnClose === void 0 ? true : _ref$destroyOnClose,
|
48912
48943
|
rest = _objectWithoutProperties(_ref, _excluded);
|
48913
48944
|
var theme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)();
|
48914
48945
|
var width = _base_js__WEBPACK_IMPORTED_MODULE_10__.MODAL_WIDTHS[size] || _base_js__WEBPACK_IMPORTED_MODULE_10__.MODAL_WIDTHS.md;
|
@@ -48953,6 +48984,7 @@ var Modal2 = function Modal2(_ref) {
|
|
48953
48984
|
}
|
48954
48985
|
},
|
48955
48986
|
afterClose: afterClose,
|
48987
|
+
destroyOnClose: destroyOnClose,
|
48956
48988
|
keyboard: false,
|
48957
48989
|
animation: "zoom",
|
48958
48990
|
maskAnimation: "fade"
|
@@ -48979,7 +49011,8 @@ Modal2.propTypes = {
|
|
48979
49011
|
zIndex: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
48980
49012
|
minHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
48981
49013
|
afterClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
48982
|
-
icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node)
|
49014
|
+
icon: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().node),
|
49015
|
+
destroyOnClose: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
48983
49016
|
};
|
48984
49017
|
var prefixCls = function prefixCls(p) {
|
48985
49018
|
return p.$prefixCls;
|
@@ -50983,14 +51016,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
50983
51016
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
50984
51017
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
50985
51018
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
50986
|
-
/* harmony import */ var
|
50987
|
-
/* harmony import */ var
|
50988
|
-
/* harmony import */ var
|
50989
|
-
/* harmony import */ var
|
50990
|
-
/* harmony import */ var
|
50991
|
-
/* harmony import */ var
|
51019
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
51020
|
+
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
|
51021
|
+
/* harmony import */ var _input__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../input */ "./src/input/index.js");
|
51022
|
+
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../tooltip */ "./src/tooltip/index.js");
|
51023
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
51024
|
+
/* harmony import */ var _popover__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../popover */ "./src/popover/index.js");
|
50992
51025
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils */ "./src/utils.js");
|
50993
|
-
/* harmony import */ var
|
51026
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../constants */ "./src/constants.js");
|
51027
|
+
/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./context */ "./src/table/context.js");
|
50994
51028
|
// LICENSE_CODE ZON
|
50995
51029
|
|
50996
51030
|
|
@@ -50999,12 +51033,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
50999
51033
|
var _excluded = ["Dragger", "isDragging"];
|
51000
51034
|
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; }
|
51001
51035
|
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; }
|
51002
|
-
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); }
|
51003
51036
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
51004
51037
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
51005
51038
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
51006
51039
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
51007
51040
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
51041
|
+
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); }
|
51008
51042
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
51009
51043
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
51010
51044
|
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; } }
|
@@ -51022,8 +51056,14 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
51022
51056
|
|
51023
51057
|
|
51024
51058
|
|
51025
|
-
|
51026
|
-
|
51059
|
+
|
51060
|
+
var CustomizeButton = function CustomizeButton(_ref) {
|
51061
|
+
var searchable = _ref.searchable,
|
51062
|
+
_ref$popoverPlacement = _ref.popoverPlacement,
|
51063
|
+
popoverPlacement = _ref$popoverPlacement === void 0 ? 'bottom' : _ref$popoverPlacement,
|
51064
|
+
_ref$maxMenuHeight = _ref.maxMenuHeight,
|
51065
|
+
maxMenuHeight = _ref$maxMenuHeight === void 0 ? 300 : _ref$maxMenuHeight;
|
51066
|
+
var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_11__.useTableContext)(),
|
51027
51067
|
allColumns = _useTableContext.allColumns,
|
51028
51068
|
canOrderColumns = _useTableContext.canOrderColumns,
|
51029
51069
|
orderLogic = _useTableContext.orderLogic;
|
@@ -51033,43 +51073,46 @@ var CustomizeButton = function CustomizeButton(props) {
|
|
51033
51073
|
setSearch = _useState2[1];
|
51034
51074
|
(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {
|
51035
51075
|
return setSearch('');
|
51036
|
-
}, [
|
51076
|
+
}, [searchable]);
|
51037
51077
|
var columns = allColumns.filter(function (col) {
|
51038
51078
|
return col.canHide || col.canPin;
|
51039
51079
|
});
|
51040
51080
|
if (!columns.length) return null;
|
51041
51081
|
var filtered = columns.filter(searchColumn(search));
|
51042
51082
|
var orderProps = canOrderColumns && orderLogic;
|
51043
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51044
|
-
|
51045
|
-
|
51083
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_popover__WEBPACK_IMPORTED_MODULE_8__.Popover, {
|
51084
|
+
trigger: "click",
|
51085
|
+
popover: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonPopover, {
|
51086
|
+
searchable: searchable,
|
51046
51087
|
search: search,
|
51047
51088
|
setSearch: setSearch,
|
51089
|
+
maxMenuHeight: maxMenuHeight,
|
51090
|
+
items: filtered,
|
51048
51091
|
orderProps: orderProps
|
51049
|
-
})
|
51050
|
-
|
51092
|
+
}),
|
51093
|
+
placement: popoverPlacement,
|
51094
|
+
style: {
|
51095
|
+
padding: '4px 0',
|
51096
|
+
minWidth: 168,
|
51097
|
+
maxWidth: 540
|
51098
|
+
}
|
51099
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton, {
|
51100
|
+
tooltip: "Customize columns",
|
51101
|
+
icon: "Customize"
|
51102
|
+
}));
|
51051
51103
|
};
|
51052
51104
|
CustomizeButton.displayName = 'Table.CustomizeButton';
|
51053
51105
|
CustomizeButton.propTypes = {
|
51054
51106
|
searchable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),
|
51055
|
-
maxMenuHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number)
|
51107
|
+
maxMenuHeight: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),
|
51108
|
+
popoverPlacement: _constants__WEBPACK_IMPORTED_MODULE_10__.PT_TOOLTIP_PLACEMENT
|
51056
51109
|
};
|
51057
|
-
var
|
51058
|
-
|
51059
|
-
|
51060
|
-
})(["box-shadow:", ";background:", ";border-radius:4px;padding:4px 0;min-width:168px;max-width:540px;"], function (_ref) {
|
51061
|
-
var shadow = _ref.theme.shadow;
|
51062
|
-
return shadow.medium;
|
51063
|
-
}, function (_ref2) {
|
51064
|
-
var color = _ref2.theme.color;
|
51065
|
-
return color.bg_elevated;
|
51066
|
-
});
|
51067
|
-
var Search = function Search(_ref3) {
|
51068
|
-
var search = _ref3.search,
|
51069
|
-
setSearch = _ref3.setSearch;
|
51110
|
+
var Search = function Search(_ref2) {
|
51111
|
+
var search = _ref2.search,
|
51112
|
+
setSearch = _ref2.setSearch;
|
51070
51113
|
var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)(),
|
51071
51114
|
spacing = _useTheme.spacing;
|
51072
|
-
var clearButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51115
|
+
var clearButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_4__.IconButton, {
|
51073
51116
|
size: "xs",
|
51074
51117
|
icon: "Close",
|
51075
51118
|
style: {
|
@@ -51083,8 +51126,8 @@ var Search = function Search(_ref3) {
|
|
51083
51126
|
style: {
|
51084
51127
|
padding: spacing['03']
|
51085
51128
|
}
|
51086
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51087
|
-
leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51129
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_5__.Textbox, {
|
51130
|
+
leftInnerContent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
51088
51131
|
size: "xs",
|
51089
51132
|
name: "Search",
|
51090
51133
|
color: "icon"
|
@@ -51096,25 +51139,24 @@ var Search = function Search(_ref3) {
|
|
51096
51139
|
};
|
51097
51140
|
var ItemsWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
51098
51141
|
displayName: "ItemsWrapper",
|
51099
|
-
componentId: "sc-1uptv2h-
|
51100
|
-
})(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (
|
51101
|
-
var $maxMenuHeight =
|
51102
|
-
scrollbars =
|
51142
|
+
componentId: "sc-1uptv2h-0"
|
51143
|
+
})(["width:100%;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;", ""], function (_ref3) {
|
51144
|
+
var $maxMenuHeight = _ref3.$maxMenuHeight,
|
51145
|
+
scrollbars = _ref3.theme.scrollbars;
|
51103
51146
|
if ($maxMenuHeight > 0) {
|
51104
51147
|
return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["max-height:", ";overflow-y:auto;", ""], (0,_utils__WEBPACK_IMPORTED_MODULE_9__.toPixel)($maxMenuHeight), scrollbars.thin);
|
51105
51148
|
}
|
51106
51149
|
});
|
51107
|
-
var CustomizeButtonPopover = function CustomizeButtonPopover(
|
51108
|
-
var searchable =
|
51109
|
-
search =
|
51110
|
-
setSearch =
|
51111
|
-
|
51112
|
-
|
51113
|
-
|
51114
|
-
orderProps = _ref5.orderProps;
|
51150
|
+
var CustomizeButtonPopover = function CustomizeButtonPopover(_ref4) {
|
51151
|
+
var searchable = _ref4.searchable,
|
51152
|
+
search = _ref4.search,
|
51153
|
+
setSearch = _ref4.setSearch,
|
51154
|
+
maxMenuHeight = _ref4.maxMenuHeight,
|
51155
|
+
items = _ref4.items,
|
51156
|
+
orderProps = _ref4.orderProps;
|
51115
51157
|
var maxHeight = Number.parseInt(maxMenuHeight);
|
51116
51158
|
var _maxMenuHeight = orderProps && (!maxHeight || maxHeight < 600) ? 600 : maxMenuHeight;
|
51117
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51159
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, searchable && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Search, {
|
51118
51160
|
search: search,
|
51119
51161
|
setSearch: setSearch
|
51120
51162
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ItemsWrapper, {
|
@@ -51125,28 +51167,18 @@ var CustomizeButtonPopover = function CustomizeButtonPopover(_ref5) {
|
|
51125
51167
|
items: items
|
51126
51168
|
})));
|
51127
51169
|
};
|
51128
|
-
var
|
51129
|
-
var
|
51130
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_5__.IconButton, {
|
51131
|
-
onClick: popover.toggle,
|
51132
|
-
tooltip: "Customize columns",
|
51133
|
-
icon: "Customize"
|
51134
|
-
});
|
51135
|
-
}, CustomizeButtonPopover, {
|
51136
|
-
placement: 'bottom'
|
51137
|
-
});
|
51138
|
-
var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(_ref7) {
|
51139
|
-
var items = _ref7.items;
|
51170
|
+
var CustomizeButtonStaticItems = function CustomizeButtonStaticItems(_ref5) {
|
51171
|
+
var items = _ref5.items;
|
51140
51172
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, items.map(function (c) {
|
51141
51173
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, _extends({
|
51142
51174
|
key: c.id
|
51143
51175
|
}, c));
|
51144
51176
|
}));
|
51145
51177
|
};
|
51146
|
-
var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(
|
51147
|
-
var items =
|
51148
|
-
orders =
|
51149
|
-
moveColumn =
|
51178
|
+
var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref6) {
|
51179
|
+
var items = _ref6.items,
|
51180
|
+
orders = _ref6.orders,
|
51181
|
+
moveColumn = _ref6.moveColumn;
|
51150
51182
|
var sections = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
|
51151
51183
|
var _orders$pinned;
|
51152
51184
|
return [((_orders$pinned = orders.pinned) === null || _orders$pinned === void 0 ? void 0 : _orders$pinned.length) && {
|
@@ -51193,7 +51225,7 @@ var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref8
|
|
51193
51225
|
}, it);
|
51194
51226
|
});
|
51195
51227
|
}, [items]);
|
51196
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51228
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_5__.DragDrop, {
|
51197
51229
|
value: value,
|
51198
51230
|
onChange: onChange,
|
51199
51231
|
items: _items,
|
@@ -51202,32 +51234,32 @@ var CustomizeButtonDraggableItems = function CustomizeButtonDraggableItems(_ref8
|
|
51202
51234
|
CustomDrag: CustomizeButtonDraggableItem
|
51203
51235
|
});
|
51204
51236
|
};
|
51205
|
-
var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(
|
51206
|
-
var Dragger =
|
51207
|
-
isDragging =
|
51208
|
-
itemProps = _objectWithoutProperties(
|
51209
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51237
|
+
var CustomizeButtonDraggableItem = function CustomizeButtonDraggableItem(_ref7) {
|
51238
|
+
var Dragger = _ref7.Dragger,
|
51239
|
+
isDragging = _ref7.isDragging,
|
51240
|
+
itemProps = _objectWithoutProperties(_ref7, _excluded);
|
51241
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_input__WEBPACK_IMPORTED_MODULE_5__.DragDrop.DraggableItem, {
|
51210
51242
|
Dragger: Dragger,
|
51211
51243
|
isDragging: isDragging
|
51212
51244
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItem, itemProps));
|
51213
51245
|
};
|
51214
|
-
var CustomizeButtonItem = function CustomizeButtonItem(
|
51215
|
-
var id =
|
51216
|
-
name =
|
51217
|
-
canPin =
|
51218
|
-
isPinned =
|
51219
|
-
togglePinned =
|
51220
|
-
canHide =
|
51221
|
-
isVisible =
|
51222
|
-
toggleHidden =
|
51223
|
-
className =
|
51246
|
+
var CustomizeButtonItem = function CustomizeButtonItem(_ref8) {
|
51247
|
+
var id = _ref8.id,
|
51248
|
+
name = _ref8.name,
|
51249
|
+
canPin = _ref8.canPin,
|
51250
|
+
isPinned = _ref8.isPinned,
|
51251
|
+
togglePinned = _ref8.togglePinned,
|
51252
|
+
canHide = _ref8.canHide,
|
51253
|
+
isVisible = _ref8.isVisible,
|
51254
|
+
toggleHidden = _ref8.toggleHidden,
|
51255
|
+
className = _ref8.className;
|
51224
51256
|
var handlePinned = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
|
51225
51257
|
togglePinned(!isPinned);
|
51226
51258
|
}, [isPinned, togglePinned]);
|
51227
51259
|
var handleHidden = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {
|
51228
51260
|
toggleHidden(isVisible);
|
51229
51261
|
}, [isVisible, toggleHidden]);
|
51230
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51262
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Label, {
|
51231
51263
|
variant: "sm",
|
51232
51264
|
color: isVisible ? 'text_secondary' : 'text_disabled',
|
51233
51265
|
"data-label": true,
|
@@ -51244,21 +51276,21 @@ var CustomizeButtonItem = function CustomizeButtonItem(_ref10) {
|
|
51244
51276
|
};
|
51245
51277
|
var CustomizeButtonItemWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
51246
51278
|
displayName: "CustomizeButtonItemWrapper",
|
51247
|
-
componentId: "sc-1uptv2h-
|
51248
|
-
})(["margin:0;padding:8px 16px;display:flex;align-items:center;gap:4px;min-width:230px;div[data-label]{margin-right:auto;}&:hover{background-color:", ";}"], function (
|
51249
|
-
var color =
|
51279
|
+
componentId: "sc-1uptv2h-1"
|
51280
|
+
})(["margin:0;padding:8px 16px;display:flex;align-items:center;gap:4px;min-width:230px;div[data-label]{margin-right:auto;}&:hover{background-color:", ";}"], function (_ref9) {
|
51281
|
+
var color = _ref9.theme.color;
|
51250
51282
|
return color.bg_fill_secondary;
|
51251
51283
|
});
|
51252
|
-
var CustomizeButtonItemAction = function CustomizeButtonItemAction(
|
51253
|
-
var onClick =
|
51254
|
-
tooltip =
|
51255
|
-
icon =
|
51284
|
+
var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref10) {
|
51285
|
+
var onClick = _ref10.onClick,
|
51286
|
+
tooltip = _ref10.tooltip,
|
51287
|
+
icon = _ref10.icon;
|
51256
51288
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(CustomizeButtonItemActionWrapper, {
|
51257
51289
|
onClick: onClick
|
51258
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51290
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_6__.Tooltip2, {
|
51259
51291
|
tooltip: tooltip,
|
51260
51292
|
tooltipPlacement: "top"
|
51261
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
51293
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_3__.Icon, {
|
51262
51294
|
name: icon,
|
51263
51295
|
size: "xs",
|
51264
51296
|
color: "icon"
|
@@ -51266,7 +51298,7 @@ var CustomizeButtonItemAction = function CustomizeButtonItemAction(_ref12) {
|
|
51266
51298
|
};
|
51267
51299
|
var CustomizeButtonItemActionWrapper = styled_components__WEBPACK_IMPORTED_MODULE_2___default().div.withConfig({
|
51268
51300
|
displayName: "CustomizeButtonItemActionWrapper",
|
51269
|
-
componentId: "sc-1uptv2h-
|
51301
|
+
componentId: "sc-1uptv2h-2"
|
51270
51302
|
})(["cursor:pointer;visibility:hidden;", ":hover &{visibility:visible;}"], CustomizeButtonItemWrapper);
|
51271
51303
|
var searchColumn = function searchColumn(search) {
|
51272
51304
|
return function (col) {
|
@@ -51522,14 +51554,21 @@ var ExpandHandle = function ExpandHandle(_ref) {
|
|
51522
51554
|
isExpanded = _ref.isExpanded;
|
51523
51555
|
var _useTheme = (0,styled_components__WEBPACK_IMPORTED_MODULE_1__.useTheme)(),
|
51524
51556
|
spacing = _useTheme.spacing;
|
51525
|
-
var icon = isExpanded ? 'ChevronDown' : 'ChevronRight';
|
51526
51557
|
if (!canExpand) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_2__.Box, {
|
51527
51558
|
width: spacing['06']
|
51528
51559
|
});
|
51560
|
+
var icon = isExpanded ? 'ChevronDown' : 'ChevronRight';
|
51561
|
+
var props = getToggleRowExpandedProps();
|
51562
|
+
var onClick = function onClick(e) {
|
51563
|
+
e.stopPropagation(); // prevents onRowClick
|
51564
|
+
props.onClick(e);
|
51565
|
+
};
|
51529
51566
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_icon_button__WEBPACK_IMPORTED_MODULE_3__.IconButton, _extends({
|
51530
51567
|
icon: icon,
|
51531
51568
|
size: "xs"
|
51532
|
-
},
|
51569
|
+
}, props, {
|
51570
|
+
onClick: onClick
|
51571
|
+
}));
|
51533
51572
|
};
|
51534
51573
|
var withAttachedProps = function withAttachedProps(Comp, rowProps) {
|
51535
51574
|
return function WithAttachedProps() {
|
@@ -52246,6 +52285,12 @@ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(
|
|
52246
52285
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
52247
52286
|
|
52248
52287
|
|
52288
|
+
if (!Array.prototype.toSpliced) {
|
52289
|
+
Array.prototype.toSpliced = function () {
|
52290
|
+
var _Array$from;
|
52291
|
+
return (_Array$from = Array.from(this)).splice.apply(_Array$from, arguments);
|
52292
|
+
};
|
52293
|
+
}
|
52249
52294
|
var useOrderLogic = function useOrderLogic(table) {
|
52250
52295
|
var _table$state = table.state,
|
52251
52296
|
columnOrder = _table$state.columnOrder,
|
@@ -53952,7 +53997,8 @@ var TableBody = function TableBody(props) {
|
|
53952
53997
|
setIsDraggingRow = _useTableContext2.setIsDraggingRow,
|
53953
53998
|
onRowDragStart = _useTableContext2.onRowDragStart,
|
53954
53999
|
onRowDragEnd = _useTableContext2.onRowDragEnd,
|
53955
|
-
rowsById = _useTableContext2.rowsById
|
54000
|
+
rowsById = _useTableContext2.rowsById,
|
54001
|
+
draggableRows = _useTableContext2.draggableRows;
|
53956
54002
|
var rows = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
53957
54003
|
return [].concat(_toConsumableArray(pinnedRows), _toConsumableArray(page.filter(function (row) {
|
53958
54004
|
return !row.isPinned;
|
@@ -54013,10 +54059,7 @@ var TableBody = function TableBody(props) {
|
|
54013
54059
|
cache.current.clearAll();
|
54014
54060
|
onRowDragEnd === null || onRowDragEnd === void 0 || onRowDragEnd(event, originRow, destRow, context);
|
54015
54061
|
}, [rows, cache.current]);
|
54016
|
-
|
54017
|
-
onDragStart: onDragStart,
|
54018
|
-
onDragEnd: onDragEnd
|
54019
|
-
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableBodyRowGroup, _extends({
|
54062
|
+
var content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(TableBodyRowGroup, _extends({
|
54020
54063
|
"data-rowgroup-type": "body"
|
54021
54064
|
}, bodyProps, {
|
54022
54065
|
style: style,
|
@@ -54024,21 +54067,39 @@ var TableBody = function TableBody(props) {
|
|
54024
54067
|
tableBody: true
|
54025
54068
|
}),
|
54026
54069
|
onScroll: onScroll
|
54027
|
-
}), body)
|
54070
|
+
}), body);
|
54071
|
+
if (draggableRows) {
|
54072
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_13__.DragDropContext, {
|
54073
|
+
onDragStart: onDragStart,
|
54074
|
+
onDragEnd: onDragEnd
|
54075
|
+
}, content);
|
54076
|
+
}
|
54077
|
+
return content;
|
54028
54078
|
};
|
54029
54079
|
var Body = function Body(props) {
|
54030
54080
|
var _useTableContext3 = (0,_context__WEBPACK_IMPORTED_MODULE_6__.useTableContext)(),
|
54031
|
-
virtualized = _useTableContext3.virtualized
|
54081
|
+
virtualized = _useTableContext3.virtualized,
|
54082
|
+
draggableRows = _useTableContext3.draggableRows;
|
54032
54083
|
var droppableProps = (0,react__WEBPACK_IMPORTED_MODULE_2__.useMemo)(function () {
|
54033
54084
|
return {
|
54034
54085
|
droppableId: 'table-body-rows',
|
54035
54086
|
type: 'ROWS'
|
54036
54087
|
};
|
54037
54088
|
}, []);
|
54038
|
-
|
54039
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(BodyComp, _extends({}, props, {
|
54089
|
+
if (virtualized) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_virtualized_body__WEBPACK_IMPORTED_MODULE_11__.VirtualizedBody, _extends({}, props, {
|
54040
54090
|
droppableProps: droppableProps
|
54041
54091
|
}));
|
54092
|
+
if (draggableRows) return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_12__.DroppableBody, _extends({}, props, {
|
54093
|
+
droppableProps: droppableProps
|
54094
|
+
}));
|
54095
|
+
var rows = props.rows,
|
54096
|
+
_renderRow = props.renderRow;
|
54097
|
+
return rows.map(function (row, index) {
|
54098
|
+
return _renderRow({
|
54099
|
+
row: row,
|
54100
|
+
index: index
|
54101
|
+
});
|
54102
|
+
});
|
54042
54103
|
};
|
54043
54104
|
var TableBodyRowGroup = styled_components__WEBPACK_IMPORTED_MODULE_3___default().div.withConfig({
|
54044
54105
|
displayName: "TableBodyRowGroup",
|
@@ -54246,8 +54307,10 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
|
|
54246
54307
|
index = props.index,
|
54247
54308
|
style = props.style,
|
54248
54309
|
parent = props.parent,
|
54249
|
-
rowHoverEvents = props.rowHoverEvents
|
54250
|
-
|
54310
|
+
rowHoverEvents = props.rowHoverEvents,
|
54311
|
+
draggableRows = props.draggableRows;
|
54312
|
+
// padding is needed to see the divider between rows
|
54313
|
+
// when new rows are added
|
54251
54314
|
var _style = _objectSpread(_objectSpread({}, style), {}, {
|
54252
54315
|
padding: '0.3px 0'
|
54253
54316
|
});
|
@@ -54258,28 +54321,34 @@ var RowRenderer = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo
|
|
54258
54321
|
rowIndex: index
|
54259
54322
|
}, function (_ref) {
|
54260
54323
|
var measure = _ref.measure;
|
54261
|
-
|
54262
|
-
|
54324
|
+
if (draggableRows) {
|
54325
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_dnd__WEBPACK_IMPORTED_MODULE_4__.DraggableWrapper, {
|
54326
|
+
key: row.id,
|
54327
|
+
row: row,
|
54328
|
+
index: index,
|
54329
|
+
render: function render(wrapperProps, dragHandleProps) {
|
54330
|
+
return renderRow({
|
54331
|
+
row: row,
|
54332
|
+
index: index,
|
54333
|
+
wrapperProps: _objectSpread(_objectSpread(_objectSpread({}, wrapperProps), rowHoverEvents), {}, {
|
54334
|
+
onPointerEnter: function onPointerEnter(e) {
|
54335
|
+
return rowHoverEvents.onPointerEnter(e, row, dragHandleProps);
|
54336
|
+
},
|
54337
|
+
style: _style,
|
54338
|
+
measureContentSize: measure
|
54339
|
+
})
|
54340
|
+
});
|
54341
|
+
}
|
54342
|
+
});
|
54343
|
+
}
|
54344
|
+
return renderRow({
|
54263
54345
|
row: row,
|
54264
|
-
index: index
|
54265
|
-
render: function render(wrapperProps, dragHandleProps) {
|
54266
|
-
return renderRow({
|
54267
|
-
row: row,
|
54268
|
-
index: index,
|
54269
|
-
wrapperProps: _objectSpread(_objectSpread(_objectSpread({}, wrapperProps), rowHoverEvents), {}, {
|
54270
|
-
onPointerEnter: function onPointerEnter(e) {
|
54271
|
-
return rowHoverEvents.onPointerEnter(e, row, dragHandleProps);
|
54272
|
-
},
|
54273
|
-
style: _style,
|
54274
|
-
measureContentSize: measure
|
54275
|
-
})
|
54276
|
-
});
|
54277
|
-
}
|
54346
|
+
index: index
|
54278
54347
|
});
|
54279
54348
|
});
|
54280
54349
|
});
|
54281
54350
|
RowRenderer.displayName = 'RowRenderer';
|
54282
|
-
var rowRenderer = function rowRenderer(rows, cache, renderRow, rowHoverEvents) {
|
54351
|
+
var rowRenderer = function rowRenderer(rows, cache, renderRow, rowHoverEvents, draggableRows) {
|
54283
54352
|
var RendererWrapper = function RendererWrapper(_ref2) {
|
54284
54353
|
var key = _ref2.key,
|
54285
54354
|
index = _ref2.index,
|
@@ -54294,7 +54363,8 @@ var rowRenderer = function rowRenderer(rows, cache, renderRow, rowHoverEvents) {
|
|
54294
54363
|
parent: parent,
|
54295
54364
|
cache: cache,
|
54296
54365
|
renderRow: renderRow,
|
54297
|
-
rowHoverEvents: rowHoverEvents
|
54366
|
+
rowHoverEvents: rowHoverEvents,
|
54367
|
+
draggableRows: draggableRows
|
54298
54368
|
});
|
54299
54369
|
};
|
54300
54370
|
return RendererWrapper;
|
@@ -54320,7 +54390,7 @@ var listRefHandler = function listRefHandler(setListDOMRef, droppableProvided) {
|
|
54320
54390
|
var element = ref === null || ref === void 0 || (_ref$Grid = ref.Grid) === null || _ref$Grid === void 0 ? void 0 : _ref$Grid._scrollingContainer;
|
54321
54391
|
if (element instanceof window.HTMLElement) {
|
54322
54392
|
setListDOMRef(element === null || element === void 0 ? void 0 : element.firstChild);
|
54323
|
-
droppableProvided.innerRef(element);
|
54393
|
+
droppableProvided === null || droppableProvided === void 0 || droppableProvided.innerRef(element);
|
54324
54394
|
}
|
54325
54395
|
};
|
54326
54396
|
};
|
@@ -54328,7 +54398,8 @@ var VirtualizedBodyComp = function VirtualizedBodyComp(props) {
|
|
54328
54398
|
var rows = props.rows,
|
54329
54399
|
measurerCache = props.measurerCache,
|
54330
54400
|
renderRow = props.renderRow,
|
54331
|
-
droppableProps = props.droppableProps
|
54401
|
+
droppableProps = props.droppableProps,
|
54402
|
+
draggableRows = props.draggableRows;
|
54332
54403
|
var _useTableContext = (0,_context__WEBPACK_IMPORTED_MODULE_3__.useTableContext)(),
|
54333
54404
|
maxHeight = _useTableContext.scrollHeight;
|
54334
54405
|
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(),
|
@@ -54348,40 +54419,72 @@ var VirtualizedBodyComp = function VirtualizedBodyComp(props) {
|
|
54348
54419
|
return acc += measurerCache.current.getHeight(index, 0);
|
54349
54420
|
}, 0));
|
54350
54421
|
}, [listDOMRef, rows]);
|
54351
|
-
|
54352
|
-
|
54353
|
-
|
54354
|
-
|
54355
|
-
|
54356
|
-
|
54357
|
-
|
54358
|
-
|
54359
|
-
|
54360
|
-
|
54361
|
-
|
54362
|
-
|
54363
|
-
|
54364
|
-
|
54365
|
-
|
54366
|
-
|
54367
|
-
|
54368
|
-
|
54369
|
-
|
54370
|
-
|
54371
|
-
|
54372
|
-
|
54373
|
-
|
54374
|
-
|
54375
|
-
|
54422
|
+
if (draggableRows) {
|
54423
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_beautiful_dnd__WEBPACK_IMPORTED_MODULE_6__.Droppable, _extends({}, droppableProps, {
|
54424
|
+
mode: "virtual",
|
54425
|
+
renderClone: renderClone(rows, renderRow)
|
54426
|
+
}), function (provided) {
|
54427
|
+
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(VirtualizedBodyList, {
|
54428
|
+
rows: rows,
|
54429
|
+
measurerCache: measurerCache,
|
54430
|
+
renderRow: renderRow,
|
54431
|
+
rowHoverEvents: rowHoverEvents,
|
54432
|
+
style: {
|
54433
|
+
height: _height,
|
54434
|
+
maxHeight: maxHeight,
|
54435
|
+
width: '100%'
|
54436
|
+
},
|
54437
|
+
listRef: listRefHandler(setListDOMRef, provided),
|
54438
|
+
draggableRows: true
|
54439
|
+
}), renderHoverActions());
|
54440
|
+
});
|
54441
|
+
}
|
54442
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(VirtualizedBodyList, {
|
54443
|
+
rows: rows,
|
54444
|
+
measurerCache: measurerCache,
|
54445
|
+
renderRow: renderRow,
|
54446
|
+
rowHoverEvents: rowHoverEvents,
|
54447
|
+
style: {
|
54448
|
+
height: _height,
|
54449
|
+
maxHeight: maxHeight,
|
54450
|
+
width: '100%'
|
54451
|
+
},
|
54452
|
+
listRef: listRefHandler(setListDOMRef, undefined)
|
54376
54453
|
});
|
54377
54454
|
};
|
54378
54455
|
var VirtualizedBody = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().memo(VirtualizedBodyComp);
|
54379
54456
|
VirtualizedBody.displayName = 'VirtualizedBody';
|
54457
|
+
var VirtualizedBodyList = function VirtualizedBodyList(_ref3) {
|
54458
|
+
var rows = _ref3.rows,
|
54459
|
+
measurerCache = _ref3.measurerCache,
|
54460
|
+
renderRow = _ref3.renderRow,
|
54461
|
+
rowHoverEvents = _ref3.rowHoverEvents,
|
54462
|
+
style = _ref3.style,
|
54463
|
+
listRef = _ref3.listRef,
|
54464
|
+
draggableRows = _ref3.draggableRows;
|
54465
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
54466
|
+
style: style
|
54467
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.AutoSizer, null, function (_ref4) {
|
54468
|
+
var width = _ref4.width,
|
54469
|
+
height = _ref4.height;
|
54470
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(StyledList, {
|
54471
|
+
width: width,
|
54472
|
+
height: height,
|
54473
|
+
overscanRowCount: 5,
|
54474
|
+
estimatedRowSize: 30,
|
54475
|
+
rowHeight: measurerCache.current.rowHeight,
|
54476
|
+
rowCount: rows.length,
|
54477
|
+
deferredMeasurementCache: measurerCache.current,
|
54478
|
+
ref: listRef,
|
54479
|
+
rowRenderer: rowRenderer(rows, measurerCache, renderRow, rowHoverEvents, draggableRows)
|
54480
|
+
});
|
54481
|
+
}));
|
54482
|
+
};
|
54380
54483
|
var StyledList = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(react_virtualized__WEBPACK_IMPORTED_MODULE_1__.List).withConfig({
|
54381
54484
|
displayName: "StyledList",
|
54382
54485
|
componentId: "sc-1mdy9tq-0"
|
54383
|
-
})(["", ""], function (
|
54384
|
-
var scrollbars =
|
54486
|
+
})(["", ""], function (_ref5) {
|
54487
|
+
var scrollbars = _ref5.theme.scrollbars;
|
54385
54488
|
return scrollbars.thin;
|
54386
54489
|
});
|
54387
54490
|
|
@@ -54864,9 +54967,11 @@ var lineHeight = {
|
|
54864
54967
|
snug: '125%',
|
54865
54968
|
loose: '150%'
|
54866
54969
|
};
|
54867
|
-
var scrollbars = {
|
54868
|
-
|
54869
|
-
|
54970
|
+
var scrollbars = function scrollbars(theme) {
|
54971
|
+
return {
|
54972
|
+
thin: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:", " ", ";scrollbar-width:thin;&::-webkit-scrollbar{width:4px;height:4px;}&::-webkit-scrollbar-track{background-color:", ";}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:2px;}&::-webkit-scrollbar-corner{background-color:", ";}"], theme.color.bg, theme.color.scroll, theme.color.bg, theme.color.scroll, theme.color.bg),
|
54973
|
+
auto: (0,styled_components__WEBPACK_IMPORTED_MODULE_0__.css)(["scrollbar-color:", " ", ";scrollbar-width:auto;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-track{background-color:", ";}&::-webkit-scrollbar-thumb{background-color:", ";border-radius:4px;}&::-webkit-scrollbar-corner{background-color:", ";}"], theme.color.bg, theme.color.scroll, theme.color.bg, theme.color.scroll, theme.color.bg)
|
54974
|
+
};
|
54870
54975
|
};
|
54871
54976
|
var chartPalette = ['#AA99EC', '#3DB9CF', '#E58FB1', '#EBBC00', '#94BA2C', '#D09E72', '#0091FF', '#E5484D', '#12A594', '#FFB224'];
|
54872
54977
|
var color = {
|
@@ -55235,7 +55340,6 @@ var componentDark = _objectSpread(_objectSpread({}, componentLight), {}, {
|
|
55235
55340
|
__webpack_require__.r(__webpack_exports__);
|
55236
55341
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
55237
55342
|
/* harmony export */ ThemeProvider: () => (/* binding */ ThemeProvider),
|
55238
|
-
/* harmony export */ color: () => (/* reexport safe */ _constant__WEBPACK_IMPORTED_MODULE_3__.color),
|
55239
55343
|
/* harmony export */ darkTheme: () => (/* binding */ darkTheme),
|
55240
55344
|
/* harmony export */ lightTheme: () => (/* binding */ lightTheme),
|
55241
55345
|
/* harmony export */ useTheme: () => (/* reexport safe */ styled_components__WEBPACK_IMPORTED_MODULE_2__.useTheme)
|
@@ -55268,7 +55372,6 @@ var baseTheme = {
|
|
55268
55372
|
letter_spacing: _constant__WEBPACK_IMPORTED_MODULE_3__.letterSpacing,
|
55269
55373
|
spacing: _constant__WEBPACK_IMPORTED_MODULE_3__.spacing,
|
55270
55374
|
shadow: _constant__WEBPACK_IMPORTED_MODULE_3__.shadow,
|
55271
|
-
scrollbars: _constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars,
|
55272
55375
|
chart_palette: _constant__WEBPACK_IMPORTED_MODULE_3__.chartPalette,
|
55273
55376
|
// new line-height has none: normal
|
55274
55377
|
line_height: {
|
@@ -55286,11 +55389,13 @@ var baseTheme = {
|
|
55286
55389
|
var lightTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
55287
55390
|
color: _objectSpread(_objectSpread(_objectSpread({}, _constant__WEBPACK_IMPORTED_MODULE_3__.color), _constant__WEBPACK_IMPORTED_MODULE_3__.semanticLight), _constant__WEBPACK_IMPORTED_MODULE_3__.componentLight)
|
55288
55391
|
});
|
55392
|
+
lightTheme.scrollbars = (0,_constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars)(lightTheme);
|
55289
55393
|
// addVar('--uikit-', lightTheme.color);
|
55290
55394
|
|
55291
55395
|
var darkTheme = _objectSpread(_objectSpread({}, baseTheme), {}, {
|
55292
55396
|
color: _objectSpread(_objectSpread(_objectSpread({}, _constant__WEBPACK_IMPORTED_MODULE_3__.color), _constant__WEBPACK_IMPORTED_MODULE_3__.semanticDark), _constant__WEBPACK_IMPORTED_MODULE_3__.componentDark)
|
55293
55397
|
});
|
55398
|
+
darkTheme.scrollbars = (0,_constant__WEBPACK_IMPORTED_MODULE_3__.scrollbars)(darkTheme);
|
55294
55399
|
// addVar('--uikit-', darkTheme.color);
|
55295
55400
|
|
55296
55401
|
var PT_THEME = prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['light', 'dark']);
|
@@ -55409,10 +55514,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
55409
55514
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
55410
55515
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
|
55411
55516
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
|
55412
|
-
/* harmony import */ var
|
55413
|
-
/* harmony import */ var
|
55414
|
-
/* harmony import */ var
|
55415
|
-
/* harmony import */ var
|
55517
|
+
/* harmony import */ var rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/lib/pickAttrs */ "./node_modules/rc-util/lib/pickAttrs.js");
|
55518
|
+
/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util */ "./src/util/index.js");
|
55519
|
+
/* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../icon */ "./src/icon.js");
|
55520
|
+
/* harmony import */ var _icon_button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../icon_button */ "./src/icon_button.js");
|
55521
|
+
/* harmony import */ var _typography__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../typography */ "./src/typography/index.js");
|
55416
55522
|
// LICENSE_CODE ZON
|
55417
55523
|
|
55418
55524
|
|
@@ -55428,6 +55534,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
55428
55534
|
|
55429
55535
|
|
55430
55536
|
|
55537
|
+
|
55431
55538
|
var Toast = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function (_ref, ref) {
|
55432
55539
|
var type = _ref.type,
|
55433
55540
|
children = _ref.children,
|
@@ -55436,21 +55543,21 @@ var Toast = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef
|
|
55436
55543
|
className = _ref.className,
|
55437
55544
|
classNamePrefix = _ref.classNamePrefix,
|
55438
55545
|
rest = _objectWithoutProperties(_ref, _excluded);
|
55439
|
-
var _dismissible = (0,
|
55546
|
+
var _dismissible = (0,_util__WEBPACK_IMPORTED_MODULE_4__.firstDefined)(dismissible, type == 'error' || type == 'warning');
|
55440
55547
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Wrapper, _extends({
|
55441
55548
|
ref: ref,
|
55442
55549
|
$type: type
|
55443
|
-
}, (0,
|
55444
|
-
className: (0,
|
55550
|
+
}, (0,rc_util_lib_pickAttrs__WEBPACK_IMPORTED_MODULE_3__["default"])(rest), {
|
55551
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
55445
55552
|
wrapper: true
|
55446
55553
|
}, className)
|
55447
55554
|
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Content, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ToastIcon, {
|
55448
55555
|
type: type,
|
55449
55556
|
classNamePrefix: classNamePrefix
|
55450
|
-
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
55557
|
+
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_7__.Paragraph, {
|
55451
55558
|
variant: "sm",
|
55452
55559
|
color: "text",
|
55453
|
-
className: (0,
|
55560
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
55454
55561
|
body: true
|
55455
55562
|
})
|
55456
55563
|
}, children)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(RemoveButton, {
|
@@ -55496,10 +55603,10 @@ var ToastIcon = function ToastIcon(_ref3) {
|
|
55496
55603
|
warning: 'icon_warning',
|
55497
55604
|
info: 'icon_primary'
|
55498
55605
|
}[type] || 'icon';
|
55499
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(
|
55606
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_icon__WEBPACK_IMPORTED_MODULE_5__.Icon, {
|
55500
55607
|
name: name,
|
55501
55608
|
color: _color,
|
55502
|
-
className: (0,
|
55609
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
55503
55610
|
icon: true
|
55504
55611
|
}),
|
55505
55612
|
size: "xs"
|
@@ -55516,7 +55623,7 @@ var RemoveButton = function RemoveButton(_ref4) {
|
|
55516
55623
|
icon: "CloseSmall",
|
55517
55624
|
$type: type,
|
55518
55625
|
onClick: onClick,
|
55519
|
-
className: (0,
|
55626
|
+
className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.classNames)(classNamePrefix, {
|
55520
55627
|
dismissButton: true
|
55521
55628
|
})
|
55522
55629
|
});
|
@@ -55526,7 +55633,7 @@ RemoveButton.propTypes = {
|
|
55526
55633
|
onClick: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().func),
|
55527
55634
|
dismissible: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)
|
55528
55635
|
};
|
55529
|
-
var StyledRemoveButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(
|
55636
|
+
var StyledRemoveButton = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_icon_button__WEBPACK_IMPORTED_MODULE_6__.IconButton).withConfig({
|
55530
55637
|
displayName: "StyledRemoveButton",
|
55531
55638
|
componentId: "sc-tn2lqb-2"
|
55532
55639
|
})(["border-radius:", ";min-width:16px;width:16px;min-height:16px;height:16px;background-color:", ";"], function (_ref5) {
|