@kdcloudjs/kdesign 1.8.53-stable.11 → 1.8.53-stable.12

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.53-stable.11
3
+ * @kdcloudjs/kdesign v1.8.53-stable.12
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -8635,6 +8635,7 @@ var InternalSelect = function InternalSelect(props, ref) {
8635
8635
  city.type = tabsValue === 'domestic' ? 'domestic' : 'foreign';
8636
8636
  }
8637
8637
  (city === null || city === void 0 ? void 0 : city.id) !== initValue && (onChange === null || onChange === void 0 ? void 0 : onChange(city === null || city === void 0 ? void 0 : city.id, city));
8638
+ handleClear();
8638
8639
  if (isMobile) {
8639
8640
  var _searchRef$current;
8640
8641
  (_searchRef$current = searchRef.current) === null || _searchRef$current === void 0 ? void 0 : _searchRef$current.blur();
@@ -29522,7 +29523,9 @@ var Popper = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_18__["forwardRef
29522
29523
  };
29523
29524
  var onClick = lodash_debounce__WEBPACK_IMPORTED_MODULE_23___default()(function (e) {
29524
29525
  var targetEl = e.target;
29525
- if (targetEl !== null && targetEl !== void 0 && targetEl.closest('[data-popper-ignore]')) return; // 忽略
29526
+ if (!targetEl) return;
29527
+ var ignoreEl = closestPolyfill(targetEl, '[data-popper-ignore]');
29528
+ if (ignoreEl) return;
29526
29529
  if (!visibleInner) {
29527
29530
  onTriggerInner(true, 'click');
29528
29531
  } else if (clickToClose) {
@@ -37667,7 +37670,7 @@ function getApi(pipelineRef) {
37667
37670
  var colBeforeViewport = vScrollLeft > colLeftPixel; // 滚动距离大于目标列前面列宽总和,说明目标列在视口之前
37668
37671
  var colPastViewport = vScrollRight < colRightPixel; // 目标列是视口之后
37669
37672
 
37670
- var colToSmallForViewport = viewportWidth < column.width;
37673
+ var colToSmallForViewport = viewportWidth - lockColumnLeft - lockColumnRight < column.width;
37671
37674
  var alignColToLeft = colBeforeViewport || colToSmallForViewport;
37672
37675
  var alignColToRight = colPastViewport;
37673
37676
  if (alignColToLeft || alignColToRight) {
@@ -38397,9 +38400,9 @@ var Table = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"]
38397
38400
  /* -------------------------------------------------------------------------- */
38398
38401
  /* features */
38399
38402
  /* -------------------------------------------------------------------------- */
38403
+ Object(_feature_rowSelection__WEBPACK_IMPORTED_MODULE_11__["default"])(pipeline, rowSelection);
38400
38404
  Object(_feature_filter__WEBPACK_IMPORTED_MODULE_13__["default"])(pipeline, filter);
38401
38405
  Object(_feature_sort__WEBPACK_IMPORTED_MODULE_14__["default"])(pipeline, sort);
38402
- Object(_feature_rowSelection__WEBPACK_IMPORTED_MODULE_11__["default"])(pipeline, rowSelection);
38403
38406
  Object(_feature_rowDetail__WEBPACK_IMPORTED_MODULE_12__["default"])(pipeline, rowDetail);
38404
38407
  Object(_feature_autoRowSpan__WEBPACK_IMPORTED_MODULE_15__["default"])(pipeline, autoRowSpan);
38405
38408
  Object(_feature_treeMode__WEBPACK_IMPORTED_MODULE_17__["default"])(pipeline, treeMode);