@kdcloudjs/kdesign 1.7.61 → 1.7.63

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.
@@ -271,12 +271,12 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
271
271
  var arrowIconCls = classNames((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-icon-arrow"), true), _defineProperty(_classNames, "".concat(prefixCls, "-icon-arrow-up"), visible), _defineProperty(_classNames, "".concat(prefixCls, "-icon-arrow-down"), !visible), _defineProperty(_classNames, "".concat(prefixCls, "-icon-arrow-focus"), visible), _classNames));
272
272
  var iconShow = allowClear && !disabled && currentOptions.length > 0;
273
273
  var clearIconCls = classNames(_defineProperty({}, "".concat(prefixCls, "-icon-clear"), true));
274
- return /*#__PURE__*/React.createElement(React.Fragment, null, iconShow && /*#__PURE__*/React.createElement("span", {
274
+ return /*#__PURE__*/React.createElement(React.Fragment, null, iconShow ? /*#__PURE__*/React.createElement("span", {
275
275
  onClick: handleClear,
276
276
  className: clearIconCls
277
277
  }, /*#__PURE__*/React.createElement(Icon, {
278
278
  type: "close-solid"
279
- }) || clearIcon), /*#__PURE__*/React.createElement("span", {
279
+ }) || clearIcon) : null, /*#__PURE__*/React.createElement("span", {
280
280
  className: arrowIconCls
281
281
  }, suffixIcon || /*#__PURE__*/React.createElement(Icon, {
282
282
  type: "arrow-down"
@@ -316,11 +316,11 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
316
316
  }), /*#__PURE__*/React.createElement("div", {
317
317
  className: "".concat(prefixCls, "-multiple-wrapper"),
318
318
  ref: wrapperRef
319
- }, Array.isArray(currentOptions) && /*#__PURE__*/React.createElement(React.Fragment, null, _mapInstanceProperty(currentOptions).call(currentOptions, function (option, index) {
319
+ }, Array.isArray(currentOptions) ? /*#__PURE__*/React.createElement(React.Fragment, null, _mapInstanceProperty(currentOptions).call(currentOptions, function (option, index) {
320
320
  return /*#__PURE__*/React.createElement("span", {
321
321
  key: _JSON$stringify(values[index]),
322
322
  className: classNames("".concat(prefixCls, "-selection-tag"))
323
- }, (!maxTagCount || index <= maxTagCount - 1) && /*#__PURE__*/React.createElement(Tag, {
323
+ }, !maxTagCount || index <= maxTagCount - 1 ? /*#__PURE__*/React.createElement(Tag, {
324
324
  type: "edit",
325
325
  disabled: disabled,
326
326
  style: TagStyle,
@@ -328,14 +328,14 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
328
328
  onClose: function onClose(e) {
329
329
  return handleRemove(e, option);
330
330
  }
331
- }, displayRender(labels[index], option)));
331
+ }, displayRender(labels[index], option)) : null);
332
332
  }), maxTagCount && currentOptions.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/React.createElement("span", {
333
333
  className: itemCls
334
334
  }, /*#__PURE__*/React.createElement("span", {
335
335
  className: "".concat(prefixCls, "-tag-describe-content")
336
- }, "\u5171", currentOptions.length, "\u9879")) : null), /*#__PURE__*/React.createElement("span", {
336
+ }, "\u5171", currentOptions.length, "\u9879")) : null) : null, /*#__PURE__*/React.createElement("span", {
337
337
  className: "".concat(prefixCls, "-placeholder")
338
- }, !currentOptions.length && placeholder)), /*#__PURE__*/React.createElement("span", {
338
+ }, !currentOptions.length ? placeholder : null)), /*#__PURE__*/React.createElement("span", {
339
339
  ref: suffixRef,
340
340
  className: "".concat(prefixCls, "-suffix")
341
341
  }, renderSuffix()));
@@ -371,11 +371,11 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
371
371
  ref: wrapperRef
372
372
  }, /*#__PURE__*/React.createElement(Input, _extends({}, inputProps)), /*#__PURE__*/React.createElement("span", {
373
373
  className: "".concat(prefixCls, "-picker-label")
374
- }, (labels === null || labels === void 0 ? void 0 : labels.length) ? displayRender(labels, currentOptions) : ''), allowClear && /*#__PURE__*/React.createElement(Icon, {
374
+ }, (labels === null || labels === void 0 ? void 0 : labels.length) ? displayRender(labels, currentOptions) : ''), allowClear ? /*#__PURE__*/React.createElement(Icon, {
375
375
  type: "close-solid",
376
376
  className: "".concat(prefixCls, "-picker-close"),
377
377
  onClick: handleClear
378
- }))));
378
+ }) : null)));
379
379
  };
