@kdcloudjs/kdesign 1.8.61 → 1.8.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.8.61
3
+ * @kdcloudjs/kdesign v1.8.62
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -39037,7 +39037,7 @@ var Tabs = function Tabs(props) {
39037
39037
  };
39038
39038
  var renderLeftArrow = function renderLeftArrow() {
39039
39039
  var _classNames3;
39040
- if (!showScrollArrow || position === 'left' || ListWidth < boxWidth || !ListWidth || !boxWidth) return null;
39040
+ if (!showScrollArrow || position === 'left' || ListWidth <= boxWidth || !ListWidth || !boxWidth) return null;
39041
39041
  var leftClasses = classnames__WEBPACK_IMPORTED_MODULE_10___default()("".concat(tabsPrefixCls, "-left-arrows"), (_classNames3 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames3, "".concat(tabsPrefixCls, "-left-arrows-").concat(type), type), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames3, "".concat(tabsPrefixCls, "-left-arrows-noshadow"), ListPostion === 0), _classNames3));
39042
39042
  var handleLeft = function handleLeft() {
39043
39043
  if (!ListPostion) return;
@@ -39054,7 +39054,7 @@ var Tabs = function Tabs(props) {
39054
39054
  };
39055
39055
  var renderRightArrows = function renderRightArrows(nodes) {
39056
39056
  var _classNames4;
39057
- if (ListWidth < boxWidth || !ListWidth || !boxWidth || ['left', 'right'].includes(position)) return null;
39057
+ if (ListWidth <= boxWidth || !ListWidth || !boxWidth || ['left', 'right'].includes(position)) return null;
39058
39058
  var rightClasses = classnames__WEBPACK_IMPORTED_MODULE_10___default()("".concat(tabsPrefixCls, "-right-arrows"), (_classNames4 = {}, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames4, "".concat(tabsPrefixCls, "-right-arrows-").concat(type), type), _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames4, "".concat(tabsPrefixCls, "-right-arrows-noshadow"), ListWidth + ListPostion === boxWidth), _classNames4));
39059
39059
  var menu = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default.a.createElement(_dropdown__WEBPACK_IMPORTED_MODULE_20__["default"].Menu, {
39060
39060
  className: classnames__WEBPACK_IMPORTED_MODULE_10___default()(tabsDropdownClassName, _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, "".concat(tabsPrefixCls, "-right-arrows-menu"), needPanelOpration))