380
380
  var cascaderLocator = isMultiple ? renderMultiple() : renderSingle();
381
381
  var onExpend = function onExpend(index, opt, opts) {
@@ -433,11 +433,11 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
433
433
  onPopperVisibleChange && onPopperVisibleChange(v);
434
434
  v && setSelectedOptions(_sliceInstanceProperty(currentOptions).call(currentOptions, 0));
435
435
  };
436
- var cascaderMenus = /*#__PURE__*/React.createElement(React.Fragment, null, (options === null || options === void 0 ? void 0 : options.length) ? (menus === null || menus === void 0 ? void 0 : menus.length) && _mapInstanceProperty(menus).call(menus, function (opts, index) {
436
+ var cascaderMenus = /*#__PURE__*/React.createElement(React.Fragment, null, (options === null || options === void 0 ? void 0 : options.length) ? (menus === null || menus === void 0 ? void 0 : menus.length) ? _mapInstanceProperty(menus).call(menus, function (opts, index) {
437
437
  return /*#__PURE__*/React.createElement("ul", {
438
438
  key: index,
439
439
  className: "".concat(prefixCls, "-menu")
440
- }, (opts === null || opts === void 0 ? void 0 : opts.length) && _mapInstanceProperty(opts).call(opts, function (opt) {
440
+ }, (opts === null || opts === void 0 ? void 0 : opts.length) ? _mapInstanceProperty(opts).call(opts, function (opt) {
441
441
  var isLeaf = opt.isLeaf,
442
442
  loading = opt.loading,
443
443
  value = opt[fieldNames.value],
@@ -461,9 +461,9 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
461
461
  }, label), loading ? /*#__PURE__*/React.createElement(Icon, {
462
462
  type: "loadding-circle",
463
463
  spin: true
464
- }) : ((children === null || children === void 0 ? void 0 : children.length) || isLeaf === false) && (props.expandIcon || /*#__PURE__*/React.createElement(Icon, {
464
+ }) : (children === null || children === void 0 ? void 0 : children.length) || isLeaf === false ? props.expandIcon || /*#__PURE__*/React.createElement(Icon, {
465
465
  type: "arrow-right"
466
- })));
466
+ }) : null);
467
467
  return /*#__PURE__*/React.createElement(CascaderMenuSubmenu, _extends({
468
468
  key: value
469
469
  }, {
@@ -480,8 +480,8 @@ var Cascader = /*#__PURE__*/React.forwardRef(function (props, ref) {
480
480
  },
481
481
  className: "".concat(prefixCls, "-checkbox")
482
482
  }), node) : node);
483
- }));
484
- }) : /*#__PURE__*/React.createElement(Empty, {
483
+ }) : null);
484
+ }) : null : /*#__PURE__*/React.createElement(Empty, {
485
485
  description: notFoundContent
486
486
  }));
487
487
  var cascaderPopper = dropdownRender(cascaderMenus);
@@ -330,8 +330,8 @@
330
330
  display: -ms-flexbox;
331
331
  display: flex;
332
332
  -webkit-box-flex: 0;
333
- -ms-flex: 0;
334
- flex: 0;
333
+ -ms-flex: 0 0 auto;
334
+ flex: 0 0 auto;
335
335
  -ms-flex-wrap: wrap;
336
336
  flex-wrap: wrap;
337
337
  -webkit-box-align: center;
@@ -227,7 +227,7 @@
227
227
  right: 0;
228
228
  position: absolute;
229
229
  display: flex;
230
- flex: 0;
230
+ flex: 0 0 auto;
231
231
  flex-wrap: wrap;
232
232
  align-items: center;
233
233
  justify-content: center;
@@ -464,10 +464,6 @@ var InternalSelect = function InternalSelect(props, ref) {
464
464
  var _a;
465
465
  return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();
466
466
  },
467
- onBlur: function onBlur() {
468
- var _a;
469
- return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
470
- },
471
467
  onKeyDown: onInternalKeyDown
472
468
  }, renderSingle()));
473
469
  };
@@ -215,7 +215,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
215
215
  // 输入框变化搜索内容
216
216
  var handleSearchChange = useCallback(function (event) {
217
217
  var val = event.currentTarget.value;
218
- setOptionShow(true);
218
+ handleVisibleChange(true);
219
219
  setSearchValue(val);
220
220
  onSearch === null || onSearch === void 0 ? void 0 : onSearch(val);
221
221
  }, [onSearch]);
@@ -263,7 +263,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
263
263
  onSelect === null || onSelect === void 0 ? void 0 : onSelect(keys, state);
264
264
  !isMultiple && (onChange === null || onChange === void 0 ? void 0 : onChange(keys[0], [TreeMap.get(keys[0])]));
265
265
  if (!isMultiple) {
266
- setOptionShow(false);
266
+ handleVisibleChange(false);
267
267
  }
268
268
  };
269
269
  var handleCheck = function handleCheck(keys, state) {
@@ -357,6 +357,9 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
357
357
  useEffect(function () {
358
358
  setSelectedKeys(initValue);
359
359
  }, [initValue]);
360
+ useEffect(function () {
361
+ setOptionShow(props.visible);
362
+ }, [props.visible]);
360
363
  // 渲染下拉列表框
361
364
  var renderContent = function renderContent() {
362
365
  var dropDownStyle = _extends({
@@ -394,7 +397,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
394
397
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
395
398
  className: singleCls,
396
399
  ref: selectionRef,
397
- title: label
400
+ title: typeof label === 'string' ? label : ''
398
401
  }, /*#__PURE__*/React.createElement("span", {
399
402
  className: "".concat(selectPrefixCls, "-selection-search")
400
403
  }, /*#__PURE__*/React.createElement("input", {
@@ -449,7 +452,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
449
452
  return handleRemove(e, key);
450
453
  },
451
454
  "data-tag": key,
452
- title: label
455
+ title: typeof label === 'string' ? label : ''
453
456
  }, label));
454
457
  }), maxTagCount && selectTreeNodes.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/React.createElement("span", {
455
458
  className: itemCls
@@ -513,9 +516,10 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
513
516
  onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(visible);
514
517
  }
515
518
  };
516
- var popperProps = _extends(_extends({}, treeSelectProps), {
519
+ var popperProps = _extends(_extends({
520
+ placement: 'bottomLeft'
521
+ }, treeSelectProps), {
517
522
  prefixCls: "".concat(selectPrefixCls, "-panel"),
518
- placement: 'bottomLeft',
519
523
  popperStyle: catchStyle(),
520
524
  defaultVisible: optionShow,
521
525
  visible: optionShow,
@@ -284,12 +284,12 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
284
284
  var arrowIconCls = (0, _classnames.default)((_classNames = {}, (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-icon-arrow"), true), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-icon-arrow-up"), visible), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-icon-arrow-down"), !visible), (0, _defineProperty2.default)(_classNames, "".concat(prefixCls, "-icon-arrow-focus"), visible), _classNames));
285
285
  var iconShow = allowClear && !disabled && currentOptions.length > 0;
286
286
  var clearIconCls = (0, _classnames.default)((0, _defineProperty2.default)({}, "".concat(prefixCls, "-icon-clear"), true));
287
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, iconShow && /*#__PURE__*/_react.default.createElement("span", {
287
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, iconShow ? /*#__PURE__*/_react.default.createElement("span", {
288
288
  onClick: handleClear,
289
289
  className: clearIconCls
290
290
  }, /*#__PURE__*/_react.default.createElement(_icon.default, {
291
291
  type: "close-solid"
292
- }) || clearIcon), /*#__PURE__*/_react.default.createElement("span", {
292
+ }) || clearIcon) : null, /*#__PURE__*/_react.default.createElement("span", {
293
293
  className: arrowIconCls
294
294
  }, suffixIcon || /*#__PURE__*/_react.default.createElement(_icon.default, {
295
295
  type: "arrow-down"
@@ -329,11 +329,11 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
329
329
  }), /*#__PURE__*/_react.default.createElement("div", {
330
330
  className: "".concat(prefixCls, "-multiple-wrapper"),
331
331
  ref: wrapperRef
332
- }, Array.isArray(currentOptions) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (0, _map.default)(currentOptions).call(currentOptions, function (option, index) {
332
+ }, Array.isArray(currentOptions) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (0, _map.default)(currentOptions).call(currentOptions, function (option, index) {
333
333
  return /*#__PURE__*/_react.default.createElement("span", {
334
334
  key: (0, _stringify.default)(values[index]),
335
335
  className: (0, _classnames.default)("".concat(prefixCls, "-selection-tag"))
336
- }, (!maxTagCount || index <= maxTagCount - 1) && /*#__PURE__*/_react.default.createElement(_tag.default, {
336
+ }, !maxTagCount || index <= maxTagCount - 1 ? /*#__PURE__*/_react.default.createElement(_tag.default, {
337
337
  type: "edit",
338
338
  disabled: disabled,
339
339
  style: TagStyle,
@@ -341,14 +341,14 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
341
341
  onClose: function onClose(e) {
342
342
  return handleRemove(e, option);
343
343
  }
344
- }, displayRender(labels[index], option)));
344
+ }, displayRender(labels[index], option)) : null);
345
345
  }), maxTagCount && currentOptions.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/_react.default.createElement("span", {
346
346
  className: itemCls
347
347
  }, /*#__PURE__*/_react.default.createElement("span", {
348
348
  className: "".concat(prefixCls, "-tag-describe-content")
349
- }, "\u5171", currentOptions.length, "\u9879")) : null), /*#__PURE__*/_react.default.createElement("span", {
349
+ }, "\u5171", currentOptions.length, "\u9879")) : null) : null, /*#__PURE__*/_react.default.createElement("span", {
350
350
  className: "".concat(prefixCls, "-placeholder")
351
- }, !currentOptions.length && placeholder)), /*#__PURE__*/_react.default.createElement("span", {
351
+ }, !currentOptions.length ? placeholder : null)), /*#__PURE__*/_react.default.createElement("span", {
352
352
  ref: suffixRef,
353
353
  className: "".concat(prefixCls, "-suffix")
354
354
  }, renderSuffix()));
@@ -384,11 +384,11 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
384
384
  ref: wrapperRef
385
385
  }, /*#__PURE__*/_react.default.createElement(_input.default, (0, _extends2.default)({}, inputProps)), /*#__PURE__*/_react.default.createElement("span", {
386
386
  className: "".concat(prefixCls, "-picker-label")
387
- }, (labels === null || labels === void 0 ? void 0 : labels.length) ? displayRender(labels, currentOptions) : ''), allowClear && /*#__PURE__*/_react.default.createElement(_icon.default, {
387
+ }, (labels === null || labels === void 0 ? void 0 : labels.length) ? displayRender(labels, currentOptions) : ''), allowClear ? /*#__PURE__*/_react.default.createElement(_icon.default, {
388
388
  type: "close-solid",
389
389
  className: "".concat(prefixCls, "-picker-close"),
390
390
  onClick: handleClear
391
- }))));
391
+ }) : null)));
392
392
  };
393
393
  var cascaderLocator = isMultiple ? renderMultiple() : renderSingle();
394
394
  var onExpend = function onExpend(index, opt, opts) {
@@ -446,11 +446,11 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
446
446
  onPopperVisibleChange && onPopperVisibleChange(v);
447
447
  v && setSelectedOptions((0, _slice.default)(currentOptions).call(currentOptions, 0));
448
448
  };
449
- var cascaderMenus = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (options === null || options === void 0 ? void 0 : options.length) ? (menus === null || menus === void 0 ? void 0 : menus.length) && (0, _map.default)(menus).call(menus, function (opts, index) {
449
+ var cascaderMenus = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (options === null || options === void 0 ? void 0 : options.length) ? (menus === null || menus === void 0 ? void 0 : menus.length) ? (0, _map.default)(menus).call(menus, function (opts, index) {
450
450
  return /*#__PURE__*/_react.default.createElement("ul", {
451
451
  key: index,
452
452
  className: "".concat(prefixCls, "-menu")
453
- }, (opts === null || opts === void 0 ? void 0 : opts.length) && (0, _map.default)(opts).call(opts, function (opt) {
453
+ }, (opts === null || opts === void 0 ? void 0 : opts.length) ? (0, _map.default)(opts).call(opts, function (opt) {
454
454
  var isLeaf = opt.isLeaf,
455
455
  loading = opt.loading,
456
456
  value = opt[fieldNames.value],
@@ -474,9 +474,9 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
474
474
  }, label), loading ? /*#__PURE__*/_react.default.createElement(_icon.default, {
475
475
  type: "loadding-circle",
476
476
  spin: true
477
- }) : ((children === null || children === void 0 ? void 0 : children.length) || isLeaf === false) && (props.expandIcon || /*#__PURE__*/_react.default.createElement(_icon.default, {
477
+ }) : (children === null || children === void 0 ? void 0 : children.length) || isLeaf === false ? props.expandIcon || /*#__PURE__*/_react.default.createElement(_icon.default, {
478
478
  type: "arrow-right"
479
- })));
479
+ }) : null);
480
480
  return /*#__PURE__*/_react.default.createElement(CascaderMenuSubmenu, (0, _extends2.default)({
481
481
  key: value
482
482
  }, {
@@ -493,8 +493,8 @@ var Cascader = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
493
493
  },
494
494
  className: "".concat(prefixCls, "-checkbox")
495
495
  }), node) : node);
496
- }));
497
- }) : /*#__PURE__*/_react.default.createElement(_empty.default, {
496
+ }) : null);
497
+ }) : null : /*#__PURE__*/_react.default.createElement(_empty.default, {
498
498
  description: notFoundContent
499
499
  }));
500
500
  var cascaderPopper = dropdownRender(cascaderMenus);
@@ -330,8 +330,8 @@
330
330
  display: -ms-flexbox;
331
331
  display: flex;
332
332
  -webkit-box-flex: 0;
333
- -ms-flex: 0;
334
- flex: 0;
333
+ -ms-flex: 0 0 auto;
334
+ flex: 0 0 auto;
335
335
  -ms-flex-wrap: wrap;
336
336
  flex-wrap: wrap;
337
337
  -webkit-box-align: center;
@@ -227,7 +227,7 @@
227
227
  right: 0;
228
228
  position: absolute;
229
229
  display: flex;
230
- flex: 0;
230
+ flex: 0 0 auto;
231
231
  flex-wrap: wrap;
232
232
  align-items: center;
233
233
  justify-content: center;
@@ -476,10 +476,6 @@ var InternalSelect = function InternalSelect(props, ref) {
476
476
  var _a;
477
477
  return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.focus();
478
478
  },
479
- onBlur: function onBlur() {
480
- var _a;
481
- return (_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
482
- },
483
479
  onKeyDown: onInternalKeyDown
484
480
  }, renderSingle()));
485
481
  };
@@ -227,7 +227,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
227
227
  // 输入框变化搜索内容
228
228
  var handleSearchChange = (0, _react.useCallback)(function (event) {
229
229
  var val = event.currentTarget.value;
230
- setOptionShow(true);
230
+ handleVisibleChange(true);
231
231
  setSearchValue(val);
232
232
  onSearch === null || onSearch === void 0 ? void 0 : onSearch(val);
233
233
  }, [onSearch]);
@@ -275,7 +275,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
275
275
  onSelect === null || onSelect === void 0 ? void 0 : onSelect(keys, state);
276
276
  !isMultiple && (onChange === null || onChange === void 0 ? void 0 : onChange(keys[0], [TreeMap.get(keys[0])]));
277
277
  if (!isMultiple) {
278
- setOptionShow(false);
278
+ handleVisibleChange(false);
279
279
  }
280
280
  };
281
281
  var handleCheck = function handleCheck(keys, state) {
@@ -369,6 +369,9 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
369
369
  (0, _react.useEffect)(function () {
370
370
  setSelectedKeys(initValue);
371
371
  }, [initValue]);
372
+ (0, _react.useEffect)(function () {
373
+ setOptionShow(props.visible);
374
+ }, [props.visible]);
372
375
  // 渲染下拉列表框
373
376
  var renderContent = function renderContent() {
374
377
  var dropDownStyle = (0, _extends2.default)({
@@ -406,7 +409,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
406
409
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
407
410
  className: singleCls,
408
411
  ref: selectionRef,
409
- title: label
412
+ title: typeof label === 'string' ? label : ''
410
413
  }, /*#__PURE__*/_react.default.createElement("span", {
411
414
  className: "".concat(selectPrefixCls, "-selection-search")
412
415
  }, /*#__PURE__*/_react.default.createElement("input", {
@@ -461,7 +464,7 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
461
464
  return handleRemove(e, key);
462
465
  },
463
466
  "data-tag": key,
464
- title: label
467
+ title: typeof label === 'string' ? label : ''
465
468
  }, label));
466
469
  }), maxTagCount && selectTreeNodes.length > maxTagCount ? maxTagPlaceholder ? handleMaxTagHolder() : /*#__PURE__*/_react.default.createElement("span", {
467
470
  className: itemCls
@@ -525,9 +528,10 @@ var InternalTreeSelect = function InternalTreeSelect(props, ref) {
525
528
  onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(visible);
526
529
  }
527
530
  };
528
- var popperProps = (0, _extends2.default)((0, _extends2.default)({}, treeSelectProps), {
531
+ var popperProps = (0, _extends2.default)((0, _extends2.default)({
532
+ placement: 'bottomLeft'
533
+ }, treeSelectProps), {
529
534
  prefixCls: "".concat(selectPrefixCls, "-panel"),
530
- placement: 'bottomLeft',
531
535
  popperStyle: catchStyle(),
532
536
  defaultVisible: optionShow,
533
537
  visible: optionShow,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.7.61",
3
+ "version": "1.7.63",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [