yach.open.ui 0.0.10 → 0.0.11-beta.0

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.
Files changed (71) hide show
  1. package/dist/yach.open.ui-with-locales.js +2043 -266
  2. package/dist/yach.open.ui-with-locales.js.map +1 -1
  3. package/dist/yach.open.ui-with-locales.min.js +4 -4
  4. package/dist/yach.open.ui-with-locales.min.js.map +1 -1
  5. package/dist/yach.open.ui.js +2043 -266
  6. package/dist/yach.open.ui.js.map +1 -1
  7. package/dist/yach.open.ui.min.js +4 -4
  8. package/dist/yach.open.ui.min.js.map +1 -1
  9. package/es/components/complex-picker/CommonList.js +3 -3
  10. package/es/components/complex-picker/CommonListItem.js +3 -1
  11. package/es/components/complex-picker/ExternalContact.d.ts +14 -0
  12. package/es/components/complex-picker/ExternalContact.js +150 -0
  13. package/es/components/complex-picker/GroupList.js +3 -1
  14. package/es/components/complex-picker/Home.d.ts +2 -0
  15. package/es/components/complex-picker/Home.js +13 -2
  16. package/es/components/complex-picker/MyPartner.d.ts +1 -1
  17. package/es/components/complex-picker/Organization.js +1 -1
  18. package/es/components/complex-picker/PartnerMember.d.ts +2 -1
  19. package/es/components/complex-picker/PartnerMember.js +7 -4
  20. package/es/components/complex-picker/Select.js +10 -2
  21. package/es/components/complex-picker/assets/imgs/external-contact.png +0 -0
  22. package/es/components/complex-picker/index.d.ts +5 -1
  23. package/es/components/complex-picker/index.js +19 -4
  24. package/es/components/complex-picker/locale/en-US.d.ts +1 -0
  25. package/es/components/complex-picker/locale/en-US.js +2 -1
  26. package/es/components/complex-picker/locale/zh-CN.d.ts +1 -0
  27. package/es/components/complex-picker/locale/zh-CN.js +2 -1
  28. package/es/components/complex-picker/picker/GroupPicker.d.ts +3 -0
  29. package/es/components/complex-picker/picker/GroupPicker.js +8 -4
  30. package/es/components/complex-picker/picker/SessionPicker.d.ts +4 -1
  31. package/es/components/complex-picker/picker/SessionPicker.js +8 -4
  32. package/es/components/complex-picker/picker/UserPicker.d.ts +4 -1
  33. package/es/components/complex-picker/picker/UserPicker.js +9 -4
  34. package/es/components/complex-picker/style/CommonList.less +13 -0
  35. package/es/components/complex-picker/style/GroupList.less +13 -0
  36. package/es/components/complex-picker/style/Select.less +86 -67
  37. package/es/components/complex-picker/style/externalContact.less +9 -0
  38. package/es/components/complex-picker/style/index.css +57 -3
  39. package/es/components/complex-picker/style/index.less +1 -1
  40. package/lib/components/complex-picker/CommonList.js +3 -3
  41. package/lib/components/complex-picker/CommonListItem.js +3 -1
  42. package/lib/components/complex-picker/ExternalContact.d.ts +14 -0
  43. package/lib/components/complex-picker/ExternalContact.js +172 -0
  44. package/lib/components/complex-picker/GroupList.js +3 -1
  45. package/lib/components/complex-picker/Home.d.ts +2 -0
  46. package/lib/components/complex-picker/Home.js +13 -2
  47. package/lib/components/complex-picker/MyPartner.d.ts +1 -1
  48. package/lib/components/complex-picker/Organization.js +1 -1
  49. package/lib/components/complex-picker/PartnerMember.d.ts +2 -1
  50. package/lib/components/complex-picker/PartnerMember.js +7 -4
  51. package/lib/components/complex-picker/Select.js +10 -2
  52. package/lib/components/complex-picker/assets/imgs/external-contact.png +0 -0
  53. package/lib/components/complex-picker/index.d.ts +5 -1
  54. package/lib/components/complex-picker/index.js +19 -3
  55. package/lib/components/complex-picker/locale/en-US.d.ts +1 -0
  56. package/lib/components/complex-picker/locale/en-US.js +2 -1
  57. package/lib/components/complex-picker/locale/zh-CN.d.ts +1 -0
  58. package/lib/components/complex-picker/locale/zh-CN.js +2 -1
  59. package/lib/components/complex-picker/picker/GroupPicker.d.ts +3 -0
  60. package/lib/components/complex-picker/picker/GroupPicker.js +8 -4
  61. package/lib/components/complex-picker/picker/SessionPicker.d.ts +4 -1
  62. package/lib/components/complex-picker/picker/SessionPicker.js +8 -4
  63. package/lib/components/complex-picker/picker/UserPicker.d.ts +4 -1
  64. package/lib/components/complex-picker/picker/UserPicker.js +9 -4
  65. package/lib/components/complex-picker/style/CommonList.less +13 -0
  66. package/lib/components/complex-picker/style/GroupList.less +13 -0
  67. package/lib/components/complex-picker/style/Select.less +86 -67
  68. package/lib/components/complex-picker/style/externalContact.less +9 -0
  69. package/lib/components/complex-picker/style/index.css +57 -3
  70. package/lib/components/complex-picker/style/index.less +1 -1
  71. package/package.json +18 -17
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * yach.open.ui v0.0.10
3
+ * yach.open.ui v0.0.11-beta.0
4
4
  *
5
5
  * Copyright 2020-present, Tal, Inc.
6
6
  * All rights reserved.
@@ -32311,7 +32311,6 @@ RedditSquareFilled.displayName = 'RedditSquareFilled';
32311
32311
  !*** ./node_modules/@ant-design/icons/es/icons/RedoOutlined.js ***!
32312
32312
  \*****************************************************************/
32313
32313
  /*! exports provided: default */
32314
- /*! exports used: default */
32315
32314
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
32316
32315
 
32317
32316
  "use strict";
@@ -32335,7 +32334,7 @@ var RedoOutlined = function RedoOutlined(props, ref) {
32335
32334
  };
32336
32335
 
32337
32336
  RedoOutlined.displayName = 'RedoOutlined';
32338
- /* harmony default export */ __webpack_exports__["a"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["forwardRef"](RedoOutlined));
32337
+ /* unused harmony default export */ var _unused_webpack_default_export = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["forwardRef"](RedoOutlined));
32339
32338
 
32340
32339
  /***/ }),
32341
32340
 
@@ -50583,7 +50582,8 @@ var InternalButton = function InternalButton(props, ref) {
50583
50582
  var _props$loading = props.loading,
50584
50583
  loading = _props$loading === void 0 ? false : _props$loading,
50585
50584
  customizePrefixCls = props.prefixCls,
50586
- type = props.type,
50585
+ _props$type = props.type,
50586
+ type = _props$type === void 0 ? 'default' : _props$type,
50587
50587
  danger = props.danger,
50588
50588
  _props$shape = props.shape,
50589
50589
  shape = _props$shape === void 0 ? 'default' : _props$shape,
@@ -50617,7 +50617,6 @@ var InternalButton = function InternalButton(props, ref) {
50617
50617
  direction = _React$useContext.direction;
50618
50618
 
50619
50619
  var buttonRef = ref || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createRef"]();
50620
- var delayTimeoutRef = react__WEBPACK_IMPORTED_MODULE_4__["useRef"]();
50621
50620
 
50622
50621
  var isNeedInserted = function isNeedInserted() {
50623
50622
  return react__WEBPACK_IMPORTED_MODULE_4__["Children"].count(children) === 1 && !icon && !isUnborderedButtonType(type);
@@ -50643,15 +50642,25 @@ var InternalButton = function InternalButton(props, ref) {
50643
50642
 
50644
50643
  var loadingOrDelay = Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(loading) === 'object' && loading.delay ? loading.delay || true : !!loading;
50645
50644
  react__WEBPACK_IMPORTED_MODULE_4__["useEffect"](function () {
50646
- clearTimeout(delayTimeoutRef.current);
50645
+ var delayTimer = null;
50647
50646
 
50648
50647
  if (typeof loadingOrDelay === 'number') {
50649
- delayTimeoutRef.current = window.setTimeout(function () {
50648
+ delayTimer = window.setTimeout(function () {
50649
+ delayTimer = null;
50650
50650
  setLoading(loadingOrDelay);
50651
50651
  }, loadingOrDelay);
50652
50652
  } else {
50653
50653
  setLoading(loadingOrDelay);
50654
50654
  }
50655
+
50656
+ return function () {
50657
+ if (delayTimer) {
50658
+ // in order to not perform a React state update on an unmounted component
50659
+ // and clear timer after 'loadingOrDelay' updated.
50660
+ window.clearTimeout(delayTimer);
50661
+ delayTimer = null;
50662
+ }
50663
+ };
50655
50664
  }, [loadingOrDelay]);
50656
50665
  react__WEBPACK_IMPORTED_MODULE_4__["useEffect"](fixTwoCNChar, [buttonRef]);
50657
50666
 
@@ -50681,7 +50690,7 @@ var InternalButton = function InternalButton(props, ref) {
50681
50690
  var sizeFullname = customizeSize || size;
50682
50691
  var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
50683
50692
  var iconType = innerLoading ? 'loading' : icon;
50684
- var classes = classnames__WEBPACK_IMPORTED_MODULE_5___default()(prefixCls, (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(type), type), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnborderedButtonType(type)), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-loading"), innerLoading), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-block"), block), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
50693
+ var classes = classnames__WEBPACK_IMPORTED_MODULE_5___default()(prefixCls, (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(type), type), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnborderedButtonType(type)), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-loading"), innerLoading), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-block"), block), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
50685
50694
  var iconNode = icon && !innerLoading ? icon : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_LoadingIcon__WEBPACK_IMPORTED_MODULE_13__[/* default */ "a"], {
50686
50695
  existIcon: !!icon,
50687
50696
  prefixCls: prefixCls,
@@ -51364,7 +51373,7 @@ function getAction(actions) {
51364
51373
  return actionList;
51365
51374
  }
51366
51375
 
51367
- var Card = function Card(props) {
51376
+ var Card = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["forwardRef"](function (props, ref) {
51368
51377
  var _extends2, _classNames;
51369
51378
 
51370
51379
  var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__["useContext"](_config_provider__WEBPACK_IMPORTED_MODULE_10__[/* ConfigContext */ "b"]),
@@ -51499,11 +51508,12 @@ var Card = function Card(props) {
51499
51508
  var divProps = Object(rc_util_es_omit__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(others, ['onTabChange']);
51500
51509
  var mergedSize = customizeSize || size;
51501
51510
  var classString = classnames__WEBPACK_IMPORTED_MODULE_3___default()(prefixCls, (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-loading"), loading), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-bordered"), bordered), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-hoverable"), hoverable), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-contain-grid"), isContainGrid()), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-contain-tabs"), tabList && tabList.length), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(mergedSize), mergedSize), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-type-").concat(type), !!type), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
51502
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, divProps, {
51511
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({
51512
+ ref: ref
51513
+ }, divProps, {
51503
51514
  className: classString
51504
51515
  }), head, coverDom, body, actionDom);
51505
- };
51506
-
51516
+ });
51507
51517
  Card.Grid = _Grid__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"];
51508
51518
  Card.Meta = _Meta__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"];
51509
51519
  /* unused harmony default export */ var _unused_webpack_default_export = (Card);
@@ -51633,7 +51643,7 @@ var Carousel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["forwardRef"](fun
51633
51643
  /* harmony import */ var rc_cascader__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-cascader */ "./node_modules/rc-cascader/es/index.js");
51634
51644
  /* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rc-util/es/omit */ "./node_modules/rc-util/es/omit.js");
51635
51645
  /* harmony import */ var _ant_design_icons_es_icons_RightOutlined__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ant-design/icons/es/icons/RightOutlined */ "./node_modules/@ant-design/icons/es/icons/RightOutlined.js");
51636
- /* harmony import */ var _ant_design_icons_es_icons_RedoOutlined__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ant-design/icons/es/icons/RedoOutlined */ "./node_modules/@ant-design/icons/es/icons/RedoOutlined.js");
51646
+ /* harmony import */ var _ant_design_icons_es_icons_LoadingOutlined__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ant-design/icons/es/icons/LoadingOutlined */ "./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js");
51637
51647
  /* harmony import */ var _ant_design_icons_es_icons_LeftOutlined__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ant-design/icons/es/icons/LeftOutlined */ "./node_modules/@ant-design/icons/es/icons/LeftOutlined.js");
51638
51648
  /* harmony import */ var _util_devWarning__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_util/devWarning */ "./node_modules/antd/es/_util/devWarning.js");
51639
51649
  /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider */ "./node_modules/antd/es/config-provider/index.js");
@@ -51794,7 +51804,7 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
51794
51804
 
51795
51805
  var loadingIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("span", {
51796
51806
  className: "".concat(prefixCls, "-menu-item-loading-icon")
51797
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_ant_design_icons_es_icons_RedoOutlined__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
51807
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_ant_design_icons_es_icons_LoadingOutlined__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
51798
51808
  spin: true
51799
51809
  })); // =================== Multiple ====================
51800
51810
 
@@ -51915,6 +51925,7 @@ var InternalCheckbox = function InternalCheckbox(_a, ref) {
51915
51925
  if (restProps.value !== prevValue.current) {
51916
51926
  checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current);
51917
51927
  checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
51928
+ prevValue.current = restProps.value;
51918
51929
  }
51919
51930
 
51920
51931
  return function () {
@@ -56539,15 +56550,21 @@ var Row = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](function
56539
56550
  } else if (verticalGutter) {
56540
56551
  rowStyle.marginTop = verticalGutter;
56541
56552
  rowStyle.marginBottom = verticalGutter;
56542
- }
56553
+ } // "gutters" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.
56554
+ // So we deconstruct "gutters" variable here.
56555
+
56556
+
56557
+ var _gutters2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(gutters, 2),
56558
+ gutterH = _gutters2[0],
56559
+ gutterV = _gutters2[1];
56543
56560
 
56544
56561
  var rowContext = react__WEBPACK_IMPORTED_MODULE_4__["useMemo"](function () {
56545
56562
  return {
56546
- gutter: gutters,
56563
+ gutter: [gutterH, gutterV],
56547
56564
  wrap: wrap,
56548
56565
  supportFlexGap: supportFlexGap
56549
56566
  };
56550
- }, [gutters, wrap, supportFlexGap]);
56567
+ }, [gutterH, gutterV, wrap, supportFlexGap]);
56551
56568
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_RowContext__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"].Provider, {
56552
56569
  value: rowContext
56553
56570
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"]("div", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, others, {
@@ -58086,6 +58103,20 @@ function fixEmojiLength(value, maxLength) {
58086
58103
  return Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(value || '').slice(0, maxLength).join('');
58087
58104
  }
58088
58105
 
58106
+ function setTriggerValue(isCursorInEnd, preValue, triggerValue, maxLength) {
58107
+ var newTriggerValue = triggerValue;
58108
+
58109
+ if (isCursorInEnd) {
58110
+ // 光标在尾部,直接截断
58111
+ newTriggerValue = fixEmojiLength(triggerValue, maxLength);
58112
+ } else if (Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(preValue || '').length < triggerValue.length && Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(triggerValue || '').length > maxLength) {
58113
+ // 光标在中间,如果最后的值超过最大值,则采用原先的值
58114
+ newTriggerValue = preValue;
58115
+ }
58116
+
58117
+ return newTriggerValue;
58118
+ }
58119
+
58089
58120
  var TextArea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"](function (_a, ref) {
58090
58121
  var _classNames;
58091
58122
 
@@ -58116,6 +58147,9 @@ var TextArea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"](fun
58116
58147
  compositing = _React$useState2[0],
58117
58148
  setCompositing = _React$useState2[1];
58118
58149
 
58150
+ var oldCompositionValueRef = react__WEBPACK_IMPORTED_MODULE_5__["useRef"]();
58151
+ var oldSelectionStartRef = react__WEBPACK_IMPORTED_MODULE_5__["useRef"](0);
58152
+
58119
58153
  var _useMergedState = Object(rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])(props.defaultValue, {
58120
58154
  value: props.value
58121
58155
  }),
@@ -58137,16 +58171,23 @@ var TextArea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"](fun
58137
58171
  var hasMaxLength = Number(maxLength) > 0;
58138
58172
 
58139
58173
  var onInternalCompositionStart = function onInternalCompositionStart(e) {
58140
- setCompositing(true);
58174
+ setCompositing(true); // 拼音输入前保存一份旧值
58175
+
58176
+ oldCompositionValueRef.current = value; // 保存旧的光标位置
58177
+
58178
+ oldSelectionStartRef.current = e.currentTarget.selectionStart;
58141
58179
  onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
58142
58180
  };
58143
58181
 
58144
58182
  var onInternalCompositionEnd = function onInternalCompositionEnd(e) {
58183
+ var _a;
58184
+
58145
58185
  setCompositing(false);
58146
58186
  var triggerValue = e.currentTarget.value;
58147
58187
 
58148
58188
  if (hasMaxLength) {
58149
- triggerValue = fixEmojiLength(triggerValue, maxLength);
58189
+ var isCursorInEnd = oldSelectionStartRef.current >= maxLength + 1 || oldSelectionStartRef.current === ((_a = oldCompositionValueRef.current) === null || _a === void 0 ? void 0 : _a.length);
58190
+ triggerValue = setTriggerValue(isCursorInEnd, oldCompositionValueRef.current, triggerValue, maxLength);
58150
58191
  } // Patch composition onChange when value changed
58151
58192
 
58152
58193
 
@@ -58162,7 +58203,9 @@ var TextArea = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"](fun
58162
58203
  var triggerValue = e.target.value;
58163
58204
 
58164
58205
  if (!compositing && hasMaxLength) {
58165
- triggerValue = fixEmojiLength(triggerValue, maxLength);
58206
+ // 1. 复制粘贴超过maxlength的情况 2.未超过maxlength的情况
58207
+ var isCursorInEnd = e.target.selectionStart >= maxLength + 1 || e.target.selectionStart === triggerValue.length || !e.target.selectionStart;
58208
+ triggerValue = setTriggerValue(isCursorInEnd, value, triggerValue, maxLength);
58166
58209
  }
58167
58210
 
58168
58211
  handleSetValue(triggerValue);
@@ -58475,7 +58518,8 @@ var Sider = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](functi
58475
58518
  mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);
58476
58519
  }
58477
58520
  };
58478
- }, []);
58521
+ }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.
58522
+
58479
58523
  Object(react__WEBPACK_IMPORTED_MODULE_3__["useEffect"])(function () {
58480
58524
  var uniqueId = generateId('ant-sider-');
58481
58525
  siderHook.addSider(uniqueId);
@@ -62476,6 +62520,7 @@ var Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["forwardRef"](func
62476
62520
  getPrefixCls = _React$useContext.getPrefixCls;
62477
62521
 
62478
62522
  var getOverlay = function getOverlay(prefixCls) {
62523
+ if (!title && !content) return undefined;
62479
62524
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react__WEBPACK_IMPORTED_MODULE_1__["Fragment"], null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", {
62480
62525
  className: "".concat(prefixCls, "-title")
62481
62526
  }, Object(_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_4__[/* getRenderPropValue */ "a"])(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", {
@@ -69637,6 +69682,7 @@ var TimelineItem = function TimelineItem(_a) {
69637
69682
  var prefixCls = getPrefixCls('timeline', customizePrefixCls);
69638
69683
  var itemClassName = classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-item"), true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-item-pending"), pending), _classNames), className);
69639
69684
  var dotClassName = classnames__WEBPACK_IMPORTED_MODULE_3___default()((_classNames2 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-item-head"), true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-item-head-custom"), !!dot), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-item-head-").concat(color), true), _classNames2));
69685
+ var customColor = /blue|red|green|gray/.test(color || '') ? undefined : color;
69640
69686
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("li", Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, restProps, {
69641
69687
  className: itemClassName
69642
69688
  }), label && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
@@ -69646,7 +69692,8 @@ var TimelineItem = function TimelineItem(_a) {
69646
69692
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
69647
69693
  className: dotClassName,
69648
69694
  style: {
69649
- borderColor: /blue|red|green|gray/.test(color || '') ? undefined : color
69695
+ borderColor: customColor,
69696
+ color: customColor
69650
69697
  }
69651
69698
  }, dot), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
69652
69699
  className: "".concat(prefixCls, "-item-content")
@@ -69745,7 +69792,7 @@ var PresetColorRegex = new RegExp("^(".concat(_util_colors__WEBPACK_IMPORTED_MOD
69745
69792
  function getDisabledCompatibleChildren(element, prefixCls) {
69746
69793
  var elementType = element.type;
69747
69794
 
69748
- if ((elementType.__ANT_BUTTON === true || elementType.__ANT_SWITCH === true || elementType.__ANT_CHECKBOX === true || element.type === 'button') && element.props.disabled) {
69795
+ if ((elementType.__ANT_BUTTON === true || element.type === 'button') && element.props.disabled || elementType.__ANT_SWITCH === true && (element.props.disabled || element.props.loading)) {
69749
69796
  // Pick some layout related style properties up to span
69750
69797
  // Prevent layout bugs like https://github.com/ant-design/ant-design/issues/5254
69751
69798
  var _splitObject = splitObject(element.props.style, ['position', 'left', 'right', 'top', 'bottom', 'float', 'display', 'zIndex']),
@@ -72120,6 +72167,8 @@ function renderSwitcherIcon(prefixCls, switcherIcon, showLine, _ref) {
72120
72167
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
72121
72168
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
72122
72169
  /* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rc-util/es/Children/toArray */ "./node_modules/rc-util/es/Children/toArray.js");
72170
+ /* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ "./node_modules/rc-util/es/hooks/useLayoutEffect.js");
72171
+
72123
72172
 
72124
72173
 
72125
72174
 
@@ -72223,20 +72272,20 @@ var Ellipsis = function Ellipsis(_ref) {
72223
72272
  return children(sliceNodes(nodeList, midLen), midLen < totalLen);
72224
72273
  }, [enabledMeasure, walkingState, children, nodeList, midLen, totalLen]); // ======================== Walk ========================
72225
72274
 
72226
- react__WEBPACK_IMPORTED_MODULE_3__["useLayoutEffect"](function () {
72275
+ Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(function () {
72227
72276
  if (enabledMeasure && width && totalLen) {
72228
72277
  setWalkingState(PREPARE);
72229
72278
  setCutLength([0, Math.ceil(totalLen / 2), totalLen]);
72230
72279
  }
72231
72280
  }, [enabledMeasure, width, text, totalLen, rows]);
72232
- react__WEBPACK_IMPORTED_MODULE_3__["useLayoutEffect"](function () {
72281
+ Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(function () {
72233
72282
  var _a;
72234
72283
 
72235
72284
  if (walkingState === PREPARE) {
72236
72285
  setSingleRowHeight(((_a = singleRowRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0);
72237
72286
  }
72238
72287
  }, [walkingState]);
72239
- react__WEBPACK_IMPORTED_MODULE_3__["useLayoutEffect"](function () {
72288
+ Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(function () {
72240
72289
  var _a, _b;
72241
72290
 
72242
72291
  if (singleRowHeight) {
@@ -72307,7 +72356,8 @@ var Ellipsis = function Ellipsis(_ref) {
72307
72356
  };
72308
72357
 
72309
72358
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](react__WEBPACK_IMPORTED_MODULE_3__["Fragment"], null, mergedChildren, enabledMeasure && walkingState !== DONE_WITH_ELLIPSIS && walkingState !== DONE_WITHOUT_ELLIPSIS && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](react__WEBPACK_IMPORTED_MODULE_3__["Fragment"], null, renderMeasure('lg', singleRowRef, {
72310
- width: 9999
72359
+ wordBreak: 'keep-all',
72360
+ whiteSpace: 'nowrap'
72311
72361
  }), walkingState === PREPARE ? renderMeasure(children(nodeList, false), midRowRef, measureStyle) : renderMeasureSlice(midLen, midRowRef)));
72312
72362
  };
72313
72363
 
@@ -72385,17 +72435,18 @@ if (true) {
72385
72435
  /* harmony import */ var _ant_design_icons_es_icons_CheckOutlined__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ant-design/icons/es/icons/CheckOutlined */ "./node_modules/@ant-design/icons/es/icons/CheckOutlined.js");
72386
72436
  /* harmony import */ var _ant_design_icons_es_icons_CopyOutlined__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ant-design/icons/es/icons/CopyOutlined */ "./node_modules/@ant-design/icons/es/icons/CopyOutlined.js");
72387
72437
  /* harmony import */ var rc_resize_observer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rc-resize-observer */ "./node_modules/rc-resize-observer/es/index.js");
72388
- /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../config-provider */ "./node_modules/antd/es/config-provider/index.js");
72389
- /* harmony import */ var _locale_provider_LocaleReceiver__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../locale-provider/LocaleReceiver */ "./node_modules/antd/es/locale-provider/LocaleReceiver.js");
72390
- /* harmony import */ var _util_transButton__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../_util/transButton */ "./node_modules/antd/es/_util/transButton.js");
72391
- /* harmony import */ var _util_styleChecker__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../_util/styleChecker */ "./node_modules/antd/es/_util/styleChecker.js");
72392
- /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../tooltip */ "./node_modules/antd/es/tooltip/index.js");
72393
- /* harmony import */ var _Typography__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../Typography */ "./node_modules/antd/es/typography/Typography.js");
72394
- /* harmony import */ var _Editable__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../Editable */ "./node_modules/antd/es/typography/Editable.js");
72395
- /* harmony import */ var _hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../hooks/useMergedConfig */ "./node_modules/antd/es/typography/hooks/useMergedConfig.js");
72396
- /* harmony import */ var _hooks_useUpdatedEffect__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../hooks/useUpdatedEffect */ "./node_modules/antd/es/typography/hooks/useUpdatedEffect.js");
72397
- /* harmony import */ var _Ellipsis__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Ellipsis */ "./node_modules/antd/es/typography/Base/Ellipsis.js");
72398
- /* harmony import */ var _EllipsisTooltip__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./EllipsisTooltip */ "./node_modules/antd/es/typography/Base/EllipsisTooltip.js");
72438
+ /* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ "./node_modules/rc-util/es/hooks/useLayoutEffect.js");
72439
+ /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../config-provider */ "./node_modules/antd/es/config-provider/index.js");
72440
+ /* harmony import */ var _locale_provider_LocaleReceiver__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../locale-provider/LocaleReceiver */ "./node_modules/antd/es/locale-provider/LocaleReceiver.js");
72441
+ /* harmony import */ var _util_transButton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../_util/transButton */ "./node_modules/antd/es/_util/transButton.js");
72442
+ /* harmony import */ var _util_styleChecker__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../_util/styleChecker */ "./node_modules/antd/es/_util/styleChecker.js");
72443
+ /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../tooltip */ "./node_modules/antd/es/tooltip/index.js");
72444
+ /* harmony import */ var _Typography__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../Typography */ "./node_modules/antd/es/typography/Typography.js");
72445
+ /* harmony import */ var _Editable__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../Editable */ "./node_modules/antd/es/typography/Editable.js");
72446
+ /* harmony import */ var _hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../hooks/useMergedConfig */ "./node_modules/antd/es/typography/hooks/useMergedConfig.js");
72447
+ /* harmony import */ var _hooks_useUpdatedEffect__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../hooks/useUpdatedEffect */ "./node_modules/antd/es/typography/hooks/useUpdatedEffect.js");
72448
+ /* harmony import */ var _Ellipsis__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./Ellipsis */ "./node_modules/antd/es/typography/Base/Ellipsis.js");
72449
+ /* harmony import */ var _EllipsisTooltip__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./EllipsisTooltip */ "./node_modules/antd/es/typography/Base/EllipsisTooltip.js");
72399
72450
 
72400
72451
 
72401
72452
 
@@ -72435,6 +72486,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
72435
72486
 
72436
72487
 
72437
72488
 
72489
+
72438
72490
 
72439
72491
 
72440
72492
  function wrapperDecorations(_ref, content) {
@@ -72489,11 +72541,11 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72489
72541
  title = props.title,
72490
72542
  restProps = __rest(props, ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"]);
72491
72543
 
72492
- var _React$useContext = react__WEBPACK_IMPORTED_MODULE_4__["useContext"](_config_provider__WEBPACK_IMPORTED_MODULE_15__[/* ConfigContext */ "b"]),
72544
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_4__["useContext"](_config_provider__WEBPACK_IMPORTED_MODULE_16__[/* ConfigContext */ "b"]),
72493
72545
  getPrefixCls = _React$useContext.getPrefixCls,
72494
72546
  direction = _React$useContext.direction;
72495
72547
 
72496
- var textLocale = Object(_locale_provider_LocaleReceiver__WEBPACK_IMPORTED_MODULE_16__[/* useLocaleReceiver */ "b"])('Text')[0]; // Force TS get this
72548
+ var textLocale = Object(_locale_provider_LocaleReceiver__WEBPACK_IMPORTED_MODULE_17__[/* useLocaleReceiver */ "b"])('Text')[0]; // Force TS get this
72497
72549
 
72498
72550
  var typographyRef = react__WEBPACK_IMPORTED_MODULE_4__["useRef"](null);
72499
72551
  var editIconRef = react__WEBPACK_IMPORTED_MODULE_4__["useRef"](null); // ============================ MISC ============================
@@ -72501,7 +72553,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72501
72553
  var prefixCls = getPrefixCls('typography', customizePrefixCls);
72502
72554
  var textProps = Object(rc_util_es_omit__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"])(restProps, ['mark', 'code', 'delete', 'underline', 'strong', 'keyboard', 'italic']); // ========================== Editable ==========================
72503
72555
 
72504
- var _useMergedConfig = Object(_hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_22__[/* default */ "a"])(editable),
72556
+ var _useMergedConfig = Object(_hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_23__[/* default */ "a"])(editable),
72505
72557
  _useMergedConfig2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_useMergedConfig, 2),
72506
72558
  enableEdit = _useMergedConfig2[0],
72507
72559
  editConfig = _useMergedConfig2[1];
@@ -72527,7 +72579,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72527
72579
  }; // Focus edit icon when back
72528
72580
 
72529
72581
 
72530
- Object(_hooks_useUpdatedEffect__WEBPACK_IMPORTED_MODULE_23__[/* default */ "a"])(function () {
72582
+ Object(_hooks_useUpdatedEffect__WEBPACK_IMPORTED_MODULE_24__[/* default */ "a"])(function () {
72531
72583
  var _a;
72532
72584
 
72533
72585
  if (!editing) {
@@ -72536,7 +72588,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72536
72588
  }, [editing]);
72537
72589
 
72538
72590
  var onEditClick = function onEditClick(e) {
72539
- e.preventDefault();
72591
+ e === null || e === void 0 ? void 0 : e.preventDefault();
72540
72592
  triggerEdit(true);
72541
72593
  };
72542
72594
 
@@ -72555,7 +72607,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72555
72607
  }; // ========================== Copyable ==========================
72556
72608
 
72557
72609
 
72558
- var _useMergedConfig3 = Object(_hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_22__[/* default */ "a"])(copyable),
72610
+ var _useMergedConfig3 = Object(_hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_23__[/* default */ "a"])(copyable),
72559
72611
  _useMergedConfig4 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_useMergedConfig3, 2),
72560
72612
  enableCopy = _useMergedConfig4[0],
72561
72613
  copyConfig = _useMergedConfig4[1];
@@ -72574,7 +72626,8 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72574
72626
  var onCopyClick = function onCopyClick(e) {
72575
72627
  var _a;
72576
72628
 
72577
- e.preventDefault();
72629
+ e === null || e === void 0 ? void 0 : e.preventDefault();
72630
+ e === null || e === void 0 ? void 0 : e.stopPropagation();
72578
72631
 
72579
72632
  if (copyConfig.text === undefined) {
72580
72633
  copyConfig.text = String(children);
@@ -72619,7 +72672,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72619
72672
  isNativeEllipsis = _React$useState12[0],
72620
72673
  setIsNativeEllipsis = _React$useState12[1];
72621
72674
 
72622
- var _useMergedConfig5 = Object(_hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_22__[/* default */ "a"])(ellipsis, {
72675
+ var _useMergedConfig5 = Object(_hooks_useMergedConfig__WEBPACK_IMPORTED_MODULE_23__[/* default */ "a"])(ellipsis, {
72623
72676
  expandable: false
72624
72677
  }),
72625
72678
  _useMergedConfig6 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(_useMergedConfig5, 2),
@@ -72637,10 +72690,10 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72637
72690
  ellipsisConfig.expandable || enableEdit || enableCopy
72638
72691
  );
72639
72692
  }, [mergedEnableEllipsis, ellipsisConfig, enableEdit, enableCopy]);
72640
- react__WEBPACK_IMPORTED_MODULE_4__["useLayoutEffect"](function () {
72693
+ Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_15__[/* default */ "a"])(function () {
72641
72694
  if (enableEllipsis && !needMeasureEllipsis) {
72642
- setIsLineClampSupport(Object(_util_styleChecker__WEBPACK_IMPORTED_MODULE_18__[/* isStyleSupport */ "c"])('webkitLineClamp'));
72643
- setIsTextOverflowSupport(Object(_util_styleChecker__WEBPACK_IMPORTED_MODULE_18__[/* isStyleSupport */ "c"])('textOverflow'));
72695
+ setIsLineClampSupport(Object(_util_styleChecker__WEBPACK_IMPORTED_MODULE_19__[/* isStyleSupport */ "c"])('webkitLineClamp'));
72696
+ setIsTextOverflowSupport(Object(_util_styleChecker__WEBPACK_IMPORTED_MODULE_19__[/* isStyleSupport */ "c"])('textOverflow'));
72644
72697
  }
72645
72698
  }, [needMeasureEllipsis, enableEllipsis]);
72646
72699
  var cssEllipsis = react__WEBPACK_IMPORTED_MODULE_4__["useMemo"](function () {
@@ -72691,13 +72744,13 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72691
72744
  var textEle = typographyRef.current;
72692
72745
 
72693
72746
  if (enableEllipsis && cssEllipsis && textEle) {
72694
- var currentEllipsis = textEle.offsetWidth < textEle.scrollWidth;
72747
+ var currentEllipsis = cssLineClamp ? textEle.offsetHeight < textEle.scrollHeight : textEle.offsetWidth < textEle.scrollWidth;
72695
72748
 
72696
72749
  if (isNativeEllipsis !== currentEllipsis) {
72697
72750
  setIsNativeEllipsis(currentEllipsis);
72698
72751
  }
72699
72752
  }
72700
- }, [enableEllipsis, cssEllipsis, children]); // ========================== Tooltip ===========================
72753
+ }, [enableEllipsis, cssEllipsis, children, cssLineClamp]); // ========================== Tooltip ===========================
72701
72754
 
72702
72755
  var tooltipTitle = ellipsisConfig.tooltip === true ? children : ellipsisConfig.tooltip;
72703
72756
  var topAriaLabel = react__WEBPACK_IMPORTED_MODULE_4__["useMemo"](function () {
@@ -72726,7 +72779,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72726
72779
  // >>>>>>>>>>> Editing input
72727
72780
 
72728
72781
  if (editing) {
72729
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Editable__WEBPACK_IMPORTED_MODULE_21__[/* default */ "a"], {
72782
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Editable__WEBPACK_IMPORTED_MODULE_22__[/* default */ "a"], {
72730
72783
  value: typeof children === 'string' ? children : '',
72731
72784
  onSave: onEditChange,
72732
72785
  onCancel: onEditCancel,
@@ -72770,10 +72823,10 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72770
72823
  tooltip = editConfig.tooltip;
72771
72824
  var editTitle = Object(rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(tooltip)[0] || textLocale.edit;
72772
72825
  var ariaLabel = typeof editTitle === 'string' ? editTitle : '';
72773
- return triggerType.includes('icon') ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_tooltip__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"], {
72826
+ return triggerType.includes('icon') ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_tooltip__WEBPACK_IMPORTED_MODULE_20__[/* default */ "a"], {
72774
72827
  key: "edit",
72775
72828
  title: tooltip === false ? '' : editTitle
72776
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_util_transButton__WEBPACK_IMPORTED_MODULE_17__[/* default */ "a"], {
72829
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_util_transButton__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"], {
72777
72830
  ref: editIconRef,
72778
72831
  className: "".concat(prefixCls, "-edit"),
72779
72832
  onClick: onEditClick,
@@ -72793,10 +72846,10 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72793
72846
  var copyTitle = copied ? getNode(tooltipNodes[1], textLocale.copied) : getNode(tooltipNodes[0], textLocale.copy);
72794
72847
  var systemStr = copied ? textLocale.copied : textLocale.copy;
72795
72848
  var ariaLabel = typeof copyTitle === 'string' ? copyTitle : systemStr;
72796
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_tooltip__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"], {
72849
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_tooltip__WEBPACK_IMPORTED_MODULE_20__[/* default */ "a"], {
72797
72850
  key: "copy",
72798
72851
  title: copyTitle
72799
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_util_transButton__WEBPACK_IMPORTED_MODULE_17__[/* default */ "a"], {
72852
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_util_transButton__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"], {
72800
72853
  className: classnames__WEBPACK_IMPORTED_MODULE_5___default()("".concat(prefixCls, "-copy"), copied && "".concat(prefixCls, "-copy-success")),
72801
72854
  onClick: onCopyClick,
72802
72855
  "aria-label": ariaLabel
@@ -72820,11 +72873,11 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72820
72873
  }, function (resizeRef) {
72821
72874
  var _classNames;
72822
72875
 
72823
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_EllipsisTooltip__WEBPACK_IMPORTED_MODULE_25__[/* default */ "a"], {
72876
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_EllipsisTooltip__WEBPACK_IMPORTED_MODULE_26__[/* default */ "a"], {
72824
72877
  title: tooltipTitle,
72825
72878
  enabledEllipsis: mergedEnableEllipsis,
72826
72879
  isEllipsis: isMergedEllipsis
72827
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Typography__WEBPACK_IMPORTED_MODULE_20__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
72880
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Typography__WEBPACK_IMPORTED_MODULE_21__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
72828
72881
  className: classnames__WEBPACK_IMPORTED_MODULE_5___default()((_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-").concat(type), type), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-disabled"), disabled), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-ellipsis"), enableEllipsis), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-single-line"), mergedEnableEllipsis && rows === 1), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-ellipsis-single-line"), cssTextOverflow), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_classNames, "".concat(prefixCls, "-ellipsis-multiple-line"), cssLineClamp), _classNames), className),
72829
72882
  style: Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, style), {
72830
72883
  WebkitLineClamp: cssLineClamp ? rows : undefined
@@ -72835,7 +72888,7 @@ var Base = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](functio
72835
72888
  onClick: triggerType.includes('text') ? onEditClick : null,
72836
72889
  "aria-label": topAriaLabel,
72837
72890
  title: title
72838
- }, textProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Ellipsis__WEBPACK_IMPORTED_MODULE_24__[/* default */ "a"], {
72891
+ }, textProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Ellipsis__WEBPACK_IMPORTED_MODULE_25__[/* default */ "a"], {
72839
72892
  enabledMeasure: mergedEnableEllipsis && !cssEllipsis,
72840
72893
  text: children,
72841
72894
  rows: rows,
@@ -73827,7 +73880,7 @@ var InternalUpload = function InternalUpload(props, ref) {
73827
73880
  delete rcUploadProps.id;
73828
73881
  }
73829
73882
 
73830
- var renderUploadList = function renderUploadList(button) {
73883
+ var renderUploadList = function renderUploadList(button, buttonVisible) {
73831
73884
  return showUploadList ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"](_locale_provider_LocaleReceiver__WEBPACK_IMPORTED_MODULE_13__[/* default */ "a"], {
73832
73885
  componentName: "Upload",
73833
73886
  defaultLocale: _locale_default__WEBPACK_IMPORTED_MODULE_14__[/* default */ "a"].Upload
@@ -73858,6 +73911,7 @@ var InternalUpload = function InternalUpload(props, ref) {
73858
73911
  isImageUrl: isImageUrl,
73859
73912
  progress: progress,
73860
73913
  appendAction: button,
73914
+ appendActionVisible: buttonVisible,
73861
73915
  itemRender: itemRender
73862
73916
  });
73863
73917
  }) : button;
@@ -73884,24 +73938,27 @@ var InternalUpload = function InternalUpload(props, ref) {
73884
73938
  }
73885
73939
 
73886
73940
  var uploadButtonCls = classnames__WEBPACK_IMPORTED_MODULE_9___default()(prefixCls, (_classNames2 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-select"), true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-select-").concat(listType), true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-disabled"), disabled), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames2));
73887
- var uploadButton = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", {
73888
- className: uploadButtonCls,
73889
- style: children ? undefined : {
73890
- display: 'none'
73891
- }
73892
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"](rc_upload__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, rcUploadProps, {
73893
- ref: upload
73894
- })));
73941
+
73942
+ var renderUploadButton = function renderUploadButton(uploadButtonStyle) {
73943
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", {
73944
+ className: uploadButtonCls,
73945
+ style: uploadButtonStyle
73946
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"](rc_upload__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, rcUploadProps, {
73947
+ ref: upload
73948
+ })));
73949
+ };
73895
73950
 
73896
73951
  if (listType === 'picture-card') {
73897
73952
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("span", {
73898
73953
  className: classnames__WEBPACK_IMPORTED_MODULE_9___default()("".concat(prefixCls, "-picture-card-wrapper"), className)
73899
- }, renderUploadList(uploadButton));
73954
+ }, renderUploadList(renderUploadButton(), !!children));
73900
73955
  }
73901
73956
 
73902
73957
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("span", {
73903
73958
  className: className
73904
- }, uploadButton, renderUploadList());
73959
+ }, renderUploadButton(children ? undefined : {
73960
+ display: 'none'
73961
+ }), renderUploadList());
73905
73962
  };
73906
73963
 
73907
73964
  var ForwardUpload = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["forwardRef"](InternalUpload);
@@ -74222,6 +74279,7 @@ var InternalUploadList = function InternalUploadList(_ref, ref) {
74222
74279
  downloadIcon = _ref.downloadIcon,
74223
74280
  progress = _ref.progress,
74224
74281
  appendAction = _ref.appendAction,
74282
+ appendActionVisible = _ref.appendActionVisible,
74225
74283
  itemRender = _ref.itemRender;
74226
74284
  var forceUpdate = Object(_util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"])();
74227
74285
 
@@ -74392,13 +74450,19 @@ var InternalUploadList = function InternalUploadList(_ref, ref) {
74392
74450
  onDownload: onInternalDownload,
74393
74451
  onClose: onInternalClose
74394
74452
  });
74395
- }), appendAction && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](rc_motion__WEBPACK_IMPORTED_MODULE_5__[/* default */ "b"], motionConfig, function (_ref3) {
74453
+ }), appendAction && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](rc_motion__WEBPACK_IMPORTED_MODULE_5__[/* default */ "b"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])({}, motionConfig, {
74454
+ visible: appendActionVisible,
74455
+ forceRender: true
74456
+ }), function (_ref3) {
74396
74457
  var motionClassName = _ref3.className,
74397
74458
  motionStyle = _ref3.style;
74398
74459
  return Object(_util_reactNode__WEBPACK_IMPORTED_MODULE_11__[/* cloneElement */ "a"])(appendAction, function (oriProps) {
74399
74460
  return {
74400
74461
  className: classnames__WEBPACK_IMPORTED_MODULE_6___default()(oriProps.className, motionClassName),
74401
- style: Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])({}, motionStyle), oriProps.style)
74462
+ style: Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])({}, motionStyle), {
74463
+ // prevent the element has hover css pseudo-class that may cause animation to end prematurely.
74464
+ pointerEvents: motionClassName ? 'none' : undefined
74465
+ }), oriProps.style)
74402
74466
  };
74403
74467
  });
74404
74468
  }));
@@ -74415,6 +74479,7 @@ UploadList.defaultProps = {
74415
74479
  showRemoveIcon: true,
74416
74480
  showDownloadIcon: false,
74417
74481
  showPreviewIcon: true,
74482
+ appendActionVisible: true,
74418
74483
  previewFile: _utils__WEBPACK_IMPORTED_MODULE_12__[/* previewImage */ "d"],
74419
74484
  isImageUrl: _utils__WEBPACK_IMPORTED_MODULE_12__[/* isImageUrl */ "c"]
74420
74485
  };
@@ -74612,7 +74677,7 @@ function previewImage(file) {
74612
74677
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
74613
74678
 
74614
74679
  "use strict";
74615
- /* harmony default export */ __webpack_exports__["a"] = ('4.18.4');
74680
+ /* harmony default export */ __webpack_exports__["a"] = ('4.18.7');
74616
74681
 
74617
74682
  /***/ }),
74618
74683
 
@@ -82149,6 +82214,109 @@ function memoizeOne(resultFn, isEqual) {
82149
82214
 
82150
82215
 
82151
82216
 
82217
+ /***/ }),
82218
+
82219
+ /***/ "./node_modules/object-assign/index.js":
82220
+ /*!*********************************************!*\
82221
+ !*** ./node_modules/object-assign/index.js ***!
82222
+ \*********************************************/
82223
+ /*! no static exports found */
82224
+ /*! all exports used */
82225
+ /***/ (function(module, exports, __webpack_require__) {
82226
+
82227
+ "use strict";
82228
+ /*
82229
+ object-assign
82230
+ (c) Sindre Sorhus
82231
+ @license MIT
82232
+ */
82233
+
82234
+
82235
+ /* eslint-disable no-unused-vars */
82236
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
82237
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
82238
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
82239
+
82240
+ function toObject(val) {
82241
+ if (val === null || val === undefined) {
82242
+ throw new TypeError('Object.assign cannot be called with null or undefined');
82243
+ }
82244
+
82245
+ return Object(val);
82246
+ }
82247
+
82248
+ function shouldUseNative() {
82249
+ try {
82250
+ if (!Object.assign) {
82251
+ return false;
82252
+ }
82253
+
82254
+ // Detect buggy property enumeration order in older V8 versions.
82255
+
82256
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
82257
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
82258
+ test1[5] = 'de';
82259
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
82260
+ return false;
82261
+ }
82262
+
82263
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
82264
+ var test2 = {};
82265
+ for (var i = 0; i < 10; i++) {
82266
+ test2['_' + String.fromCharCode(i)] = i;
82267
+ }
82268
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
82269
+ return test2[n];
82270
+ });
82271
+ if (order2.join('') !== '0123456789') {
82272
+ return false;
82273
+ }
82274
+
82275
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
82276
+ var test3 = {};
82277
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
82278
+ test3[letter] = letter;
82279
+ });
82280
+ if (Object.keys(Object.assign({}, test3)).join('') !==
82281
+ 'abcdefghijklmnopqrst') {
82282
+ return false;
82283
+ }
82284
+
82285
+ return true;
82286
+ } catch (err) {
82287
+ // We don't expect any of the above to throw, but better to be safe.
82288
+ return false;
82289
+ }
82290
+ }
82291
+
82292
+ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
82293
+ var from;
82294
+ var to = toObject(target);
82295
+ var symbols;
82296
+
82297
+ for (var s = 1; s < arguments.length; s++) {
82298
+ from = Object(arguments[s]);
82299
+
82300
+ for (var key in from) {
82301
+ if (hasOwnProperty.call(from, key)) {
82302
+ to[key] = from[key];
82303
+ }
82304
+ }
82305
+
82306
+ if (getOwnPropertySymbols) {
82307
+ symbols = getOwnPropertySymbols(from);
82308
+ for (var i = 0; i < symbols.length; i++) {
82309
+ if (propIsEnumerable.call(from, symbols[i])) {
82310
+ to[symbols[i]] = from[symbols[i]];
82311
+ }
82312
+ }
82313
+ }
82314
+ }
82315
+
82316
+ return to;
82317
+ };
82318
+
82319
+
82152
82320
  /***/ }),
82153
82321
 
82154
82322
  /***/ "./node_modules/process/browser.js":
@@ -82345,6 +82513,810 @@ process.chdir = function (dir) {
82345
82513
  process.umask = function() { return 0; };
82346
82514
 
82347
82515
 
82516
+ /***/ }),
82517
+
82518
+ /***/ "./node_modules/prop-types/checkPropTypes.js":
82519
+ /*!***************************************************!*\
82520
+ !*** ./node_modules/prop-types/checkPropTypes.js ***!
82521
+ \***************************************************/
82522
+ /*! no static exports found */
82523
+ /*! all exports used */
82524
+ /***/ (function(module, exports, __webpack_require__) {
82525
+
82526
+ "use strict";
82527
+ /**
82528
+ * Copyright (c) 2013-present, Facebook, Inc.
82529
+ *
82530
+ * This source code is licensed under the MIT license found in the
82531
+ * LICENSE file in the root directory of this source tree.
82532
+ */
82533
+
82534
+
82535
+
82536
+ var printWarning = function() {};
82537
+
82538
+ if (true) {
82539
+ var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
82540
+ var loggedTypeFailures = {};
82541
+ var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js");
82542
+
82543
+ printWarning = function(text) {
82544
+ var message = 'Warning: ' + text;
82545
+ if (typeof console !== 'undefined') {
82546
+ console.error(message);
82547
+ }
82548
+ try {
82549
+ // --- Welcome to debugging React ---
82550
+ // This error was thrown as a convenience so that you can use this stack
82551
+ // to find the callsite that caused this warning to fire.
82552
+ throw new Error(message);
82553
+ } catch (x) { /**/ }
82554
+ };
82555
+ }
82556
+
82557
+ /**
82558
+ * Assert that the values match with the type specs.
82559
+ * Error messages are memorized and will only be shown once.
82560
+ *
82561
+ * @param {object} typeSpecs Map of name to a ReactPropType
82562
+ * @param {object} values Runtime values that need to be type-checked
82563
+ * @param {string} location e.g. "prop", "context", "child context"
82564
+ * @param {string} componentName Name of the component for error messages.
82565
+ * @param {?Function} getStack Returns the component stack.
82566
+ * @private
82567
+ */
82568
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
82569
+ if (true) {
82570
+ for (var typeSpecName in typeSpecs) {
82571
+ if (has(typeSpecs, typeSpecName)) {
82572
+ var error;
82573
+ // Prop type validation may throw. In case they do, we don't want to
82574
+ // fail the render phase where it didn't fail before. So we log it.
82575
+ // After these have been cleaned up, we'll let them throw.
82576
+ try {
82577
+ // This is intentionally an invariant that gets caught. It's the same
82578
+ // behavior as without this statement except with a better message.
82579
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
82580
+ var err = Error(
82581
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
82582
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
82583
+ 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
82584
+ );
82585
+ err.name = 'Invariant Violation';
82586
+ throw err;
82587
+ }
82588
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
82589
+ } catch (ex) {
82590
+ error = ex;
82591
+ }
82592
+ if (error && !(error instanceof Error)) {
82593
+ printWarning(
82594
+ (componentName || 'React class') + ': type specification of ' +
82595
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
82596
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
82597
+ 'You may have forgotten to pass an argument to the type checker ' +
82598
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
82599
+ 'shape all require an argument).'
82600
+ );
82601
+ }
82602
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
82603
+ // Only monitor this failure once because there tends to be a lot of the
82604
+ // same error.
82605
+ loggedTypeFailures[error.message] = true;
82606
+
82607
+ var stack = getStack ? getStack() : '';
82608
+
82609
+ printWarning(
82610
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
82611
+ );
82612
+ }
82613
+ }
82614
+ }
82615
+ }
82616
+ }
82617
+
82618
+ /**
82619
+ * Resets warning cache when testing.
82620
+ *
82621
+ * @private
82622
+ */
82623
+ checkPropTypes.resetWarningCache = function() {
82624
+ if (true) {
82625
+ loggedTypeFailures = {};
82626
+ }
82627
+ }
82628
+
82629
+ module.exports = checkPropTypes;
82630
+
82631
+
82632
+ /***/ }),
82633
+
82634
+ /***/ "./node_modules/prop-types/factoryWithTypeCheckers.js":
82635
+ /*!************************************************************!*\
82636
+ !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***!
82637
+ \************************************************************/
82638
+ /*! no static exports found */
82639
+ /*! all exports used */
82640
+ /***/ (function(module, exports, __webpack_require__) {
82641
+
82642
+ "use strict";
82643
+ /**
82644
+ * Copyright (c) 2013-present, Facebook, Inc.
82645
+ *
82646
+ * This source code is licensed under the MIT license found in the
82647
+ * LICENSE file in the root directory of this source tree.
82648
+ */
82649
+
82650
+
82651
+
82652
+ var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
82653
+ var assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js");
82654
+
82655
+ var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js");
82656
+ var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js");
82657
+ var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js");
82658
+
82659
+ var printWarning = function() {};
82660
+
82661
+ if (true) {
82662
+ printWarning = function(text) {
82663
+ var message = 'Warning: ' + text;
82664
+ if (typeof console !== 'undefined') {
82665
+ console.error(message);
82666
+ }
82667
+ try {
82668
+ // --- Welcome to debugging React ---
82669
+ // This error was thrown as a convenience so that you can use this stack
82670
+ // to find the callsite that caused this warning to fire.
82671
+ throw new Error(message);
82672
+ } catch (x) {}
82673
+ };
82674
+ }
82675
+
82676
+ function emptyFunctionThatReturnsNull() {
82677
+ return null;
82678
+ }
82679
+
82680
+ module.exports = function(isValidElement, throwOnDirectAccess) {
82681
+ /* global Symbol */
82682
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
82683
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
82684
+
82685
+ /**
82686
+ * Returns the iterator method function contained on the iterable object.
82687
+ *
82688
+ * Be sure to invoke the function with the iterable as context:
82689
+ *
82690
+ * var iteratorFn = getIteratorFn(myIterable);
82691
+ * if (iteratorFn) {
82692
+ * var iterator = iteratorFn.call(myIterable);
82693
+ * ...
82694
+ * }
82695
+ *
82696
+ * @param {?object} maybeIterable
82697
+ * @return {?function}
82698
+ */
82699
+ function getIteratorFn(maybeIterable) {
82700
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
82701
+ if (typeof iteratorFn === 'function') {
82702
+ return iteratorFn;
82703
+ }
82704
+ }
82705
+
82706
+ /**
82707
+ * Collection of methods that allow declaration and validation of props that are
82708
+ * supplied to React components. Example usage:
82709
+ *
82710
+ * var Props = require('ReactPropTypes');
82711
+ * var MyArticle = React.createClass({
82712
+ * propTypes: {
82713
+ * // An optional string prop named "description".
82714
+ * description: Props.string,
82715
+ *
82716
+ * // A required enum prop named "category".
82717
+ * category: Props.oneOf(['News','Photos']).isRequired,
82718
+ *
82719
+ * // A prop named "dialog" that requires an instance of Dialog.
82720
+ * dialog: Props.instanceOf(Dialog).isRequired
82721
+ * },
82722
+ * render: function() { ... }
82723
+ * });
82724
+ *
82725
+ * A more formal specification of how these methods are used:
82726
+ *
82727
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
82728
+ * decl := ReactPropTypes.{type}(.isRequired)?
82729
+ *
82730
+ * Each and every declaration produces a function with the same signature. This
82731
+ * allows the creation of custom validation functions. For example:
82732
+ *
82733
+ * var MyLink = React.createClass({
82734
+ * propTypes: {
82735
+ * // An optional string or URI prop named "href".
82736
+ * href: function(props, propName, componentName) {
82737
+ * var propValue = props[propName];
82738
+ * if (propValue != null && typeof propValue !== 'string' &&
82739
+ * !(propValue instanceof URI)) {
82740
+ * return new Error(
82741
+ * 'Expected a string or an URI for ' + propName + ' in ' +
82742
+ * componentName
82743
+ * );
82744
+ * }
82745
+ * }
82746
+ * },
82747
+ * render: function() {...}
82748
+ * });
82749
+ *
82750
+ * @internal
82751
+ */
82752
+
82753
+ var ANONYMOUS = '<<anonymous>>';
82754
+
82755
+ // Important!
82756
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
82757
+ var ReactPropTypes = {
82758
+ array: createPrimitiveTypeChecker('array'),
82759
+ bigint: createPrimitiveTypeChecker('bigint'),
82760
+ bool: createPrimitiveTypeChecker('boolean'),
82761
+ func: createPrimitiveTypeChecker('function'),
82762
+ number: createPrimitiveTypeChecker('number'),
82763
+ object: createPrimitiveTypeChecker('object'),
82764
+ string: createPrimitiveTypeChecker('string'),
82765
+ symbol: createPrimitiveTypeChecker('symbol'),
82766
+
82767
+ any: createAnyTypeChecker(),
82768
+ arrayOf: createArrayOfTypeChecker,
82769
+ element: createElementTypeChecker(),
82770
+ elementType: createElementTypeTypeChecker(),
82771
+ instanceOf: createInstanceTypeChecker,
82772
+ node: createNodeChecker(),
82773
+ objectOf: createObjectOfTypeChecker,
82774
+ oneOf: createEnumTypeChecker,
82775
+ oneOfType: createUnionTypeChecker,
82776
+ shape: createShapeTypeChecker,
82777
+ exact: createStrictShapeTypeChecker,
82778
+ };
82779
+
82780
+ /**
82781
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
82782
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
82783
+ */
82784
+ /*eslint-disable no-self-compare*/
82785
+ function is(x, y) {
82786
+ // SameValue algorithm
82787
+ if (x === y) {
82788
+ // Steps 1-5, 7-10
82789
+ // Steps 6.b-6.e: +0 != -0
82790
+ return x !== 0 || 1 / x === 1 / y;
82791
+ } else {
82792
+ // Step 6.a: NaN == NaN
82793
+ return x !== x && y !== y;
82794
+ }
82795
+ }
82796
+ /*eslint-enable no-self-compare*/
82797
+
82798
+ /**
82799
+ * We use an Error-like object for backward compatibility as people may call
82800
+ * PropTypes directly and inspect their output. However, we don't use real
82801
+ * Errors anymore. We don't inspect their stack anyway, and creating them
82802
+ * is prohibitively expensive if they are created too often, such as what
82803
+ * happens in oneOfType() for any type before the one that matched.
82804
+ */
82805
+ function PropTypeError(message, data) {
82806
+ this.message = message;
82807
+ this.data = data && typeof data === 'object' ? data: {};
82808
+ this.stack = '';
82809
+ }
82810
+ // Make `instanceof Error` still work for returned errors.
82811
+ PropTypeError.prototype = Error.prototype;
82812
+
82813
+ function createChainableTypeChecker(validate) {
82814
+ if (true) {
82815
+ var manualPropTypeCallCache = {};
82816
+ var manualPropTypeWarningCount = 0;
82817
+ }
82818
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
82819
+ componentName = componentName || ANONYMOUS;
82820
+ propFullName = propFullName || propName;
82821
+
82822
+ if (secret !== ReactPropTypesSecret) {
82823
+ if (throwOnDirectAccess) {
82824
+ // New behavior only for users of `prop-types` package
82825
+ var err = new Error(
82826
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
82827
+ 'Use `PropTypes.checkPropTypes()` to call them. ' +
82828
+ 'Read more at http://fb.me/use-check-prop-types'
82829
+ );
82830
+ err.name = 'Invariant Violation';
82831
+ throw err;
82832
+ } else if ( true && typeof console !== 'undefined') {
82833
+ // Old behavior for people using React.PropTypes
82834
+ var cacheKey = componentName + ':' + propName;
82835
+ if (
82836
+ !manualPropTypeCallCache[cacheKey] &&
82837
+ // Avoid spamming the console because they are often not actionable except for lib authors
82838
+ manualPropTypeWarningCount < 3
82839
+ ) {
82840
+ printWarning(
82841
+ 'You are manually calling a React.PropTypes validation ' +
82842
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
82843
+ 'and will throw in the standalone `prop-types` package. ' +
82844
+ 'You may be seeing this warning due to a third-party PropTypes ' +
82845
+ 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
82846
+ );
82847
+ manualPropTypeCallCache[cacheKey] = true;
82848
+ manualPropTypeWarningCount++;
82849
+ }
82850
+ }
82851
+ }
82852
+ if (props[propName] == null) {
82853
+ if (isRequired) {
82854
+ if (props[propName] === null) {
82855
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
82856
+ }
82857
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
82858
+ }
82859
+ return null;
82860
+ } else {
82861
+ return validate(props, propName, componentName, location, propFullName);
82862
+ }
82863
+ }
82864
+
82865
+ var chainedCheckType = checkType.bind(null, false);
82866
+ chainedCheckType.isRequired = checkType.bind(null, true);
82867
+
82868
+ return chainedCheckType;
82869
+ }
82870
+
82871
+ function createPrimitiveTypeChecker(expectedType) {
82872
+ function validate(props, propName, componentName, location, propFullName, secret) {
82873
+ var propValue = props[propName];
82874
+ var propType = getPropType(propValue);
82875
+ if (propType !== expectedType) {
82876
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
82877
+ // check, but we can offer a more precise error message here rather than
82878
+ // 'of type `object`'.
82879
+ var preciseType = getPreciseType(propValue);
82880
+
82881
+ return new PropTypeError(
82882
+ 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
82883
+ {expectedType: expectedType}
82884
+ );
82885
+ }
82886
+ return null;
82887
+ }
82888
+ return createChainableTypeChecker(validate);
82889
+ }
82890
+
82891
+ function createAnyTypeChecker() {
82892
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
82893
+ }
82894
+
82895
+ function createArrayOfTypeChecker(typeChecker) {
82896
+ function validate(props, propName, componentName, location, propFullName) {
82897
+ if (typeof typeChecker !== 'function') {
82898
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
82899
+ }
82900
+ var propValue = props[propName];
82901
+ if (!Array.isArray(propValue)) {
82902
+ var propType = getPropType(propValue);
82903
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
82904
+ }
82905
+ for (var i = 0; i < propValue.length; i++) {
82906
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
82907
+ if (error instanceof Error) {
82908
+ return error;
82909
+ }
82910
+ }
82911
+ return null;
82912
+ }
82913
+ return createChainableTypeChecker(validate);
82914
+ }
82915
+
82916
+ function createElementTypeChecker() {
82917
+ function validate(props, propName, componentName, location, propFullName) {
82918
+ var propValue = props[propName];
82919
+ if (!isValidElement(propValue)) {
82920
+ var propType = getPropType(propValue);
82921
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
82922
+ }
82923
+ return null;
82924
+ }
82925
+ return createChainableTypeChecker(validate);
82926
+ }
82927
+
82928
+ function createElementTypeTypeChecker() {
82929
+ function validate(props, propName, componentName, location, propFullName) {
82930
+ var propValue = props[propName];
82931
+ if (!ReactIs.isValidElementType(propValue)) {
82932
+ var propType = getPropType(propValue);
82933
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
82934
+ }
82935
+ return null;
82936
+ }
82937
+ return createChainableTypeChecker(validate);
82938
+ }
82939
+
82940
+ function createInstanceTypeChecker(expectedClass) {
82941
+ function validate(props, propName, componentName, location, propFullName) {
82942
+ if (!(props[propName] instanceof expectedClass)) {
82943
+ var expectedClassName = expectedClass.name || ANONYMOUS;
82944
+ var actualClassName = getClassName(props[propName]);
82945
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
82946
+ }
82947
+ return null;
82948
+ }
82949
+ return createChainableTypeChecker(validate);
82950
+ }
82951
+
82952
+ function createEnumTypeChecker(expectedValues) {
82953
+ if (!Array.isArray(expectedValues)) {
82954
+ if (true) {
82955
+ if (arguments.length > 1) {
82956
+ printWarning(
82957
+ 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
82958
+ 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
82959
+ );
82960
+ } else {
82961
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
82962
+ }
82963
+ }
82964
+ return emptyFunctionThatReturnsNull;
82965
+ }
82966
+
82967
+ function validate(props, propName, componentName, location, propFullName) {
82968
+ var propValue = props[propName];
82969
+ for (var i = 0; i < expectedValues.length; i++) {
82970
+ if (is(propValue, expectedValues[i])) {
82971
+ return null;
82972
+ }
82973
+ }
82974
+
82975
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
82976
+ var type = getPreciseType(value);
82977
+ if (type === 'symbol') {
82978
+ return String(value);
82979
+ }
82980
+ return value;
82981
+ });
82982
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
82983
+ }
82984
+ return createChainableTypeChecker(validate);
82985
+ }
82986
+
82987
+ function createObjectOfTypeChecker(typeChecker) {
82988
+ function validate(props, propName, componentName, location, propFullName) {
82989
+ if (typeof typeChecker !== 'function') {
82990
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
82991
+ }
82992
+ var propValue = props[propName];
82993
+ var propType = getPropType(propValue);
82994
+ if (propType !== 'object') {
82995
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
82996
+ }
82997
+ for (var key in propValue) {
82998
+ if (has(propValue, key)) {
82999
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
83000
+ if (error instanceof Error) {
83001
+ return error;
83002
+ }
83003
+ }
83004
+ }
83005
+ return null;
83006
+ }
83007
+ return createChainableTypeChecker(validate);
83008
+ }
83009
+
83010
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
83011
+ if (!Array.isArray(arrayOfTypeCheckers)) {
83012
+ true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;
83013
+ return emptyFunctionThatReturnsNull;
83014
+ }
83015
+
83016
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
83017
+ var checker = arrayOfTypeCheckers[i];
83018
+ if (typeof checker !== 'function') {
83019
+ printWarning(
83020
+ 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
83021
+ 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
83022
+ );
83023
+ return emptyFunctionThatReturnsNull;
83024
+ }
83025
+ }
83026
+
83027
+ function validate(props, propName, componentName, location, propFullName) {
83028
+ var expectedTypes = [];
83029
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
83030
+ var checker = arrayOfTypeCheckers[i];
83031
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
83032
+ if (checkerResult == null) {
83033
+ return null;
83034
+ }
83035
+ if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
83036
+ expectedTypes.push(checkerResult.data.expectedType);
83037
+ }
83038
+ }
83039
+ var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
83040
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
83041
+ }
83042
+ return createChainableTypeChecker(validate);
83043
+ }
83044
+
83045
+ function createNodeChecker() {
83046
+ function validate(props, propName, componentName, location, propFullName) {
83047
+ if (!isNode(props[propName])) {
83048
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
83049
+ }
83050
+ return null;
83051
+ }
83052
+ return createChainableTypeChecker(validate);
83053
+ }
83054
+
83055
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
83056
+ return new PropTypeError(
83057
+ (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
83058
+ 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
83059
+ );
83060
+ }
83061
+
83062
+ function createShapeTypeChecker(shapeTypes) {
83063
+ function validate(props, propName, componentName, location, propFullName) {
83064
+ var propValue = props[propName];
83065
+ var propType = getPropType(propValue);
83066
+ if (propType !== 'object') {
83067
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
83068
+ }
83069
+ for (var key in shapeTypes) {
83070
+ var checker = shapeTypes[key];
83071
+ if (typeof checker !== 'function') {
83072
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
83073
+ }
83074
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
83075
+ if (error) {
83076
+ return error;
83077
+ }
83078
+ }
83079
+ return null;
83080
+ }
83081
+ return createChainableTypeChecker(validate);
83082
+ }
83083
+
83084
+ function createStrictShapeTypeChecker(shapeTypes) {
83085
+ function validate(props, propName, componentName, location, propFullName) {
83086
+ var propValue = props[propName];
83087
+ var propType = getPropType(propValue);
83088
+ if (propType !== 'object') {
83089
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
83090
+ }
83091
+ // We need to check all keys in case some are required but missing from props.
83092
+ var allKeys = assign({}, props[propName], shapeTypes);
83093
+ for (var key in allKeys) {
83094
+ var checker = shapeTypes[key];
83095
+ if (has(shapeTypes, key) && typeof checker !== 'function') {
83096
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
83097
+ }
83098
+ if (!checker) {
83099
+ return new PropTypeError(
83100
+ 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
83101
+ '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
83102
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
83103
+ );
83104
+ }
83105
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
83106
+ if (error) {
83107
+ return error;
83108
+ }
83109
+ }
83110
+ return null;
83111
+ }
83112
+
83113
+ return createChainableTypeChecker(validate);
83114
+ }
83115
+
83116
+ function isNode(propValue) {
83117
+ switch (typeof propValue) {
83118
+ case 'number':
83119
+ case 'string':
83120
+ case 'undefined':
83121
+ return true;
83122
+ case 'boolean':
83123
+ return !propValue;
83124
+ case 'object':
83125
+ if (Array.isArray(propValue)) {
83126
+ return propValue.every(isNode);
83127
+ }
83128
+ if (propValue === null || isValidElement(propValue)) {
83129
+ return true;
83130
+ }
83131
+
83132
+ var iteratorFn = getIteratorFn(propValue);
83133
+ if (iteratorFn) {
83134
+ var iterator = iteratorFn.call(propValue);
83135
+ var step;
83136
+ if (iteratorFn !== propValue.entries) {
83137
+ while (!(step = iterator.next()).done) {
83138
+ if (!isNode(step.value)) {
83139
+ return false;
83140
+ }
83141
+ }
83142
+ } else {
83143
+ // Iterator will provide entry [k,v] tuples rather than values.
83144
+ while (!(step = iterator.next()).done) {
83145
+ var entry = step.value;
83146
+ if (entry) {
83147
+ if (!isNode(entry[1])) {
83148
+ return false;
83149
+ }
83150
+ }
83151
+ }
83152
+ }
83153
+ } else {
83154
+ return false;
83155
+ }
83156
+
83157
+ return true;
83158
+ default:
83159
+ return false;
83160
+ }
83161
+ }
83162
+
83163
+ function isSymbol(propType, propValue) {
83164
+ // Native Symbol.
83165
+ if (propType === 'symbol') {
83166
+ return true;
83167
+ }
83168
+
83169
+ // falsy value can't be a Symbol
83170
+ if (!propValue) {
83171
+ return false;
83172
+ }
83173
+
83174
+ // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
83175
+ if (propValue['@@toStringTag'] === 'Symbol') {
83176
+ return true;
83177
+ }
83178
+
83179
+ // Fallback for non-spec compliant Symbols which are polyfilled.
83180
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
83181
+ return true;
83182
+ }
83183
+
83184
+ return false;
83185
+ }
83186
+
83187
+ // Equivalent of `typeof` but with special handling for array and regexp.
83188
+ function getPropType(propValue) {
83189
+ var propType = typeof propValue;
83190
+ if (Array.isArray(propValue)) {
83191
+ return 'array';
83192
+ }
83193
+ if (propValue instanceof RegExp) {
83194
+ // Old webkits (at least until Android 4.0) return 'function' rather than
83195
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
83196
+ // passes PropTypes.object.
83197
+ return 'object';
83198
+ }
83199
+ if (isSymbol(propType, propValue)) {
83200
+ return 'symbol';
83201
+ }
83202
+ return propType;
83203
+ }
83204
+
83205
+ // This handles more types than `getPropType`. Only used for error messages.
83206
+ // See `createPrimitiveTypeChecker`.
83207
+ function getPreciseType(propValue) {
83208
+ if (typeof propValue === 'undefined' || propValue === null) {
83209
+ return '' + propValue;
83210
+ }
83211
+ var propType = getPropType(propValue);
83212
+ if (propType === 'object') {
83213
+ if (propValue instanceof Date) {
83214
+ return 'date';
83215
+ } else if (propValue instanceof RegExp) {
83216
+ return 'regexp';
83217
+ }
83218
+ }
83219
+ return propType;
83220
+ }
83221
+
83222
+ // Returns a string that is postfixed to a warning about an invalid type.
83223
+ // For example, "undefined" or "of type array"
83224
+ function getPostfixForTypeWarning(value) {
83225
+ var type = getPreciseType(value);
83226
+ switch (type) {
83227
+ case 'array':
83228
+ case 'object':
83229
+ return 'an ' + type;
83230
+ case 'boolean':
83231
+ case 'date':
83232
+ case 'regexp':
83233
+ return 'a ' + type;
83234
+ default:
83235
+ return type;
83236
+ }
83237
+ }
83238
+
83239
+ // Returns class name of the object, if any.
83240
+ function getClassName(propValue) {
83241
+ if (!propValue.constructor || !propValue.constructor.name) {
83242
+ return ANONYMOUS;
83243
+ }
83244
+ return propValue.constructor.name;
83245
+ }
83246
+
83247
+ ReactPropTypes.checkPropTypes = checkPropTypes;
83248
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
83249
+ ReactPropTypes.PropTypes = ReactPropTypes;
83250
+
83251
+ return ReactPropTypes;
83252
+ };
83253
+
83254
+
83255
+ /***/ }),
83256
+
83257
+ /***/ "./node_modules/prop-types/index.js":
83258
+ /*!******************************************!*\
83259
+ !*** ./node_modules/prop-types/index.js ***!
83260
+ \******************************************/
83261
+ /*! no static exports found */
83262
+ /*! all exports used */
83263
+ /***/ (function(module, exports, __webpack_require__) {
83264
+
83265
+ /**
83266
+ * Copyright (c) 2013-present, Facebook, Inc.
83267
+ *
83268
+ * This source code is licensed under the MIT license found in the
83269
+ * LICENSE file in the root directory of this source tree.
83270
+ */
83271
+
83272
+ if (true) {
83273
+ var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
83274
+
83275
+ // By explicitly using `prop-types` you are opting into new development behavior.
83276
+ // http://fb.me/prop-types-in-prod
83277
+ var throwOnDirectAccess = true;
83278
+ module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
83279
+ } else {}
83280
+
83281
+
83282
+ /***/ }),
83283
+
83284
+ /***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js":
83285
+ /*!*************************************************************!*\
83286
+ !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
83287
+ \*************************************************************/
83288
+ /*! no static exports found */
83289
+ /*! all exports used */
83290
+ /***/ (function(module, exports, __webpack_require__) {
83291
+
83292
+ "use strict";
83293
+ /**
83294
+ * Copyright (c) 2013-present, Facebook, Inc.
83295
+ *
83296
+ * This source code is licensed under the MIT license found in the
83297
+ * LICENSE file in the root directory of this source tree.
83298
+ */
83299
+
83300
+
83301
+
83302
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
83303
+
83304
+ module.exports = ReactPropTypesSecret;
83305
+
83306
+
83307
+ /***/ }),
83308
+
83309
+ /***/ "./node_modules/prop-types/lib/has.js":
83310
+ /*!********************************************!*\
83311
+ !*** ./node_modules/prop-types/lib/has.js ***!
83312
+ \********************************************/
83313
+ /*! no static exports found */
83314
+ /*! all exports used */
83315
+ /***/ (function(module, exports) {
83316
+
83317
+ module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
83318
+
83319
+
82348
83320
  /***/ }),
82349
83321
 
82350
83322
  /***/ "./node_modules/rc-align/es/Align.js":
@@ -82722,7 +83694,7 @@ function monitorResize(element, callback) {
82722
83694
 
82723
83695
 
82724
83696
 
82725
- var _excluded = ["id", "prefixCls", "fieldNames", "defaultValue", "value", "changeOnSelect", "onChange", "displayRender", "checkable", "searchValue", "onSearch", "showSearch", "expandTrigger", "options", "dropdownPrefixCls", "loadData", "popupVisible", "open", "popupClassName", "dropdownClassName", "dropdownMenuColumnStyle", "popupPlacement", "placement", "onDropdownVisibleChange", "onPopupVisibleChange", "expandIcon", "loadingIcon", "children"];
83697
+ var _excluded = ["id", "prefixCls", "fieldNames", "defaultValue", "value", "changeOnSelect", "onChange", "displayRender", "checkable", "searchValue", "onSearch", "showSearch", "expandTrigger", "options", "dropdownPrefixCls", "loadData", "popupVisible", "open", "popupClassName", "dropdownClassName", "dropdownMenuColumnStyle", "popupPlacement", "placement", "onDropdownVisibleChange", "onPopupVisibleChange", "expandIcon", "loadingIcon", "children", "dropdownMatchSelectWidth"];
82726
83698
 
82727
83699
 
82728
83700
 
@@ -82787,6 +83759,8 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
82787
83759
  expandIcon = _props$expandIcon === void 0 ? '>' : _props$expandIcon,
82788
83760
  loadingIcon = props.loadingIcon,
82789
83761
  children = props.children,
83762
+ _props$dropdownMatchS = props.dropdownMatchSelectWidth,
83763
+ dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? false : _props$dropdownMatchS,
82790
83764
  restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(props, _excluded);
82791
83765
 
82792
83766
  var mergedId = Object(rc_select_es_hooks_useId__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(id);
@@ -82861,7 +83835,7 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
82861
83835
  return [existValues, [], missingValues];
82862
83836
  }
82863
83837
 
82864
- var keyPathValues = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "e"])(existValues);
83838
+ var keyPathValues = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "f"])(existValues);
82865
83839
  var ketPathEntities = getPathKeyEntities();
82866
83840
 
82867
83841
  var _conductCheck = Object(rc_tree_es_utils_conductUtil__WEBPACK_IMPORTED_MODULE_6__[/* conductCheck */ "a"])(keyPathValues, true, ketPathEntities),
@@ -82878,7 +83852,7 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
82878
83852
  missingCheckedValues = _React$useMemo2[2];
82879
83853
 
82880
83854
  var deDuplicatedValues = react__WEBPACK_IMPORTED_MODULE_4__["useMemo"](function () {
82881
- var checkedKeys = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "e"])(checkedValues);
83855
+ var checkedKeys = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "f"])(checkedValues);
82882
83856
  var deduplicateKeys = Object(_utils_treeUtil__WEBPACK_IMPORTED_MODULE_15__[/* formatStrategyValues */ "a"])(checkedKeys, getPathKeyEntities);
82883
83857
  return [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(missingCheckedValues), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(getValueByKeyPath(deduplicateKeys)));
82884
83858
  }, [checkedValues, getPathKeyEntities, getValueByKeyPath, missingCheckedValues]);
@@ -82907,12 +83881,12 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
82907
83881
  triggerChange(valuePath);
82908
83882
  } else {
82909
83883
  // Prepare conduct required info
82910
- var pathKey = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKey */ "d"])(valuePath);
82911
- var checkedPathKeys = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "e"])(checkedValues);
82912
- var halfCheckedPathKeys = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "e"])(halfCheckedValues);
83884
+ var pathKey = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKey */ "e"])(valuePath);
83885
+ var checkedPathKeys = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "f"])(checkedValues);
83886
+ var halfCheckedPathKeys = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKeys */ "f"])(halfCheckedValues);
82913
83887
  var existInChecked = checkedPathKeys.includes(pathKey);
82914
83888
  var existInMissing = missingCheckedValues.some(function (valueCells) {
82915
- return Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKey */ "d"])(valueCells) === pathKey;
83889
+ return Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKey */ "e"])(valueCells) === pathKey;
82916
83890
  }); // Do update
82917
83891
 
82918
83892
  var nextCheckedValues = checkedValues;
@@ -82921,7 +83895,7 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
82921
83895
  if (existInMissing && !existInChecked) {
82922
83896
  // Missing value only do filter
82923
83897
  nextMissingValues = missingCheckedValues.filter(function (valueCells) {
82924
- return Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKey */ "d"])(valueCells) !== pathKey;
83898
+ return Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_11__[/* toPathKey */ "e"])(valueCells) !== pathKey;
82925
83899
  });
82926
83900
  } else {
82927
83901
  // Update checked key first
@@ -83017,7 +83991,7 @@ var Cascader = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](fun
83017
83991
  ref: ref,
83018
83992
  id: mergedId,
83019
83993
  prefixCls: prefixCls,
83020
- dropdownMatchSelectWidth: false,
83994
+ dropdownMatchSelectWidth: dropdownMatchSelectWidth,
83021
83995
  dropdownStyle: dropdownStyle // Value
83022
83996
  ,
83023
83997
  displayValues: displayValues,
@@ -83143,30 +84117,58 @@ function Column(_ref) {
83143
84117
  loadingIcon = _React$useContext.loadingIcon,
83144
84118
  dropdownMenuColumnStyle = _React$useContext.dropdownMenuColumnStyle;
83145
84119
 
83146
- var hoverOpen = expandTrigger === 'hover'; // ============================ Render ============================
84120
+ var hoverOpen = expandTrigger === 'hover'; // ============================ Option ============================
83147
84121
 
83148
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("ul", {
83149
- className: menuPrefixCls,
83150
- role: "menu"
83151
- }, options.map(function (option) {
83152
- var _classNames;
84122
+ var optionInfoList = react__WEBPACK_IMPORTED_MODULE_2__["useMemo"](function () {
84123
+ return options.map(function (option) {
84124
+ var disabled = option.disabled;
84125
+ var searchOptions = option[_hooks_useSearchOptions__WEBPACK_IMPORTED_MODULE_7__[/* SEARCH_MARK */ "a"]];
84126
+ var label = option[fieldNames.label];
84127
+ var value = option[fieldNames.value];
84128
+ var isMergedLeaf = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* isLeaf */ "c"])(option, fieldNames); // Get real value of option. Search option is different way.
83153
84129
 
83154
- var disabled = option.disabled;
83155
- var searchOptions = option[_hooks_useSearchOptions__WEBPACK_IMPORTED_MODULE_7__[/* SEARCH_MARK */ "a"]];
83156
- var label = option[fieldNames.label];
83157
- var value = option[fieldNames.value];
83158
- var isMergedLeaf = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* isLeaf */ "c"])(option, fieldNames); // Get real value of option. Search option is different way.
84130
+ var fullPath = searchOptions ? searchOptions.map(function (opt) {
84131
+ return opt[fieldNames.value];
84132
+ }) : [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(prevValuePath), [value]);
84133
+ var fullPathKey = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* toPathKey */ "e"])(fullPath);
84134
+ var isLoading = loadingKeys.includes(fullPathKey); // >>>>> checked
83159
84135
 
83160
- var fullPath = searchOptions ? searchOptions.map(function (opt) {
83161
- return opt[fieldNames.value];
83162
- }) : [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(prevValuePath), [value]);
83163
- var fullPathKey = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* toPathKey */ "d"])(fullPath);
83164
- var isLoading = loadingKeys.includes(fullPathKey); // >>>>> checked
84136
+ var checked = checkedSet.has(fullPathKey); // >>>>> halfChecked
83165
84137
 
83166
- var checked = checkedSet.has(fullPathKey); // >>>>> halfChecked
84138
+ var halfChecked = halfCheckedSet.has(fullPathKey);
84139
+ return {
84140
+ disabled: disabled,
84141
+ label: label,
84142
+ value: value,
84143
+ isLeaf: isMergedLeaf,
84144
+ isLoading: isLoading,
84145
+ checked: checked,
84146
+ halfChecked: halfChecked,
84147
+ option: option,
84148
+ fullPath: fullPath,
84149
+ fullPathKey: fullPathKey
84150
+ };
84151
+ });
84152
+ }, [options, checkedSet, fieldNames, halfCheckedSet, loadingKeys, prevValuePath]); // ============================ Render ============================
83167
84153
 
83168
- var halfChecked = halfCheckedSet.has(fullPathKey); // >>>>> Open
84154
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("ul", {
84155
+ className: menuPrefixCls,
84156
+ role: "menu"
84157
+ }, optionInfoList.map(function (_ref2) {
84158
+ var _classNames;
83169
84159
 
84160
+ var disabled = _ref2.disabled,
84161
+ label = _ref2.label,
84162
+ value = _ref2.value,
84163
+ isMergedLeaf = _ref2.isLeaf,
84164
+ isLoading = _ref2.isLoading,
84165
+ checked = _ref2.checked,
84166
+ halfChecked = _ref2.halfChecked,
84167
+ option = _ref2.option,
84168
+ fullPath = _ref2.fullPath,
84169
+ fullPathKey = _ref2.fullPathKey;
84170
+
84171
+ // >>>>> Open
83170
84172
  var triggerOpenPath = function triggerOpenPath() {
83171
84173
  if (!disabled && (!hoverOpen || !isMergedLeaf)) {
83172
84174
  onActive(fullPath);
@@ -83230,7 +84232,7 @@ function Column(_ref) {
83230
84232
  }
83231
84233
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
83232
84234
  className: "".concat(menuItemPrefixCls, "-content")
83233
- }, option[fieldNames.label]), !isLoading && expandIcon && !isMergedLeaf && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
84235
+ }, label), !isLoading && expandIcon && !isMergedLeaf && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
83234
84236
  className: "".concat(menuItemPrefixCls, "-expand-icon")
83235
84237
  }, expandIcon), isLoading && loadingIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
83236
84238
  className: "".concat(menuItemPrefixCls, "-loading-icon")
@@ -83254,17 +84256,17 @@ function Column(_ref) {
83254
84256
  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
83255
84257
  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
83256
84258
  /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
83257
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react");
83258
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);
83259
- /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
83260
- /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);
83261
- /* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rc-select */ "./node_modules/rc-select/es/index.js");
83262
- /* harmony import */ var _Column__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Column */ "./node_modules/rc-cascader/es/OptionList/Column.js");
83263
- /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../context */ "./node_modules/rc-cascader/es/context.js");
83264
- /* harmony import */ var _utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/commonUtil */ "./node_modules/rc-cascader/es/utils/commonUtil.js");
83265
- /* harmony import */ var _useActive__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./useActive */ "./node_modules/rc-cascader/es/OptionList/useActive.js");
83266
- /* harmony import */ var _useKeyboard__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useKeyboard */ "./node_modules/rc-cascader/es/OptionList/useKeyboard.js");
83267
- /* harmony import */ var _utils_treeUtil__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/treeUtil */ "./node_modules/rc-cascader/es/utils/treeUtil.js");
84259
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
84260
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);
84261
+ /* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-select */ "./node_modules/rc-select/es/index.js");
84262
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react");
84263
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
84264
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../context */ "./node_modules/rc-cascader/es/context.js");
84265
+ /* harmony import */ var _utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/commonUtil */ "./node_modules/rc-cascader/es/utils/commonUtil.js");
84266
+ /* harmony import */ var _utils_treeUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/treeUtil */ "./node_modules/rc-cascader/es/utils/treeUtil.js");
84267
+ /* harmony import */ var _Column__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Column */ "./node_modules/rc-cascader/es/OptionList/Column.js");
84268
+ /* harmony import */ var _useActive__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./useActive */ "./node_modules/rc-cascader/es/OptionList/useActive.js");
84269
+ /* harmony import */ var _useKeyboard__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./useKeyboard */ "./node_modules/rc-cascader/es/OptionList/useKeyboard.js");
83268
84270
 
83269
84271
 
83270
84272
 
@@ -83281,10 +84283,10 @@ function Column(_ref) {
83281
84283
 
83282
84284
 
83283
84285
 
83284
- var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"](function (props, ref) {
84286
+ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["forwardRef"](function (props, ref) {
83285
84287
  var _optionColumns$, _optionColumns$$optio, _ref3, _classNames;
83286
84288
 
83287
- var _useBaseProps = Object(rc_select__WEBPACK_IMPORTED_MODULE_7__[/* useBaseProps */ "e"])(),
84289
+ var _useBaseProps = Object(rc_select__WEBPACK_IMPORTED_MODULE_6__[/* useBaseProps */ "e"])(),
83288
84290
  prefixCls = _useBaseProps.prefixCls,
83289
84291
  multiple = _useBaseProps.multiple,
83290
84292
  searchValue = _useBaseProps.searchValue,
@@ -83292,10 +84294,10 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83292
84294
  notFoundContent = _useBaseProps.notFoundContent,
83293
84295
  direction = _useBaseProps.direction;
83294
84296
 
83295
- var containerRef = react__WEBPACK_IMPORTED_MODULE_5__["useRef"]();
84297
+ var containerRef = react__WEBPACK_IMPORTED_MODULE_7__["useRef"]();
83296
84298
  var rtl = direction === 'rtl';
83297
84299
 
83298
- var _React$useContext = react__WEBPACK_IMPORTED_MODULE_5__["useContext"](_context__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"]),
84300
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_7__["useContext"](_context__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"]),
83299
84301
  options = _React$useContext.options,
83300
84302
  values = _React$useContext.values,
83301
84303
  halfValues = _React$useContext.halfValues,
@@ -83309,7 +84311,7 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83309
84311
 
83310
84312
  var mergedPrefixCls = dropdownPrefixCls || prefixCls; // ========================= loadData =========================
83311
84313
 
83312
- var _React$useState = react__WEBPACK_IMPORTED_MODULE_5__["useState"]([]),
84314
+ var _React$useState = react__WEBPACK_IMPORTED_MODULE_7__["useState"]([]),
83313
84315
  _React$useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(_React$useState, 2),
83314
84316
  loadingKeys = _React$useState2[0],
83315
84317
  setLoadingKeys = _React$useState2[1];
@@ -83320,15 +84322,15 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83320
84322
  return;
83321
84323
  }
83322
84324
 
83323
- var optionList = Object(_utils_treeUtil__WEBPACK_IMPORTED_MODULE_13__[/* toPathOptions */ "b"])(valueCells, options, fieldNames);
84325
+ var optionList = Object(_utils_treeUtil__WEBPACK_IMPORTED_MODULE_10__[/* toPathOptions */ "b"])(valueCells, options, fieldNames);
83324
84326
  var rawOptions = optionList.map(function (_ref) {
83325
84327
  var option = _ref.option;
83326
84328
  return option;
83327
84329
  });
83328
84330
  var lastOption = rawOptions[rawOptions.length - 1];
83329
84331
 
83330
- if (lastOption && !Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* isLeaf */ "c"])(lastOption, fieldNames)) {
83331
- var pathKey = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* toPathKey */ "d"])(valueCells);
84332
+ if (lastOption && !Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* isLeaf */ "c"])(lastOption, fieldNames)) {
84333
+ var pathKey = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* toPathKey */ "e"])(valueCells);
83332
84334
  setLoadingKeys(function (keys) {
83333
84335
  return [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(keys), [pathKey]);
83334
84336
  });
@@ -83337,17 +84339,17 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83337
84339
  }; // zombieJ: This is bad. We should make this same as `rc-tree` to use Promise instead.
83338
84340
 
83339
84341
 
83340
- react__WEBPACK_IMPORTED_MODULE_5__["useEffect"](function () {
84342
+ react__WEBPACK_IMPORTED_MODULE_7__["useEffect"](function () {
83341
84343
  if (loadingKeys.length) {
83342
84344
  loadingKeys.forEach(function (loadingKey) {
83343
- var valueStrCells = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* toPathValueStr */ "f"])(loadingKey);
83344
- var optionList = Object(_utils_treeUtil__WEBPACK_IMPORTED_MODULE_13__[/* toPathOptions */ "b"])(valueStrCells, options, fieldNames, true).map(function (_ref2) {
84345
+ var valueStrCells = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* toPathValueStr */ "g"])(loadingKey);
84346
+ var optionList = Object(_utils_treeUtil__WEBPACK_IMPORTED_MODULE_10__[/* toPathOptions */ "b"])(valueStrCells, options, fieldNames, true).map(function (_ref2) {
83345
84347
  var option = _ref2.option;
83346
84348
  return option;
83347
84349
  });
83348
84350
  var lastOption = optionList[optionList.length - 1];
83349
84351
 
83350
- if (!lastOption || lastOption[fieldNames.children] || Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* isLeaf */ "c"])(lastOption, fieldNames)) {
84352
+ if (!lastOption || lastOption[fieldNames.children] || Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* isLeaf */ "c"])(lastOption, fieldNames)) {
83351
84353
  setLoadingKeys(function (keys) {
83352
84354
  return keys.filter(function (key) {
83353
84355
  return key !== loadingKey;
@@ -83358,14 +84360,14 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83358
84360
  }
83359
84361
  }, [options, loadingKeys, fieldNames]); // ========================== Values ==========================
83360
84362
 
83361
- var checkedSet = react__WEBPACK_IMPORTED_MODULE_5__["useMemo"](function () {
83362
- return new Set(Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* toPathKeys */ "e"])(values));
84363
+ var checkedSet = react__WEBPACK_IMPORTED_MODULE_7__["useMemo"](function () {
84364
+ return new Set(Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* toPathKeys */ "f"])(values));
83363
84365
  }, [values]);
83364
- var halfCheckedSet = react__WEBPACK_IMPORTED_MODULE_5__["useMemo"](function () {
83365
- return new Set(Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* toPathKeys */ "e"])(halfValues));
84366
+ var halfCheckedSet = react__WEBPACK_IMPORTED_MODULE_7__["useMemo"](function () {
84367
+ return new Set(Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* toPathKeys */ "f"])(halfValues));
83366
84368
  }, [halfValues]); // ====================== Accessibility =======================
83367
84369
 
83368
- var _useActive = Object(_useActive__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"])(),
84370
+ var _useActive = Object(_useActive__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"])(),
83369
84371
  _useActive2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(_useActive, 2),
83370
84372
  activeValueCells = _useActive2[0],
83371
84373
  setActiveValueCells = _useActive2[1]; // =========================== Path ===========================
@@ -83379,7 +84381,7 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83379
84381
 
83380
84382
  var isSelectable = function isSelectable(option) {
83381
84383
  var disabled = option.disabled;
83382
- var isMergedLeaf = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* isLeaf */ "c"])(option, fieldNames);
84384
+ var isMergedLeaf = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* isLeaf */ "c"])(option, fieldNames);
83383
84385
  return !disabled && (isMergedLeaf || changeOnSelect || multiple);
83384
84386
  };
83385
84387
 
@@ -83393,7 +84395,7 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83393
84395
  }; // ========================== Option ==========================
83394
84396
 
83395
84397
 
83396
- var mergedOptions = react__WEBPACK_IMPORTED_MODULE_5__["useMemo"](function () {
84398
+ var mergedOptions = react__WEBPACK_IMPORTED_MODULE_7__["useMemo"](function () {
83397
84399
  if (searchValue) {
83398
84400
  return searchOptions;
83399
84401
  }
@@ -83401,7 +84403,7 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83401
84403
  return options;
83402
84404
  }, [searchValue, searchOptions, options]); // ========================== Column ==========================
83403
84405
 
83404
- var optionColumns = react__WEBPACK_IMPORTED_MODULE_5__["useMemo"](function () {
84406
+ var optionColumns = react__WEBPACK_IMPORTED_MODULE_7__["useMemo"](function () {
83405
84407
  var optionList = [{
83406
84408
  options: mergedOptions
83407
84409
  }];
@@ -83435,11 +84437,25 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83435
84437
 
83436
84438
  var onKeyboardSelect = function onKeyboardSelect(selectValueCells, option) {
83437
84439
  if (isSelectable(option)) {
83438
- onPathSelect(selectValueCells, Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_10__[/* isLeaf */ "c"])(option, fieldNames), true);
84440
+ onPathSelect(selectValueCells, Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* isLeaf */ "c"])(option, fieldNames), true);
83439
84441
  }
83440
84442
  };
83441
84443
 
83442
- Object(_useKeyboard__WEBPACK_IMPORTED_MODULE_12__[/* default */ "a"])(ref, mergedOptions, fieldNames, activeValueCells, onPathOpen, containerRef, onKeyboardSelect); // ========================== Render ==========================
84444
+ Object(_useKeyboard__WEBPACK_IMPORTED_MODULE_13__[/* default */ "a"])(ref, mergedOptions, fieldNames, activeValueCells, onPathOpen, onKeyboardSelect); // >>>>> Active Scroll
84445
+
84446
+ react__WEBPACK_IMPORTED_MODULE_7__["useEffect"](function () {
84447
+ for (var i = 0; i < activeValueCells.length; i += 1) {
84448
+ var _containerRef$current;
84449
+
84450
+ var cellPath = activeValueCells.slice(0, i + 1);
84451
+ var cellKeyPath = Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* toPathKey */ "e"])(cellPath);
84452
+ var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelector("li[data-path-key=\"".concat(cellKeyPath.replace(/\\{0,2}"/g, '\\"'), "\"]"));
84453
+
84454
+ if (ele) {
84455
+ Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_9__[/* scrollIntoParentView */ "d"])(ele);
84456
+ }
84457
+ }
84458
+ }, [activeValueCells]); // ========================== Render ==========================
83443
84459
  // >>>>> Empty
83444
84460
 
83445
84461
  var isEmpty = !((_optionColumns$ = optionColumns[0]) === null || _optionColumns$ === void 0 ? void 0 : (_optionColumns$$optio = _optionColumns$.options) === null || _optionColumns$$optio === void 0 ? void 0 : _optionColumns$$optio.length);
@@ -83463,7 +84479,7 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83463
84479
  var columnNodes = mergedOptionColumns.map(function (col, index) {
83464
84480
  var prevValuePath = activeValueCells.slice(0, index);
83465
84481
  var activeValue = activeValueCells[index];
83466
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["createElement"](_Column__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
84482
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["createElement"](_Column__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
83467
84483
  key: index
83468
84484
  }, columnProps, {
83469
84485
  prefixCls: mergedPrefixCls,
@@ -83473,10 +84489,10 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83473
84489
  }));
83474
84490
  }); // >>>>> Render
83475
84491
 
83476
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["createElement"](react__WEBPACK_IMPORTED_MODULE_5__["Fragment"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["createElement"]("div", {
83477
- className: classnames__WEBPACK_IMPORTED_MODULE_6___default()("".concat(mergedPrefixCls, "-menus"), (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_classNames, "".concat(mergedPrefixCls, "-menu-empty"), isEmpty), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_classNames, "".concat(mergedPrefixCls, "-rtl"), rtl), _classNames)),
84492
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["createElement"]("div", {
84493
+ className: classnames__WEBPACK_IMPORTED_MODULE_5___default()("".concat(mergedPrefixCls, "-menus"), (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_classNames, "".concat(mergedPrefixCls, "-menu-empty"), isEmpty), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_classNames, "".concat(mergedPrefixCls, "-rtl"), rtl), _classNames)),
83478
84494
  ref: containerRef
83479
- }, columnNodes));
84495
+ }, columnNodes);
83480
84496
  });
83481
84497
  /* harmony default export */ __webpack_exports__["a"] = (RefOptionList);
83482
84498
 
@@ -83546,16 +84562,14 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83546
84562
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
83547
84563
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
83548
84564
  /* harmony import */ var rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/es/KeyCode */ "./node_modules/rc-util/es/KeyCode.js");
83549
- /* harmony import */ var _utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/commonUtil */ "./node_modules/rc-cascader/es/utils/commonUtil.js");
83550
- /* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-select */ "./node_modules/rc-select/es/index.js");
83551
-
84565
+ /* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rc-select */ "./node_modules/rc-select/es/index.js");
83552
84566
 
83553
84567
 
83554
84568
 
83555
84569
 
83556
84570
 
83557
- /* harmony default export */ __webpack_exports__["a"] = (function (ref, options, fieldNames, activeValueCells, setActiveValueCells, containerRef, onKeyBoardSelect) {
83558
- var _useBaseProps = Object(rc_select__WEBPACK_IMPORTED_MODULE_5__[/* useBaseProps */ "e"])(),
84571
+ /* harmony default export */ __webpack_exports__["a"] = (function (ref, options, fieldNames, activeValueCells, setActiveValueCells, onKeyBoardSelect) {
84572
+ var _useBaseProps = Object(rc_select__WEBPACK_IMPORTED_MODULE_4__[/* useBaseProps */ "e"])(),
83559
84573
  direction = _useBaseProps.direction,
83560
84574
  searchValue = _useBaseProps.searchValue,
83561
84575
  toggleOpen = _useBaseProps.toggleOpen,
@@ -83610,13 +84624,7 @@ var RefOptionList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5__["forwardRef"
83610
84624
 
83611
84625
 
83612
84626
  var internalSetActiveValueCells = function internalSetActiveValueCells(next) {
83613
- var _containerRef$current, _ele$scrollIntoView;
83614
-
83615
84627
  setActiveValueCells(next);
83616
- var ele = (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.querySelector("li[data-path-key=\"".concat(Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* toPathKey */ "d"])(next), "\"]"));
83617
- ele === null || ele === void 0 ? void 0 : (_ele$scrollIntoView = ele.scrollIntoView) === null || _ele$scrollIntoView === void 0 ? void 0 : _ele$scrollIntoView.call(ele, {
83618
- block: 'nearest'
83619
- });
83620
84628
  }; // Same options offset
83621
84629
 
83622
84630
 
@@ -83828,7 +84836,7 @@ var CascaderContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createCon
83828
84836
  }));
83829
84837
  return {
83830
84838
  label: label,
83831
- value: Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* toPathKey */ "d"])(valueCells),
84839
+ value: Object(_utils_commonUtil__WEBPACK_IMPORTED_MODULE_4__[/* toPathKey */ "e"])(valueCells),
83832
84840
  valueCells: valueCells
83833
84841
  };
83834
84842
  });
@@ -84114,17 +85122,18 @@ var defaultRender = function defaultRender(inputValue, path, prefixCls, fieldNam
84114
85122
  /*!*********************************************************!*\
84115
85123
  !*** ./node_modules/rc-cascader/es/utils/commonUtil.js ***!
84116
85124
  \*********************************************************/
84117
- /*! exports provided: VALUE_SPLIT, toPathKey, toPathKeys, toPathValueStr, fillFieldNames, isLeaf */
84118
- /*! exports used: VALUE_SPLIT, fillFieldNames, isLeaf, toPathKey, toPathKeys, toPathValueStr */
85125
+ /*! exports provided: VALUE_SPLIT, toPathKey, toPathKeys, toPathValueStr, fillFieldNames, isLeaf, scrollIntoParentView */
85126
+ /*! exports used: VALUE_SPLIT, fillFieldNames, isLeaf, scrollIntoParentView, toPathKey, toPathKeys, toPathValueStr */
84119
85127
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
84120
85128
 
84121
85129
  "use strict";
84122
85130
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return VALUE_SPLIT; });
84123
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return toPathKey; });
84124
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return toPathKeys; });
84125
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return toPathValueStr; });
85131
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return toPathKey; });
85132
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return toPathKeys; });
85133
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return toPathValueStr; });
84126
85134
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return fillFieldNames; });
84127
85135
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isLeaf; });
85136
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return scrollIntoParentView; });
84128
85137
  var VALUE_SPLIT = '__RC_CASCADER_SPLIT__';
84129
85138
  function toPathKey(value) {
84130
85139
  return value.join(VALUE_SPLIT);
@@ -84154,6 +85163,25 @@ function isLeaf(option, fieldNames) {
84154
85163
 
84155
85164
  return (_option$isLeaf = option.isLeaf) !== null && _option$isLeaf !== void 0 ? _option$isLeaf : !((_option$fieldNames$ch = option[fieldNames.children]) === null || _option$fieldNames$ch === void 0 ? void 0 : _option$fieldNames$ch.length);
84156
85165
  }
85166
+ function scrollIntoParentView(element) {
85167
+ var parent = element.parentElement;
85168
+
85169
+ if (!parent) {
85170
+ return;
85171
+ }
85172
+
85173
+ var elementToParent = element.offsetTop - parent.offsetTop; // offsetParent may not be parent.
85174
+
85175
+ if (elementToParent - parent.scrollTop < 0) {
85176
+ parent.scrollTo({
85177
+ top: elementToParent
85178
+ });
85179
+ } else if (elementToParent + element.offsetHeight - parent.scrollTop > parent.offsetHeight) {
85180
+ parent.scrollTo({
85181
+ top: elementToParent + element.offsetHeight - parent.offsetHeight
85182
+ });
85183
+ }
85184
+ }
84157
85185
 
84158
85186
  /***/ }),
84159
85187
 
@@ -86519,12 +87547,12 @@ function Dropdown(props, ref) {
86519
87547
  }
86520
87548
  };
86521
87549
 
86522
- var onVisibleChange = function onVisibleChange(visible) {
86523
- var onVisibleChange = props.onVisibleChange;
86524
- setTriggerVisible(visible);
87550
+ var onVisibleChange = function onVisibleChange(newVisible) {
87551
+ var onVisibleChangeProp = props.onVisibleChange;
87552
+ setTriggerVisible(newVisible);
86525
87553
 
86526
- if (typeof onVisibleChange === 'function') {
86527
- onVisibleChange(visible);
87554
+ if (typeof onVisibleChangeProp === 'function') {
87555
+ onVisibleChangeProp(newVisible);
86528
87556
  }
86529
87557
  };
86530
87558
 
@@ -86579,7 +87607,7 @@ function Dropdown(props, ref) {
86579
87607
  var children = props.children;
86580
87608
  var childrenProps = children.props ? children.props : {};
86581
87609
  var childClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(childrenProps.className, getOpenClassName());
86582
- return triggerVisible && children ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["cloneElement"](children, {
87610
+ return mergedVisible && children ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["cloneElement"](children, {
86583
87611
  className: childClassName
86584
87612
  }) : children;
86585
87613
  };
@@ -95190,7 +96218,11 @@ function genCSSMotion(config) {
95190
96218
 
95191
96219
  function getDomElement() {
95192
96220
  try {
95193
- return Object(rc_util_es_Dom_findDOMNode__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(nodeRef.current || wrapperNodeRef.current);
96221
+ // Here we're avoiding call for findDOMNode since it's deprecated
96222
+ // in strict mode. We're calling it only when node ref is not
96223
+ // an instance of DOM HTMLElement. Otherwise use
96224
+ // findDOMNode as a final resort
96225
+ return nodeRef.current instanceof HTMLElement ? nodeRef.current : Object(rc_util_es_Dom_findDOMNode__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(wrapperNodeRef.current);
95194
96226
  } catch (e) {
95195
96227
  // Only happen when `motionDeadline` trigger but element removed.
95196
96228
  return null;
@@ -95202,7 +96234,7 @@ function genCSSMotion(config) {
95202
96234
  status = _useStatus2[0],
95203
96235
  statusStep = _useStatus2[1],
95204
96236
  statusStyle = _useStatus2[2],
95205
- mergedVisible = _useStatus2[3]; // Record whether content has rended
96237
+ mergedVisible = _useStatus2[3]; // Record whether content has rendered
95206
96238
  // Will return null for un-rendered even when `removeOnLeave={false}`
95207
96239
 
95208
96240
 
@@ -95213,11 +96245,9 @@ function genCSSMotion(config) {
95213
96245
  } // ====================== Refs ======================
95214
96246
 
95215
96247
 
95216
- var originRef = Object(react__WEBPACK_IMPORTED_MODULE_4__["useRef"])(ref);
95217
- originRef.current = ref;
95218
96248
  var setNodeRef = react__WEBPACK_IMPORTED_MODULE_4__["useCallback"](function (node) {
95219
96249
  nodeRef.current = node;
95220
- Object(rc_util_es_ref__WEBPACK_IMPORTED_MODULE_6__[/* fillRef */ "b"])(originRef.current, node);
96250
+ Object(rc_util_es_ref__WEBPACK_IMPORTED_MODULE_6__[/* fillRef */ "b"])(ref, node);
95221
96251
  }, []); // ===================== Render =====================
95222
96252
 
95223
96253
  var motionChildren;
@@ -95306,6 +96336,8 @@ function genCSSMotion(config) {
95306
96336
 
95307
96337
 
95308
96338
 
96339
+ var _excluded = ["component", "children", "onVisibleChanged"],
96340
+ _excluded2 = ["status"];
95309
96341
 
95310
96342
  /* eslint react/prop-types: 0 */
95311
96343
 
@@ -95332,7 +96364,11 @@ function genCSSMotionList(transitionSupport) {
95332
96364
 
95333
96365
  Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(this, CSSMotionList);
95334
96366
 
95335
- _this = _super.apply(this, arguments);
96367
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
96368
+ args[_key] = arguments[_key];
96369
+ }
96370
+
96371
+ _this = _super.call.apply(_super, [this].concat(args));
95336
96372
  _this.state = {
95337
96373
  keyEntities: []
95338
96374
  };
@@ -95365,7 +96401,7 @@ function genCSSMotionList(transitionSupport) {
95365
96401
  component = _this$props.component,
95366
96402
  children = _this$props.children,
95367
96403
  _onVisibleChanged = _this$props.onVisibleChanged,
95368
- restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_this$props, ["component", "children", "onVisibleChanged"]);
96404
+ restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_this$props, _excluded);
95369
96405
 
95370
96406
  var Component = component || react__WEBPACK_IMPORTED_MODULE_7__["Fragment"];
95371
96407
  var motionProps = {};
@@ -95376,7 +96412,7 @@ function genCSSMotionList(transitionSupport) {
95376
96412
  delete restProps.keys;
95377
96413
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["createElement"](Component, restProps, keyEntities.map(function (_ref2) {
95378
96414
  var status = _ref2.status,
95379
- eventProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, ["status"]);
96415
+ eventProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, _excluded2);
95380
96416
 
95381
96417
  var visible = status === _util_diff__WEBPACK_IMPORTED_MODULE_10__[/* STATUS_ADD */ "a"] || status === _util_diff__WEBPACK_IMPORTED_MODULE_10__[/* STATUS_KEEP */ "b"];
95382
96418
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["createElement"](CSSMotion, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, motionProps, {
@@ -95760,13 +96796,13 @@ function useStatus(supportMotion, visible, getElement, _ref) {
95760
96796
  var _ref2, _ref3, _ref4;
95761
96797
 
95762
96798
  switch (status) {
95763
- case 'appear':
96799
+ case _interface__WEBPACK_IMPORTED_MODULE_4__[/* STATUS_APPEAR */ "a"]:
95764
96800
  return _ref2 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_PREPARE */ "h"], onAppearPrepare), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_START */ "i"], onAppearStart), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref2, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_ACTIVE */ "f"], onAppearActive), _ref2;
95765
96801
 
95766
- case 'enter':
96802
+ case _interface__WEBPACK_IMPORTED_MODULE_4__[/* STATUS_ENTER */ "b"]:
95767
96803
  return _ref3 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref3, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_PREPARE */ "h"], onEnterPrepare), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref3, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_START */ "i"], onEnterStart), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref3, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_ACTIVE */ "f"], onEnterActive), _ref3;
95768
96804
 
95769
- case 'leave':
96805
+ case _interface__WEBPACK_IMPORTED_MODULE_4__[/* STATUS_LEAVE */ "c"]:
95770
96806
  return _ref4 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref4, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_PREPARE */ "h"], onLeavePrepare), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref4, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_START */ "i"], onLeaveStart), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_ref4, _interface__WEBPACK_IMPORTED_MODULE_4__[/* STEP_ACTIVE */ "f"], onLeaveActive), _ref4;
95771
96807
 
95772
96808
  default:
@@ -95903,6 +96939,8 @@ function useStatus(supportMotion, visible, getElement, _ref) {
95903
96939
  /* harmony import */ var _interface__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../interface */ "./node_modules/rc-motion/es/interface.js");
95904
96940
  /* harmony import */ var _useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useIsomorphicLayoutEffect */ "./node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js");
95905
96941
  /* harmony import */ var _useNextFrame__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./useNextFrame */ "./node_modules/rc-motion/es/hooks/useNextFrame.js");
96942
+ /* harmony import */ var _useState__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useState */ "./node_modules/rc-motion/es/hooks/useState.js");
96943
+
95906
96944
 
95907
96945
 
95908
96946
 
@@ -95919,10 +96957,10 @@ function isActive(step) {
95919
96957
  return step === _interface__WEBPACK_IMPORTED_MODULE_2__[/* STEP_ACTIVE */ "f"] || step === _interface__WEBPACK_IMPORTED_MODULE_2__[/* STEP_ACTIVATED */ "e"];
95920
96958
  }
95921
96959
  /* harmony default export */ __webpack_exports__["c"] = (function (status, callback) {
95922
- var _React$useState = react__WEBPACK_IMPORTED_MODULE_1__["useState"](_interface__WEBPACK_IMPORTED_MODULE_2__[/* STEP_NONE */ "g"]),
95923
- _React$useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_React$useState, 2),
95924
- step = _React$useState2[0],
95925
- setStep = _React$useState2[1];
96960
+ var _useState = Object(_useState__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(_interface__WEBPACK_IMPORTED_MODULE_2__[/* STEP_NONE */ "g"]),
96961
+ _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useState, 2),
96962
+ step = _useState2[0],
96963
+ setStep = _useState2[1];
95926
96964
 
95927
96965
  var _useNextFrame = Object(_useNextFrame__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(),
95928
96966
  _useNextFrame2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_useNextFrame, 2),
@@ -96831,6 +97869,7 @@ function useNotification(notificationInstance) {
96831
97869
 
96832
97870
 
96833
97871
 
97872
+ var _excluded = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"];
96834
97873
 
96835
97874
 
96836
97875
  // Use shared variable to save bundle size
@@ -96852,7 +97891,7 @@ function InternalItem(props, ref) {
96852
97891
  order = props.order,
96853
97892
  _props$component = props.component,
96854
97893
  Component = _props$component === void 0 ? 'div' : _props$component,
96855
- restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(props, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]);
97894
+ restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(props, _excluded);
96856
97895
 
96857
97896
  var mergedHidden = responsive && !display; // ================================ Effect ================================
96858
97897
 
@@ -96930,12 +97969,15 @@ Item.displayName = 'Item';
96930
97969
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
96931
97970
  /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);
96932
97971
  /* harmony import */ var rc_resize_observer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-resize-observer */ "./node_modules/rc-resize-observer/es/index.js");
96933
- /* harmony import */ var _Item__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Item */ "./node_modules/rc-overflow/es/Item.js");
96934
- /* harmony import */ var _hooks_useBatchFrameState__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./hooks/useBatchFrameState */ "./node_modules/rc-overflow/es/hooks/useBatchFrameState.js");
96935
- /* harmony import */ var _RawItem__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./RawItem */ "./node_modules/rc-overflow/es/RawItem.js");
97972
+ /* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ "./node_modules/rc-util/es/hooks/useLayoutEffect.js");
97973
+ /* harmony import */ var _Item__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Item */ "./node_modules/rc-overflow/es/Item.js");
97974
+ /* harmony import */ var _hooks_useBatchFrameState__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./hooks/useBatchFrameState */ "./node_modules/rc-overflow/es/hooks/useBatchFrameState.js");
97975
+ /* harmony import */ var _RawItem__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./RawItem */ "./node_modules/rc-overflow/es/RawItem.js");
97976
+
96936
97977
 
96937
97978
 
96938
97979
 
97980
+ var _excluded = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"];
96939
97981
 
96940
97982
 
96941
97983
 
@@ -96973,9 +98015,9 @@ function Overflow(props, ref) {
96973
98015
  Component = _props$component === void 0 ? 'div' : _props$component,
96974
98016
  itemComponent = props.itemComponent,
96975
98017
  onVisibleChange = props.onVisibleChange,
96976
- restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(props, ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]);
98018
+ restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(props, _excluded);
96977
98019
 
96978
- var createUseState = Object(_hooks_useBatchFrameState__WEBPACK_IMPORTED_MODULE_8__[/* useBatchFrameState */ "a"])();
98020
+ var createUseState = Object(_hooks_useBatchFrameState__WEBPACK_IMPORTED_MODULE_9__[/* useBatchFrameState */ "a"])();
96979
98021
  var fullySSR = ssr === 'full';
96980
98022
 
96981
98023
  var _createUseState = createUseState(null),
@@ -97117,7 +98159,7 @@ function Overflow(props, ref) {
97117
98159
  return itemWidths.get(getKey(mergedData[index], index));
97118
98160
  }
97119
98161
 
97120
- react__WEBPACK_IMPORTED_MODULE_4__["useLayoutEffect"](function () {
98162
+ Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(function () {
97121
98163
  if (mergedContainerWidth && mergedRestWidth && mergedData) {
97122
98164
  var totalWidth = suffixWidth;
97123
98165
  var len = mergedData.length;
@@ -97193,7 +98235,7 @@ function Overflow(props, ref) {
97193
98235
  }, renderRawItem(item, index));
97194
98236
  } : function (item, index) {
97195
98237
  var key = getKey(item, index);
97196
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, itemSharedProps, {
98238
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, itemSharedProps, {
97197
98239
  order: index,
97198
98240
  key: key,
97199
98241
  item: item,
@@ -97214,7 +98256,7 @@ function Overflow(props, ref) {
97214
98256
 
97215
98257
  if (!renderRawRest) {
97216
98258
  var mergedRenderRest = renderRest || defaultRenderRest;
97217
- restNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);
98259
+ restNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);
97218
98260
  } else if (renderRawRest) {
97219
98261
  restNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](OverflowContext.Provider, {
97220
98262
  value: Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, itemSharedProps), restContextProps)
@@ -97225,7 +98267,7 @@ function Overflow(props, ref) {
97225
98267
  className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(!invalidate && prefixCls, className),
97226
98268
  style: style,
97227
98269
  ref: ref
97228
- }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, itemSharedProps, {
98270
+ }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, itemSharedProps, {
97229
98271
  order: mergedDisplayCount,
97230
98272
  className: "".concat(itemPrefixCls, "-suffix"),
97231
98273
  registerSize: registerSuffixSize,
@@ -97244,7 +98286,7 @@ function Overflow(props, ref) {
97244
98286
 
97245
98287
  var ForwardOverflow = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"](Overflow);
97246
98288
  ForwardOverflow.displayName = 'Overflow';
97247
- ForwardOverflow.Item = _RawItem__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"];
98289
+ ForwardOverflow.Item = _RawItem__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"];
97248
98290
  ForwardOverflow.RESPONSIVE = RESPONSIVE;
97249
98291
  ForwardOverflow.INVALIDATE = INVALIDATE; // Convert to generic type
97250
98292
 
@@ -97271,6 +98313,9 @@ ForwardOverflow.INVALIDATE = INVALIDATE; // Convert to generic type
97271
98313
  /* harmony import */ var _Overflow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Overflow */ "./node_modules/rc-overflow/es/Overflow.js");
97272
98314
 
97273
98315
 
98316
+ var _excluded = ["component"],
98317
+ _excluded2 = ["className"],
98318
+ _excluded3 = ["className"];
97274
98319
 
97275
98320
 
97276
98321
 
@@ -97282,7 +98327,7 @@ var InternalRawItem = function InternalRawItem(props, ref) {
97282
98327
  if (!context) {
97283
98328
  var _props$component = props.component,
97284
98329
  Component = _props$component === void 0 ? 'div' : _props$component,
97285
- _restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(props, ["component"]);
98330
+ _restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(props, _excluded);
97286
98331
 
97287
98332
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"](Component, Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, _restProps, {
97288
98333
  ref: ref
@@ -97290,10 +98335,10 @@ var InternalRawItem = function InternalRawItem(props, ref) {
97290
98335
  }
97291
98336
 
97292
98337
  var contextClassName = context.className,
97293
- restContext = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(context, ["className"]);
98338
+ restContext = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(context, _excluded2);
97294
98339
 
97295
98340
  var className = props.className,
97296
- restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(props, ["className"]); // Do not pass context to sub item to avoid multiple measure
98341
+ restProps = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(props, _excluded3); // Do not pass context to sub item to avoid multiple measure
97297
98342
 
97298
98343
 
97299
98344
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"](_Overflow__WEBPACK_IMPORTED_MODULE_5__[/* OverflowContext */ "a"].Provider, {
@@ -106509,7 +107554,7 @@ var OptionList = function OptionList(_, ref) {
106509
107554
  return;
106510
107555
  }
106511
107556
 
106512
- onActiveValue(flattenItem.data.value, index, info);
107557
+ onActiveValue(flattenItem.value, index, info);
106513
107558
  }; // Auto active first item when list length or searchValue changed
106514
107559
 
106515
107560
 
@@ -106606,7 +107651,7 @@ var OptionList = function OptionList(_, ref) {
106606
107651
  var item = memoFlattenOptions[activeIndex];
106607
107652
 
106608
107653
  if (item && !item.data.disabled) {
106609
- onSelectValue(item.data.value);
107654
+ onSelectValue(item.value);
106610
107655
  } else {
106611
107656
  onSelectValue(undefined);
106612
107657
  }
@@ -117920,17 +118965,19 @@ var OptionList = function OptionList(_, ref) {
117920
118965
 
117921
118966
  case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"].ENTER:
117922
118967
  {
117923
- var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {},
117924
- selectable = _ref.selectable,
117925
- value = _ref.value;
117926
-
117927
- if (selectable !== false) {
117928
- onInternalSelect(null, {
117929
- node: {
117930
- key: activeKey
117931
- },
117932
- selected: !checkedKeys.includes(value)
117933
- });
118968
+ if (activeEntity) {
118969
+ var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {},
118970
+ selectable = _ref.selectable,
118971
+ value = _ref.value;
118972
+
118973
+ if (selectable !== false) {
118974
+ onInternalSelect(null, {
118975
+ node: {
118976
+ key: activeKey
118977
+ },
118978
+ selected: !checkedKeys.includes(value)
118979
+ });
118980
+ }
117934
118981
  }
117935
118982
 
117936
118983
  break;
@@ -118071,7 +119118,7 @@ var TreeNode = function TreeNode() {
118071
119118
 
118072
119119
 
118073
119120
 
118074
- var _excluded = ["id", "prefixCls", "value", "defaultValue", "onChange", "onSelect", "onDeselect", "searchValue", "inputValue", "onSearch", "autoClearSearchValue", "filterTreeNode", "treeNodeFilterProp", "showCheckedStrategy", "treeNodeLabelProp", "multiple", "treeCheckable", "treeCheckStrictly", "labelInValue", "fieldNames", "treeDataSimpleMode", "treeData", "children", "loadData", "treeLoadedKeys", "onTreeLoad", "treeDefaultExpandAll", "treeExpandedKeys", "treeDefaultExpandedKeys", "onTreeExpand", "virtual", "listHeight", "listItemHeight", "onDropdownVisibleChange", "treeLine", "treeIcon", "showTreeIcon", "switcherIcon", "treeMotion"];
119121
+ var _excluded = ["id", "prefixCls", "value", "defaultValue", "onChange", "onSelect", "onDeselect", "searchValue", "inputValue", "onSearch", "autoClearSearchValue", "filterTreeNode", "treeNodeFilterProp", "showCheckedStrategy", "treeNodeLabelProp", "multiple", "treeCheckable", "treeCheckStrictly", "labelInValue", "fieldNames", "treeDataSimpleMode", "treeData", "children", "loadData", "treeLoadedKeys", "onTreeLoad", "treeDefaultExpandAll", "treeExpandedKeys", "treeDefaultExpandedKeys", "onTreeExpand", "virtual", "listHeight", "listItemHeight", "onDropdownVisibleChange", "dropdownMatchSelectWidth", "treeLine", "treeIcon", "showTreeIcon", "switcherIcon", "treeMotion"];
118075
119122
 
118076
119123
 
118077
119124
 
@@ -118138,6 +119185,8 @@ var TreeSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["forwardRef"](f
118138
119185
  _props$listItemHeight = props.listItemHeight,
118139
119186
  listItemHeight = _props$listItemHeight === void 0 ? 20 : _props$listItemHeight,
118140
119187
  onDropdownVisibleChange = props.onDropdownVisibleChange,
119188
+ _props$dropdownMatchS = props.dropdownMatchSelectWidth,
119189
+ dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? true : _props$dropdownMatchS,
118141
119190
  treeLine = props.treeLine,
118142
119191
  treeIcon = props.treeIcon,
118143
119192
  showTreeIcon = props.showTreeIcon,
@@ -118558,7 +119607,8 @@ var TreeSelect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["forwardRef"](f
118558
119607
  ,
118559
119608
  OptionList: _OptionList__WEBPACK_IMPORTED_MODULE_11__[/* default */ "a"],
118560
119609
  emptyOptions: !mergedTreeData.length,
118561
- onDropdownVisibleChange: onInternalDropdownVisibleChange
119610
+ onDropdownVisibleChange: onInternalDropdownVisibleChange,
119611
+ dropdownMatchSelectWidth: dropdownMatchSelectWidth
118562
119612
  }))));
118563
119613
  }); // Assign name for Debug
118564
119614
 
@@ -125379,17 +126429,29 @@ function getOffset(node) {
125379
126429
  /*!***************************************************!*\
125380
126430
  !*** ./node_modules/rc-util/es/Dom/dynamicCSS.js ***!
125381
126431
  \***************************************************/
125382
- /*! exports provided: injectCSS, updateCSS */
126432
+ /*! exports provided: injectCSS, removeCSS, updateCSS */
125383
126433
  /*! exports used: updateCSS */
125384
126434
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
125385
126435
 
125386
126436
  "use strict";
125387
126437
  /* unused harmony export injectCSS */
126438
+ /* unused harmony export removeCSS */
125388
126439
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateCSS; });
125389
126440
  /* harmony import */ var _canUseDom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./canUseDom */ "./node_modules/rc-util/es/Dom/canUseDom.js");
125390
126441
 
125391
126442
  var MARK_KEY = "rc-util-key";
125392
126443
 
126444
+ function getMark() {
126445
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
126446
+ mark = _ref.mark;
126447
+
126448
+ if (mark) {
126449
+ return mark.startsWith('data-') ? mark : "data-".concat(mark);
126450
+ }
126451
+
126452
+ return MARK_KEY;
126453
+ }
126454
+
125393
126455
  function getContainer(option) {
125394
126456
  if (option.attachTo) {
125395
126457
  return option.attachTo;
@@ -125433,6 +126495,22 @@ function injectCSS(css) {
125433
126495
  return styleNode;
125434
126496
  }
125435
126497
  var containerCache = new Map();
126498
+
126499
+ function findExistNode(key) {
126500
+ var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
126501
+ var container = getContainer(option);
126502
+ return Array.from(containerCache.get(container).children).find(function (node) {
126503
+ return node.tagName === 'STYLE' && node.getAttribute(getMark(option)) === key;
126504
+ });
126505
+ }
126506
+
126507
+ function removeCSS(key) {
126508
+ var _existNode$parentNode;
126509
+
126510
+ var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
126511
+ var existNode = findExistNode(key, option);
126512
+ existNode === null || existNode === void 0 ? void 0 : (_existNode$parentNode = existNode.parentNode) === null || _existNode$parentNode === void 0 ? void 0 : _existNode$parentNode.removeChild(existNode);
126513
+ }
125436
126514
  function updateCSS(css, key) {
125437
126515
  var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
125438
126516
  var container = getContainer(option); // Get real parent
@@ -125444,9 +126522,7 @@ function updateCSS(css, key) {
125444
126522
  parentNode.removeChild(placeholderStyle);
125445
126523
  }
125446
126524
 
125447
- var existNode = Array.from(containerCache.get(container).children).find(function (node) {
125448
- return node.tagName === 'STYLE' && node[MARK_KEY] === key;
125449
- });
126525
+ var existNode = findExistNode(key, option);
125450
126526
 
125451
126527
  if (existNode) {
125452
126528
  var _option$csp3, _option$csp4;
@@ -125465,7 +126541,7 @@ function updateCSS(css, key) {
125465
126541
  }
125466
126542
 
125467
126543
  var newNode = injectCSS(css, option);
125468
- newNode[MARK_KEY] = key;
126544
+ newNode.setAttribute(getMark(option), key);
125469
126545
  return newNode;
125470
126546
  }
125471
126547
 
@@ -125524,7 +126600,8 @@ function focusable(node) {
125524
126600
  var nodeName = node.nodeName.toLowerCase();
125525
126601
  var isFocusableElement = // Focusable element
125526
126602
  ['input', 'select', 'textarea', 'button'].includes(nodeName) || // Editable element
125527
- node.isContentEditable || nodeName === 'a' && !!node.getAttribute('href'); // Get tabIndex
126603
+ node.isContentEditable || // Anchor with href element
126604
+ nodeName === 'a' && !!node.getAttribute('href'); // Get tabIndex
125528
126605
 
125529
126606
  var tabIndexAttr = node.getAttribute('tabindex');
125530
126607
  var tabIndexNum = Number(tabIndexAttr); // Parse as number if validate
@@ -125652,9 +126729,11 @@ function limitTabRange(node, e) {
125652
126729
  "use strict";
125653
126730
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ScrollLocker; });
125654
126731
  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
125655
- /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
125656
- /* harmony import */ var _getScrollBarSize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../getScrollBarSize */ "./node_modules/rc-util/es/getScrollBarSize.js");
125657
- /* harmony import */ var _setStyle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../setStyle */ "./node_modules/rc-util/es/setStyle.js");
126732
+ /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
126733
+ /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
126734
+ /* harmony import */ var _getScrollBarSize__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../getScrollBarSize */ "./node_modules/rc-util/es/getScrollBarSize.js");
126735
+ /* harmony import */ var _setStyle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../setStyle */ "./node_modules/rc-util/es/setStyle.js");
126736
+
125658
126737
 
125659
126738
 
125660
126739
 
@@ -125667,10 +126746,10 @@ var uuid = 0; // https://github.com/ant-design/ant-design/issues/19340
125667
126746
 
125668
126747
  var cacheStyle = new Map();
125669
126748
 
125670
- var ScrollLocker = function ScrollLocker(_options) {
126749
+ var ScrollLocker = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(function ScrollLocker(_options) {
125671
126750
  var _this = this;
125672
126751
 
125673
- Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(this, ScrollLocker);
126752
+ Object(_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, ScrollLocker);
125674
126753
 
125675
126754
  this.lockTarget = void 0;
125676
126755
  this.options = void 0;
@@ -125729,7 +126808,7 @@ var ScrollLocker = function ScrollLocker(_options) {
125729
126808
  var container = ((_this$options3 = _this.options) === null || _this$options3 === void 0 ? void 0 : _this$options3.container) || document.body;
125730
126809
 
125731
126810
  if (container === document.body && window.innerWidth - document.documentElement.clientWidth > 0 || container.scrollHeight > container.clientHeight) {
125732
- scrollBarSize = Object(_getScrollBarSize__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])();
126811
+ scrollBarSize = Object(_getScrollBarSize__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
125733
126812
  }
125734
126813
 
125735
126814
  var containerClassName = container.className;
@@ -125740,7 +126819,7 @@ var ScrollLocker = function ScrollLocker(_options) {
125740
126819
  var options = _ref4.options;
125741
126820
  return (options === null || options === void 0 ? void 0 : options.container) === ((_this$options4 = _this.options) === null || _this$options4 === void 0 ? void 0 : _this$options4.container);
125742
126821
  }).length === 0) {
125743
- cacheStyle.set(container, Object(_setStyle__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])({
126822
+ cacheStyle.set(container, Object(_setStyle__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])({
125744
126823
  width: scrollBarSize !== 0 ? "calc(100% - ".concat(scrollBarSize, "px)") : undefined,
125745
126824
  overflow: 'hidden',
125746
126825
  overflowX: 'hidden',
@@ -125787,7 +126866,7 @@ var ScrollLocker = function ScrollLocker(_options) {
125787
126866
  var container = ((_this$options5 = _this.options) === null || _this$options5 === void 0 ? void 0 : _this$options5.container) || document.body;
125788
126867
  var containerClassName = container.className;
125789
126868
  if (!scrollingEffectClassNameReg.test(containerClassName)) return;
125790
- Object(_setStyle__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(cacheStyle.get(container), {
126869
+ Object(_setStyle__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(cacheStyle.get(container), {
125791
126870
  element: container
125792
126871
  });
125793
126872
  cacheStyle.delete(container);
@@ -125797,7 +126876,7 @@ var ScrollLocker = function ScrollLocker(_options) {
125797
126876
  // eslint-disable-next-line no-plusplus
125798
126877
  this.lockTarget = uuid++;
125799
126878
  this.options = _options;
125800
- };
126879
+ });
125801
126880
 
125802
126881
 
125803
126882
 
@@ -126396,7 +127475,8 @@ var KeyCode = {
126396
127475
  isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {
126397
127476
  var keyCode = e.keyCode;
126398
127477
 
126399
- if (e.altKey && !e.ctrlKey || e.metaKey || keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {
127478
+ if (e.altKey && !e.ctrlKey || e.metaKey || // Function keys don't generate text
127479
+ keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {
126400
127480
  return false;
126401
127481
  } // The following keys are quite harmless, even in combination with
126402
127482
  // CTRL, ALT or SHIFT.
@@ -127101,7 +128181,9 @@ function pickAttrs(props) {
127101
128181
  var attrs = {};
127102
128182
  Object.keys(props).forEach(function (key) {
127103
128183
  if ( // Aria
127104
- mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || mergedConfig.data && match(key, dataPrefix) || mergedConfig.attr && propList.includes(key)) {
128184
+ mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || // Data
128185
+ mergedConfig.data && match(key, dataPrefix) || // Attr
128186
+ mergedConfig.attr && propList.includes(key)) {
127105
128187
  attrs[key] = props[key];
127106
128188
  }
127107
128189
  });
@@ -128944,6 +130026,469 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
128944
130026
  var isFF = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
128945
130027
  /* harmony default export */ __webpack_exports__["a"] = (isFF);
128946
130028
 
130029
+ /***/ }),
130030
+
130031
+ /***/ "./node_modules/react-infinite-scroller/dist/InfiniteScroll.js":
130032
+ /*!*********************************************************************!*\
130033
+ !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***!
130034
+ \*********************************************************************/
130035
+ /*! no static exports found */
130036
+ /*! all exports used */
130037
+ /***/ (function(module, exports, __webpack_require__) {
130038
+
130039
+ "use strict";
130040
+
130041
+
130042
+ Object.defineProperty(exports, '__esModule', {
130043
+ value: true
130044
+ });
130045
+
130046
+ var _createClass = (function() {
130047
+ function defineProperties(target, props) {
130048
+ for (var i = 0; i < props.length; i++) {
130049
+ var descriptor = props[i];
130050
+ descriptor.enumerable = descriptor.enumerable || false;
130051
+ descriptor.configurable = true;
130052
+ if ('value' in descriptor) descriptor.writable = true;
130053
+ Object.defineProperty(target, descriptor.key, descriptor);
130054
+ }
130055
+ }
130056
+ return function(Constructor, protoProps, staticProps) {
130057
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
130058
+ if (staticProps) defineProperties(Constructor, staticProps);
130059
+ return Constructor;
130060
+ };
130061
+ })();
130062
+
130063
+ var _react = __webpack_require__(/*! react */ "react");
130064
+
130065
+ var _react2 = _interopRequireDefault(_react);
130066
+
130067
+ var _propTypes = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
130068
+
130069
+ var _propTypes2 = _interopRequireDefault(_propTypes);
130070
+
130071
+ function _interopRequireDefault(obj) {
130072
+ return obj && obj.__esModule ? obj : { default: obj };
130073
+ }
130074
+
130075
+ function _objectWithoutProperties(obj, keys) {
130076
+ var target = {};
130077
+ for (var i in obj) {
130078
+ if (keys.indexOf(i) >= 0) continue;
130079
+ if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
130080
+ target[i] = obj[i];
130081
+ }
130082
+ return target;
130083
+ }
130084
+
130085
+ function _classCallCheck(instance, Constructor) {
130086
+ if (!(instance instanceof Constructor)) {
130087
+ throw new TypeError('Cannot call a class as a function');
130088
+ }
130089
+ }
130090
+
130091
+ function _possibleConstructorReturn(self, call) {
130092
+ if (!self) {
130093
+ throw new ReferenceError(
130094
+ "this hasn't been initialised - super() hasn't been called"
130095
+ );
130096
+ }
130097
+ return call && (typeof call === 'object' || typeof call === 'function')
130098
+ ? call
130099
+ : self;
130100
+ }
130101
+
130102
+ function _inherits(subClass, superClass) {
130103
+ if (typeof superClass !== 'function' && superClass !== null) {
130104
+ throw new TypeError(
130105
+ 'Super expression must either be null or a function, not ' +
130106
+ typeof superClass
130107
+ );
130108
+ }
130109
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
130110
+ constructor: {
130111
+ value: subClass,
130112
+ enumerable: false,
130113
+ writable: true,
130114
+ configurable: true
130115
+ }
130116
+ });
130117
+ if (superClass)
130118
+ Object.setPrototypeOf
130119
+ ? Object.setPrototypeOf(subClass, superClass)
130120
+ : (subClass.__proto__ = superClass);
130121
+ }
130122
+
130123
+ var InfiniteScroll = (function(_Component) {
130124
+ _inherits(InfiniteScroll, _Component);
130125
+
130126
+ function InfiniteScroll(props) {
130127
+ _classCallCheck(this, InfiniteScroll);
130128
+
130129
+ var _this = _possibleConstructorReturn(
130130
+ this,
130131
+ (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(
130132
+ this,
130133
+ props
130134
+ )
130135
+ );
130136
+
130137
+ _this.scrollListener = _this.scrollListener.bind(_this);
130138
+ _this.eventListenerOptions = _this.eventListenerOptions.bind(_this);
130139
+ _this.mousewheelListener = _this.mousewheelListener.bind(_this);
130140
+ return _this;
130141
+ }
130142
+
130143
+ _createClass(InfiniteScroll, [
130144
+ {
130145
+ key: 'componentDidMount',
130146
+ value: function componentDidMount() {
130147
+ this.pageLoaded = this.props.pageStart;
130148
+ this.options = this.eventListenerOptions();
130149
+ this.attachScrollListener();
130150
+ }
130151
+ },
130152
+ {
130153
+ key: 'componentDidUpdate',
130154
+ value: function componentDidUpdate() {
130155
+ if (this.props.isReverse && this.loadMore) {
130156
+ var parentElement = this.getParentElement(this.scrollComponent);
130157
+ parentElement.scrollTop =
130158
+ parentElement.scrollHeight -
130159
+ this.beforeScrollHeight +
130160
+ this.beforeScrollTop;
130161
+ this.loadMore = false;
130162
+ }
130163
+ this.attachScrollListener();
130164
+ }
130165
+ },
130166
+ {
130167
+ key: 'componentWillUnmount',
130168
+ value: function componentWillUnmount() {
130169
+ this.detachScrollListener();
130170
+ this.detachMousewheelListener();
130171
+ }
130172
+ },
130173
+ {
130174
+ key: 'isPassiveSupported',
130175
+ value: function isPassiveSupported() {
130176
+ var passive = false;
130177
+
130178
+ var testOptions = {
130179
+ get passive() {
130180
+ passive = true;
130181
+ }
130182
+ };
130183
+
130184
+ try {
130185
+ document.addEventListener('test', null, testOptions);
130186
+ document.removeEventListener('test', null, testOptions);
130187
+ } catch (e) {
130188
+ // ignore
130189
+ }
130190
+ return passive;
130191
+ }
130192
+ },
130193
+ {
130194
+ key: 'eventListenerOptions',
130195
+ value: function eventListenerOptions() {
130196
+ var options = this.props.useCapture;
130197
+
130198
+ if (this.isPassiveSupported()) {
130199
+ options = {
130200
+ useCapture: this.props.useCapture,
130201
+ passive: true
130202
+ };
130203
+ } else {
130204
+ options = {
130205
+ passive: false
130206
+ };
130207
+ }
130208
+ return options;
130209
+ }
130210
+
130211
+ // Set a defaut loader for all your `InfiniteScroll` components
130212
+ },
130213
+ {
130214
+ key: 'setDefaultLoader',
130215
+ value: function setDefaultLoader(loader) {
130216
+ this.defaultLoader = loader;
130217
+ }
130218
+ },
130219
+ {
130220
+ key: 'detachMousewheelListener',
130221
+ value: function detachMousewheelListener() {
130222
+ var scrollEl = window;
130223
+ if (this.props.useWindow === false) {
130224
+ scrollEl = this.scrollComponent.parentNode;
130225
+ }
130226
+
130227
+ scrollEl.removeEventListener(
130228
+ 'mousewheel',
130229
+ this.mousewheelListener,
130230
+ this.options ? this.options : this.props.useCapture
130231
+ );
130232
+ }
130233
+ },
130234
+ {
130235
+ key: 'detachScrollListener',
130236
+ value: function detachScrollListener() {
130237
+ var scrollEl = window;
130238
+ if (this.props.useWindow === false) {
130239
+ scrollEl = this.getParentElement(this.scrollComponent);
130240
+ }
130241
+
130242
+ scrollEl.removeEventListener(
130243
+ 'scroll',
130244
+ this.scrollListener,
130245
+ this.options ? this.options : this.props.useCapture
130246
+ );
130247
+ scrollEl.removeEventListener(
130248
+ 'resize',
130249
+ this.scrollListener,
130250
+ this.options ? this.options : this.props.useCapture
130251
+ );
130252
+ }
130253
+ },
130254
+ {
130255
+ key: 'getParentElement',
130256
+ value: function getParentElement(el) {
130257
+ var scrollParent =
130258
+ this.props.getScrollParent && this.props.getScrollParent();
130259
+ if (scrollParent != null) {
130260
+ return scrollParent;
130261
+ }
130262
+ return el && el.parentNode;
130263
+ }
130264
+ },
130265
+ {
130266
+ key: 'filterProps',
130267
+ value: function filterProps(props) {
130268
+ return props;
130269
+ }
130270
+ },
130271
+ {
130272
+ key: 'attachScrollListener',
130273
+ value: function attachScrollListener() {
130274
+ var parentElement = this.getParentElement(this.scrollComponent);
130275
+
130276
+ if (!this.props.hasMore || !parentElement) {
130277
+ return;
130278
+ }
130279
+
130280
+ var scrollEl = window;
130281
+ if (this.props.useWindow === false) {
130282
+ scrollEl = parentElement;
130283
+ }
130284
+
130285
+ scrollEl.addEventListener(
130286
+ 'mousewheel',
130287
+ this.mousewheelListener,
130288
+ this.options ? this.options : this.props.useCapture
130289
+ );
130290
+ scrollEl.addEventListener(
130291
+ 'scroll',
130292
+ this.scrollListener,
130293
+ this.options ? this.options : this.props.useCapture
130294
+ );
130295
+ scrollEl.addEventListener(
130296
+ 'resize',
130297
+ this.scrollListener,
130298
+ this.options ? this.options : this.props.useCapture
130299
+ );
130300
+
130301
+ if (this.props.initialLoad) {
130302
+ this.scrollListener();
130303
+ }
130304
+ }
130305
+ },
130306
+ {
130307
+ key: 'mousewheelListener',
130308
+ value: function mousewheelListener(e) {
130309
+ // Prevents Chrome hangups
130310
+ // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257
130311
+ if (e.deltaY === 1 && !this.isPassiveSupported()) {
130312
+ e.preventDefault();
130313
+ }
130314
+ }
130315
+ },
130316
+ {
130317
+ key: 'scrollListener',
130318
+ value: function scrollListener() {
130319
+ var el = this.scrollComponent;
130320
+ var scrollEl = window;
130321
+ var parentNode = this.getParentElement(el);
130322
+
130323
+ var offset = void 0;
130324
+ if (this.props.useWindow) {
130325
+ var doc =
130326
+ document.documentElement ||
130327
+ document.body.parentNode ||
130328
+ document.body;
130329
+ var scrollTop =
130330
+ scrollEl.pageYOffset !== undefined
130331
+ ? scrollEl.pageYOffset
130332
+ : doc.scrollTop;
130333
+ if (this.props.isReverse) {
130334
+ offset = scrollTop;
130335
+ } else {
130336
+ offset = this.calculateOffset(el, scrollTop);
130337
+ }
130338
+ } else if (this.props.isReverse) {
130339
+ offset = parentNode.scrollTop;
130340
+ } else {
130341
+ offset =
130342
+ el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight;
130343
+ }
130344
+
130345
+ // Here we make sure the element is visible as well as checking the offset
130346
+ if (
130347
+ offset < Number(this.props.threshold) &&
130348
+ el &&
130349
+ el.offsetParent !== null
130350
+ ) {
130351
+ this.detachScrollListener();
130352
+ this.beforeScrollHeight = parentNode.scrollHeight;
130353
+ this.beforeScrollTop = parentNode.scrollTop;
130354
+ // Call loadMore after detachScrollListener to allow for non-async loadMore functions
130355
+ if (typeof this.props.loadMore === 'function') {
130356
+ this.props.loadMore((this.pageLoaded += 1));
130357
+ this.loadMore = true;
130358
+ }
130359
+ }
130360
+ }
130361
+ },
130362
+ {
130363
+ key: 'calculateOffset',
130364
+ value: function calculateOffset(el, scrollTop) {
130365
+ if (!el) {
130366
+ return 0;
130367
+ }
130368
+
130369
+ return (
130370
+ this.calculateTopPosition(el) +
130371
+ (el.offsetHeight - scrollTop - window.innerHeight)
130372
+ );
130373
+ }
130374
+ },
130375
+ {
130376
+ key: 'calculateTopPosition',
130377
+ value: function calculateTopPosition(el) {
130378
+ if (!el) {
130379
+ return 0;
130380
+ }
130381
+ return el.offsetTop + this.calculateTopPosition(el.offsetParent);
130382
+ }
130383
+ },
130384
+ {
130385
+ key: 'render',
130386
+ value: function render() {
130387
+ var _this2 = this;
130388
+
130389
+ var renderProps = this.filterProps(this.props);
130390
+
130391
+ var children = renderProps.children,
130392
+ element = renderProps.element,
130393
+ hasMore = renderProps.hasMore,
130394
+ initialLoad = renderProps.initialLoad,
130395
+ isReverse = renderProps.isReverse,
130396
+ loader = renderProps.loader,
130397
+ loadMore = renderProps.loadMore,
130398
+ pageStart = renderProps.pageStart,
130399
+ ref = renderProps.ref,
130400
+ threshold = renderProps.threshold,
130401
+ useCapture = renderProps.useCapture,
130402
+ useWindow = renderProps.useWindow,
130403
+ getScrollParent = renderProps.getScrollParent,
130404
+ props = _objectWithoutProperties(renderProps, [
130405
+ 'children',
130406
+ 'element',
130407
+ 'hasMore',
130408
+ 'initialLoad',
130409
+ 'isReverse',
130410
+ 'loader',
130411
+ 'loadMore',
130412
+ 'pageStart',
130413
+ 'ref',
130414
+ 'threshold',
130415
+ 'useCapture',
130416
+ 'useWindow',
130417
+ 'getScrollParent'
130418
+ ]);
130419
+
130420
+ props.ref = function(node) {
130421
+ _this2.scrollComponent = node;
130422
+ if (ref) {
130423
+ ref(node);
130424
+ }
130425
+ };
130426
+
130427
+ var childrenArray = [children];
130428
+ if (hasMore) {
130429
+ if (loader) {
130430
+ isReverse
130431
+ ? childrenArray.unshift(loader)
130432
+ : childrenArray.push(loader);
130433
+ } else if (this.defaultLoader) {
130434
+ isReverse
130435
+ ? childrenArray.unshift(this.defaultLoader)
130436
+ : childrenArray.push(this.defaultLoader);
130437
+ }
130438
+ }
130439
+ return _react2.default.createElement(element, props, childrenArray);
130440
+ }
130441
+ }
130442
+ ]);
130443
+
130444
+ return InfiniteScroll;
130445
+ })(_react.Component);
130446
+
130447
+ InfiniteScroll.propTypes = {
130448
+ children: _propTypes2.default.node.isRequired,
130449
+ element: _propTypes2.default.node,
130450
+ hasMore: _propTypes2.default.bool,
130451
+ initialLoad: _propTypes2.default.bool,
130452
+ isReverse: _propTypes2.default.bool,
130453
+ loader: _propTypes2.default.node,
130454
+ loadMore: _propTypes2.default.func.isRequired,
130455
+ pageStart: _propTypes2.default.number,
130456
+ ref: _propTypes2.default.func,
130457
+ getScrollParent: _propTypes2.default.func,
130458
+ threshold: _propTypes2.default.number,
130459
+ useCapture: _propTypes2.default.bool,
130460
+ useWindow: _propTypes2.default.bool
130461
+ };
130462
+ InfiniteScroll.defaultProps = {
130463
+ element: 'div',
130464
+ hasMore: false,
130465
+ initialLoad: true,
130466
+ pageStart: 0,
130467
+ ref: null,
130468
+ threshold: 250,
130469
+ useWindow: true,
130470
+ isReverse: false,
130471
+ useCapture: false,
130472
+ loader: null,
130473
+ getScrollParent: null
130474
+ };
130475
+ exports.default = InfiniteScroll;
130476
+ module.exports = exports['default'];
130477
+
130478
+
130479
+ /***/ }),
130480
+
130481
+ /***/ "./node_modules/react-infinite-scroller/index.js":
130482
+ /*!*******************************************************!*\
130483
+ !*** ./node_modules/react-infinite-scroller/index.js ***!
130484
+ \*******************************************************/
130485
+ /*! no static exports found */
130486
+ /*! exports used: default */
130487
+ /***/ (function(module, exports, __webpack_require__) {
130488
+
130489
+ module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ "./node_modules/react-infinite-scroller/dist/InfiniteScroll.js")
130490
+
130491
+
128947
130492
  /***/ }),
128948
130493
 
128949
130494
  /***/ "./node_modules/react-is/cjs/react-is.development.js":
@@ -129145,7 +130690,7 @@ exports.typeOf = typeOf;
129145
130690
  !*** ./node_modules/react-is/index.js ***!
129146
130691
  \****************************************/
129147
130692
  /*! no static exports found */
129148
- /*! exports used: isFragment, isMemo */
130693
+ /*! all exports used */
129149
130694
  /***/ (function(module, exports, __webpack_require__) {
129150
130695
 
129151
130696
  "use strict";
@@ -130925,13 +132470,13 @@ function getOptions(options) {
130925
132470
  }
130926
132471
 
130927
132472
  function scrollIntoView(target, options) {
130928
- var targetIsDetached = !target.ownerDocument.documentElement.contains(target);
132473
+ var isTargetAttached = target.isConnected || target.ownerDocument.documentElement.contains(target);
130929
132474
 
130930
132475
  if (isOptionsObject(options) && typeof options.behavior === 'function') {
130931
- return options.behavior(targetIsDetached ? [] : Object(compute_scroll_into_view__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, options));
132476
+ return options.behavior(isTargetAttached ? Object(compute_scroll_into_view__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(target, options) : []);
130932
132477
  }
130933
132478
 
130934
- if (targetIsDetached) {
132479
+ if (!isTargetAttached) {
130935
132480
  return;
130936
132481
  }
130937
132482
 
@@ -131250,7 +132795,7 @@ getLang();
131250
132795
 
131251
132796
  var CommonList = function CommonList(_ref) {
131252
132797
  var _ref$type = _ref.type,
131253
- type = _ref$type === void 0 ? 'member' : _ref$type,
132798
+ type = _ref$type === void 0 ? "member" : _ref$type,
131254
132799
  title = _ref.title,
131255
132800
  _ref$showCheckAll = _ref.showCheckAll,
131256
132801
  showCheckAll = _ref$showCheckAll === void 0 ? false : _ref$showCheckAll,
@@ -131354,8 +132899,8 @@ var CommonList = function CommonList(_ref) {
131354
132899
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_CommonListItem__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
131355
132900
  type: type,
131356
132901
  item: item
131357
- }))), type === 'partner' && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", {
131358
- className: "partnerView ".concat(isPartnerDisabled(item.id.toString()) ? 'disabled' : ''),
132902
+ }))), type === "partner" && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", {
132903
+ className: "partnerView ".concat(isPartnerDisabled(item.id.toString()) ? "disabled" : ""),
131359
132904
  onClick: function onClick() {
131360
132905
  return handleClickPartner(item.id, item.name);
131361
132906
  }
@@ -131398,13 +132943,190 @@ var CommonItem = function CommonItem(_ref) {
131398
132943
  className: "commonNameBox"
131399
132944
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131400
132945
  className: "commonName"
131401
- }, item.name_nick || item.name)), type === "member" && userOrg));
132946
+ }, item.name_nick || item.name), (item.external_tag === 1 || item.external_flag === 1 || type === "contact") && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
132947
+ className: "tagContact"
132948
+ }, "\u5916\u90E8")), (type === "member" || type === "contact") && userOrg));
131402
132949
  };
131403
132950
 
131404
132951
  /* harmony default export */ __webpack_exports__["a"] = (CommonItem);
131405
132952
 
131406
132953
  /***/ }),
131407
132954
 
132955
+ /***/ "./src/components/complex-picker/ExternalContact.tsx":
132956
+ /*!***********************************************************!*\
132957
+ !*** ./src/components/complex-picker/ExternalContact.tsx ***!
132958
+ \***********************************************************/
132959
+ /*! exports provided: default */
132960
+ /*! exports used: default */
132961
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
132962
+
132963
+ "use strict";
132964
+ /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/extends.js");
132965
+ /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
132966
+ /* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/@babel/runtime/helpers/slicedToArray.js");
132967
+ /* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__);
132968
+ /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
132969
+ /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);
132970
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
132971
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
132972
+ /* harmony import */ var react_infinite_scroller__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-infinite-scroller */ "./node_modules/react-infinite-scroller/index.js");
132973
+ /* harmony import */ var react_infinite_scroller__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_infinite_scroller__WEBPACK_IMPORTED_MODULE_4__);
132974
+ /* harmony import */ var _PageTitle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./PageTitle */ "./src/components/complex-picker/PageTitle.tsx");
132975
+ /* harmony import */ var _CommonList__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CommonList */ "./src/components/complex-picker/CommonList.tsx");
132976
+ /* harmony import */ var _util_locale__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../_util/locale */ "./src/_util/locale.ts");
132977
+
132978
+
132979
+
132980
+
132981
+ var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
132982
+ function adopt(value) {
132983
+ return value instanceof P ? value : new P(function (resolve) {
132984
+ resolve(value);
132985
+ });
132986
+ }
132987
+
132988
+ return new (P || (P = Promise))(function (resolve, reject) {
132989
+ function fulfilled(value) {
132990
+ try {
132991
+ step(generator.next(value));
132992
+ } catch (e) {
132993
+ reject(e);
132994
+ }
132995
+ }
132996
+
132997
+ function rejected(value) {
132998
+ try {
132999
+ step(generator["throw"](value));
133000
+ } catch (e) {
133001
+ reject(e);
133002
+ }
133003
+ }
133004
+
133005
+ function step(result) {
133006
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
133007
+ }
133008
+
133009
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
133010
+ });
133011
+ };
133012
+
133013
+
133014
+
133015
+
133016
+
133017
+
133018
+
133019
+ var ExternalContact = function ExternalContact(_ref) {
133020
+ var prePage = _ref.prePage,
133021
+ onChangeCurPage = _ref.onChangeCurPage,
133022
+ currentList = _ref.currentList,
133023
+ setCurrentList = _ref.setCurrentList,
133024
+ getContactList = _ref.getContactList,
133025
+ disabledids = _ref.disabledids,
133026
+ requiredList = _ref.requiredList;
133027
+
133028
+ var _useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])([]),
133029
+ _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),
133030
+ contactList = _useState2[0],
133031
+ setContactList = _useState2[1];
133032
+
133033
+ var _useState3 = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(true),
133034
+ _useState4 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2),
133035
+ more = _useState4[0],
133036
+ setMore = _useState4[1];
133037
+
133038
+ var _useState5 = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(0),
133039
+ _useState6 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState5, 2),
133040
+ lastid = _useState6[0],
133041
+ setLastid = _useState6[1];
133042
+
133043
+ var pageSize = 20;
133044
+ Object(react__WEBPACK_IMPORTED_MODULE_3__["useEffect"])(function () {
133045
+ console.log("useEffect");
133046
+ loadContactList();
133047
+ }, []);
133048
+
133049
+ var loadContactList = function loadContactList() {
133050
+ return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee() {
133051
+ var _yield$getContactList, result, last_id;
133052
+
133053
+ return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee$(_context) {
133054
+ while (1) {
133055
+ switch (_context.prev = _context.next) {
133056
+ case 0:
133057
+ if (!getContactList) {
133058
+ _context.next = 9;
133059
+ break;
133060
+ }
133061
+
133062
+ _context.next = 3;
133063
+ return getContactList(lastid, pageSize);
133064
+
133065
+ case 3:
133066
+ _yield$getContactList = _context.sent;
133067
+ result = _yield$getContactList.list;
133068
+ last_id = _yield$getContactList.last_id;
133069
+
133070
+ // last_id 为 0 代表请求完所有数据了
133071
+ if (last_id === 0) {
133072
+ setMore(false);
133073
+ }
133074
+
133075
+ setLastid(last_id);
133076
+
133077
+ if (contactList) {
133078
+ setContactList(function (prev) {
133079
+ return prev.concat(result);
133080
+ });
133081
+ } else {
133082
+ setContactList(result);
133083
+ }
133084
+
133085
+ case 9:
133086
+ case "end":
133087
+ return _context.stop();
133088
+ }
133089
+ }
133090
+ }, _callee);
133091
+ }));
133092
+ };
133093
+ /**
133094
+ * pageTitle 返回
133095
+ * prePage: home
133096
+ */
133097
+
133098
+
133099
+ var onBack = function onBack() {
133100
+ onChangeCurPage(prePage);
133101
+ };
133102
+
133103
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div", {
133104
+ className: "externalContact"
133105
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_PageTitle__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
133106
+ title: Object(_util_locale__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])("useradd_type_contact"),
133107
+ onBack: onBack
133108
+ })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div", {
133109
+ className: "contactList"
133110
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(react_infinite_scroller__WEBPACK_IMPORTED_MODULE_4___default.a, {
133111
+ initialLoad: false,
133112
+ loadMore: loadContactList,
133113
+ hasMore: more,
133114
+ useWindow: false
133115
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_CommonList__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
133116
+ type: "contact",
133117
+ showCheckAll: true,
133118
+ list: contactList,
133119
+ currentList: currentList,
133120
+ setCurrentList: setCurrentList,
133121
+ disabledids: disabledids,
133122
+ requiredList: requiredList
133123
+ })))));
133124
+ };
133125
+
133126
+ /* harmony default export */ __webpack_exports__["a"] = (ExternalContact);
133127
+
133128
+ /***/ }),
133129
+
131408
133130
  /***/ "./src/components/complex-picker/GroupList.tsx":
131409
133131
  /*!*****************************************************!*\
131410
133132
  !*** ./src/components/complex-picker/GroupList.tsx ***!
@@ -131453,7 +133175,9 @@ var GroupList = function GroupList(_ref) {
131453
133175
  className: "groupNameBox"
131454
133176
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131455
133177
  className: "groupName"
131456
- }, item.name_nick || item.name)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
133178
+ }, item.name_nick || item.name), item.external_tag === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
133179
+ className: "tagContact"
133180
+ }, "\u5916\u90E8")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131457
133181
  className: "memberNum"
131458
133182
  }, item.group_users_count, Object(_util_locale__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])("common_persion"))));
131459
133183
  })));
@@ -131557,6 +133281,9 @@ var MyPartnerImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAA
131557
133281
  /* babel-plugin-inline-import './assets/imgs/recent-session.png' */
131558
133282
  var RecentSessionImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAARKADAAQAAAABAAAARAAAAADA2cO/AAAJn0lEQVR4Ae1cC4xcZRU+587sTlu6tj5aqQ1GWhR5aLDTlYeAtChSo0StbaMSsd3dGh9VQIgKBlujBpBWCdGSfWnQECklUYouSU1bLbGF7tQ0QQWtxQcNbcWU7SLLbGfu8Tv/zKx779x75752u9vsn9zd+5///Oc/57v/4/yvYRqnIN2XnkNSuoTYPpeE3o5iEZfZxNxCJHg08CBog6C9hMhBYnqGxHqWOLuX2/ccNCxj/IfHSr78elmODv/7wzD2QyhjKQw9K1FZzP9C/h0A7TGaP2cbf7CvmEieT+bUAZHe/CIqyVp83VWoCbN9yk1GZnoJsh+iLHfymsL+ZMKcuVMDRHryl5Mtt0PRa51FjHGM6XGy+DvcVngijZISA1LpG4r3jTsQbusVGM6tS9rXxAZEtqxopoHnbiOxvwbdcm79TlG8SGzdSbPO/i6vfHg4jg6xAJGf5BfSSXkItSIfp9Axz8NUoCZexZ8p/C1qWVbUDNKzeDkN0/4JC4YapB8KOhpdIxoYCRDpXnwT2fbDKPE1Ecs5BezQEboanSOUHhoQ6c7fiQI2Af1YzSyCTumxqq7Q2egeUmoo4ypgyFdDypyYbBbfxe0FHQACQ0NAqs1kU6CUyZJoWTdze//3g9QNBMR0StpnTKZmEmytkGWt4Lb+R/zYfAExQ6uOJpOiA/Uzz4vOJ6iZFvkNyZ6dqnG61M847cBQgDD6wDZjowdenoBUPNAJ6nR5GBGZpH6Ketkeoa7JmLmJXXwavBPFHfdQOxVSkazche65T30NEUzUTn8wFNEcVWx1oOuoIWYKX5bdDo60IsxliCpggec3mBDugcv0AmUyx2hm9kUqDZ9B/22aQ5nyXCrZ5yHtavAuwaLS69Mq3ldOhq8YvXSQdTDa9A1HPI0I8/MQ8wPKtvTw6l26NOgVhkB8Ec+f8fwWz/0iwtTd+l50grfiWTZmQ7+u4RAtw2PCSA2prnThC6YWjmPMv4Uukp/y4sLJJFLhHF4IF1wdqvclkeObN8v52srb//sQXfZLKzBvp1zuHfAKe5OCoSpBztPUUbgGK2M3YgH61bTUHJEzynZTQyoLwkePoFqmsAbK91JH/03MLCMFpvgiP25tpZP2djSjWamJ1TXa+W88UxeuKzVEV8fTAIN5M68t3DhWYCgAvHrfPnTG2uZfTg0Qtd3sEBBVm4xguyBp4F9Re/8XkkoJk5/bntoDvk+E4Q3PY7ZLaoBgiEsSGBtMWetzY1kz3Orx2v2PgfZzNz1BfKnmtSqr5gk3kUju4DX7dCNpfMO0aV9GJzuYSqHYSFMssmZ7MZFEHqLp2V4/EdLZehFZ9jKyKePHE0hnOU4zZjzIn3riuJuPP/37Y9K1aCvoq91pseLYaoVjVtZ91viB6Rd8/ZMnvATIzquy9NcTOwDGa73SQ9F0rHpl6AL8/bwP/89ATwcQ7DujU+VzfQoKSeZtfoy8ZFcJVXo7XPH4Q7A2Cebf+ZVB7dftQlo6Iw424VFDsAufKNjPBWXnjsIq6c9fT4cWGJ8niNczbcUFJeb1tmcaiJomnYv+idfz/Xgi0LUPwZGEJMGarsoEhoq3GndWgF2PhkHnS5IcEGBhAeKWhuUFMeRK6VTXoDIap73SmCUEB7BAH1I7rBIigxfL0DhM0b3KddBkviMaOyIt2ockC1LSESCwH5EH8m+mYibesNtMJ/iGp/4TqCTzWWj6gSxhEwGIOjYJvjJbV6Iw9Ro9g3Tmd9OrcjlRyTO9IXGYy9KVX4fOebMXb3Vp4EyvtOg0HrSAbDJPT2S1bMvP8Crc+CGccBQTQc3it3nJNzSxl6Mf3I3H96P45nUnAIssBOF4UpLqJm+gI8Yx+qFbvvoh0nVxK3F5KYyK12TYPk5vmtPnlq1x2XLpdBoYbsfbRqLsL+FkXo336V68oWjAglEdsTMnHw+VwY+J+RDNWnBe3EMqfmIb0eG248AO305N1kIsCxxB8/weALmlUT7fdOatOso868sQNkFkAQ0cqqshYbPH4ZPei8+H//t15L1HwTAyWB6NI2skD46BApDMMyOEJC8i7fhC65KICJsXs9LXUakE4/kozW5BraiFpr/U3mL9x5lYOGbZvbEye2faJF2tH/NOSocqD1w2l2S4D/OjuZTNXscrd708IrlZYg5lVQnAwjI7V5VDsSNy478IhvHyVulafLcZYeIL8sxpmkmxuBd9Htx0Xs5rnvyTg3G49FZHPEoEGCgWaDIm4IRwSkGPToh9Kx0c3CFb8qksBOsiOA7t3EHlUgF9Xg7bG1dyRz8Wml1BuNVFiRI1GFQBSWEMdxctcgUNZt7iJkeJS897WuB4fZGeP/ZHHAregLyPUG7au7At8Qe3HJH1aP7yJTc9dNyqLGNUXHecHafDR/W4dLKZb+jS/Rml691noxZcRVJeQuWhj4JzJnylHdiT6cCW407fnF2PtiHtHN/0oATdhpg3xzh2BhDdj8CaAs6D0GeD8iVNM01ogO4B8J+E0X+HoTpH0Y2nGaCp+z0PS5rq9dpIOwDa/cRNvdyxV7c4fQP8kUvAe58vQ6MEnJuvXSao1BDNwNQFoWMGCPqAj+A7/AhAzKvqBz9ilIfM1IlTyDvRP7xAfMaBgH1gh3nYoL8G8D0IuTlHQpQILhHU2B2rWPBaH4eSH6glJv5vWW2Ukz7UgXshd0WwPCxWEzbbZzdv5pV79L1hAMg3oG/pBWNtcGiYp44BZ+S5Y//IZrdTkEXfrsuQhGDbPZjpHm4MhhaicxDMSQaK/0DzvQvNYKl70ugxlL8TGZ02RNUXNylGZ3HUEE2AIn1oOteOZjq17zgkxzQAULFyz9PQt9yNC0TfMv1ed34jasjNsfVz1Q6VU48urliAXoxdSOoZcUiuchtrJj4X1oDt2+jwsQNw/t4PenxHTG2s2OrQuK6GaCoKW4+Cv+ngPN0ibG2Ac7febVZ9DVEO3DdBNYVXeJoGtU1t9AieNUT5pg7uutAyJ30zvEZnJq6kyRtVW2CT3ylmNcy7yVRNNmfC2frK5EXApTlsCTrnrtyBgCiDuT2AqxX6PqmDuR4SfBNC7fPtQ9zGT+o7MyHvykQCRJnN3RmxN6IlhgbSDey4xrXP0GbS4I7MaJ0iG2bu0JR1/jDR793Bw9UONOBuzGggau+RAdGMU9dUa/BV/5tha9bCy1AdN4A0gdx8dcehE3QLGlpd5jiisWrIaAmVQ3tTV91HY2Lep34MoQ6SCmHq5zL8gJn6QRUfZKrkSl+Dn9wxx0DNycfGP7lj9p2x1TqOP7nzPyv9bFVK4N6EAAAAAElFTkSuQmCC";
131559
133283
 
133284
+ /* babel-plugin-inline-import './assets/imgs/external-contact.png' */
133285
+ var externalContactImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAFPFKMkAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAARKADAAQAAAABAAAARAAAAADA2cO/AAAPSUlEQVR4AdVbCZCVxRHueW8XBCWisGhUFBR0d0FBxXgXiAaFeHOIB4kYFQRNoibRUqvEiKgpxUoCKPEkYgTBJKIBCrwQTIwiIC7LeqJgPJB4QFSOfTv5uv9/5s1/vfe/3bdJnKrdmenu6enpf6ZnpnseUSjpKTWb9LTaC1ywMpWmKdXalE2ulLpKjV97V4YBEYJxa4ROaz2ZC0IkEPxDK6JsG1IqD2YGSmQg3ckQmpwb6Kk1Us1QRv1MSsf8kmhcvUdz+v2WgAEZNa5+JhfUoaPRjTcO1fUYorP/yGDAaKFAwfZKI6RgnH+Zyxv8pj7QHaVwGN8w2KH3inpazc16avU6F+F3Vd2kNVmlGgLuJqOn9uphkKKfQ0YZvCg3o3XuLQvhws5VREf/3IIqTMlVFlX1MmD/E/Q+N6AoqmznfQ6QeR+j7lGiU6cTXbhEWqqzHrYcRHJXBxbDrV1lhYkYycSRsXvDDo3MZetzdkGWCbQcq1AaOY9owzKiF3/ttpOyymaHqcvWPF5wLK4K3XKYWwVmz0TMngBcGjTlPDWffh/R+helnMQIatfnBzj4qqf6OR543sVEqx6Uss5t975X9ZmBJhk1vqG7hVz4AtFD/T0J/vkyUWdv6TCepaB7+ni4fY+zTQRnauHPJ/DLXieV8WaZXnor0eo/GHKbB+YAQ/XdvYbqXG6upShQMHOESewnDtPzfIG1mUOaaknpeRj28DCNqUeYxA7LUCOPW9IBJsUYOLxkPZi6t7JQi2Ww2wFElyw3tIHcpRcmLsBS7t6TaMTjRPf2s2vZ4vyCnlK9lYsZPb3msDCS6+pcrJnpfQWlF8GsdNg7QoZ53paBGb1DvxrBshScfMuvBt1B6odPe7DQf9j5h6xOXBxLIYb+oQFE58+Xst7wYuywNOkfRZmMXkb6vec9nl9/SvTIEK/MayghRZio9p1IdRsQJc9UCkzWUAgbYGKWOg8lTKwuW+0NKwYXYBLqIFWVrVsFL6TAPBmzklTFTh6DyvZEO74m6n+jV78Iym23O+lnrrMdsHn01rkPki+Csti5PfqQujT/9QM4nx77+k1ctGsnII1PVCwz5sDqxACKNWQ8et7s0ltJTGPYkeOwoy419XDuNja4CBODCOeyxnbQM5ihHcO4pDpsz3QYs7FJeBdeUBBsisuxIx3uNmhJWVVW9FBj6t6J4xErSHM+dhzzJJgidbu6fO21Lj4gSEkaOO1eUqFtkBnruw+GtW50+0gsqy7ZtmrEmu1MYAUpSQujl5Jq39mzfG43Z84gtff3onCXJlRWKnu8Gr9mmSwb2NnPQ/iCVRYiNrHV4LTrfl6e4j+vLj1/cFuV5ogn/PhGMPY1y1q/MY/UQafbuinorzaS2rmLVPWCnxC9u9igCuYQpGYlDmveHpdE2ulAUiOf8Jj7N44kUgM3Fl6/i91uwRUGnJhn5PCSiPYQVoiZ0RtGUlNji9X+JyWRBOAVfIKCMMMCUL9iR9WIgwMOkeqCBYLRbyFfdFVcE4HZdt98RvTF+3b/04t/QfTmU7HtZNXErpjz5pParXt0BfQYTOrkyaQfP4/o45URplaI8CfkQ0nPH0T5gQOuiRtk1bApjnCsm+WBjsWl002D7vRqMUIwgg8vkvbq5+X+fxYiKUH4fa0dgTFbAHN+SoT4YnySth0sWG//ilSbnW09qaBxM1GZrEXr53AQqH/M1k3BbIBWEEbo6b0P0Dsa3zZErZmj483q8oZdTR8BQQwQBu427LLXmHq5c6MFl2+sIIZAP9arDW3MbcZRSY7KBt6cnI9Ranz9hKS2BQUJN2JTTO++N51PzWGcW+dVgBM+PDtrUt3auG1JgpjOxNekm85AvR9ptRfyLeC0AX9Pkc7MgAAlz7PUgmBV3YNVNcYIUyzHmeMLqqQT1Zi1K4rRMr6oIInLOg13nwZbfc9iWkoUpNxLGUbzVZxfg1bOGYw9xjswNsNXltue8NkX2m1y+3HLEUHEhvhuSpewHGUIE7yKOUwDgoijpBRDxvsQOw3Y1cUOhJQpTjN2jrDx0htz21LxgitIwSUUTnr9MqInLwmDY+vhOZPXCCxobIs4oH9k1EsnybbOhyDduM071RufRFw7B+bNGfYseUkEkStiCWacvdmavW2rHzZ8rEeFznggDytSch29niAF7qkRXsZtsya6pTNt4gk/wsgDGHdRRvaPBKJYsLlU9YnfbtiRWVLCfZrpM7yJpW446mlSAyYIudoDN7qj/XMrrhrWT8XXDnaKpkzmUp+4riN8hs4itWcfAeuGv5AKuW4Zodc9S6r7QI8Gs5Gm1Uq52D/ZAmIPzuGWCASoEd6OrtkXZs6lfS8k6jUCe+9HRE/jHPX1JkySLKlxdcIh7XJWGTUxnUYQseGATFrGHMGwgodP8+FBog7eq/J2JIbAgFgISSmNFX3qRbSkzYGnGjbJuaauxQXpET3YJ3PMY7S5SCWsrjyllDoUFgQTUp18V77N2NVYZxX5elIJPkTla0J16U0EN0bBpPSHyYLgpq9OvFXa649Wksb1UWUrY/eYQCen/IZU75Feu/dfgOnfKkauyJJenjg8ddLtHjNnsmnc3iQQdsaDRE+MDvRvKuqAQSShIGfpauzSqi/oe+OaWudFHg295CrzRMY7cQfAtqLf+qstS+HD5ZKpfY4Kwk2tYzevtOhqA/FyEwk7GILEJA6X4tNkfPMYQ1EqqLLIVbTtdxI5IpaVfPeIXJz9i7XYkziWZtmai7qhMRf5FfcZiM1hGWSLEQMRe1KvPguTdZI04MlKHfcTL7rhoFndfsROYJ0OIho2G174toYEUYolRPscaT3zxnljCVAw108RhBGxpr52BKkTbrLteBJa42ah0YLeWEeybH2U3oYz131HRgihjYU42Ysbygqip9ZO0Lrpxgh1HACqVz2HRDB68wdEs3AB5HhEimS0waRWEK4guPUl9szkGcVEZUphd3jAoLn+ijL1F8sGn/eqsE8+IAi3ctUVy6WFQPHD4/1HmE3g07jI1vhMJpzv9mPKEY0YBH8mE6MysObmGO02CQAgaJbEI1EjboNYO+MSFCgbp38BEkGlEsQwwf1nGCzOZNiTrgYWl2MezKD9u41RQxakuzmCSUmCxHWaBJNryrr1p5FuOhW9DCwmfBIfA5fNWRNO55mnqPu+T5YySMMjTV42hfCtlSh3PTaB5h0t00gbQ8O7BB513YK9e1kMumRQsxUiHthP9XWYAddiU8hvuCWLUL4GGAwcEpnbqEpNMpHCUrmXrBB2KVEu98B/a2csdUCGHgPbTNnsRfzswMDS5KkV0tpBgjTCNpdGNtlQsDuJV1GFiLu1lTydSUK1FlyOQDGnD7e/RIWw85t2NK4o+9KA54T4YnHw+YEgmysUB+Do9Ue8x4ka5TImWUqVFYeFz4ami1iFlHSUN5zS5MdfT+qQCwKUHLunT3yvMRxyJo5viPTqmURLbzHVsuVJobSIQlpyCiso7QkTSdUOtSR6MWbJm0/aeqBw4Gmkvo8bpJ90PeziczeYatly92JnmAbOzK2mjDYdgsr4x2+TlcGSQVGaafwkigSPcic+M/GYXb5WIUBwyLB1DlVhO+AE6F1hAuWwh65Uh3qAWXLFV8o9hkIUwncDIMYYYNly/qrs0XNeGDJvdcR4MaqJ/bDBPWJcEH0RDqLdTwrCylTjsXv3I/8ug611fUvvGgHZ2nUiGj6HVIfvBsBxFQmlbGrwUJ2r4TZFdKNI0q/cTfRyfkkVIU+F5ruSvF3h0L5uanLCYKnaJxPBLxyOmmh2Gi35FdEb3mMtOvTHRJgByjxVC3ET+lemEa28nwgPXmnQZFJwv7lJaOaOJPos+EsLl6bUsspkRuHlWfUcTBlcp8uQBk8htf+JAUZ6yU3wL88KwJpV4eU3HH7Kjt0DzfVjEN04UgOY0ivYdeayDelXetOYFgMnBZTBvk8RthzK4O62b5En5ByfCyQsTerAb1bKkvohciwvYFrGDdFuVXNWkMcLWCJl+nIBxvPHkxzmfCDWPhFHOsqRoAueIVB9C1JFO8yx4AbFs4PaV3l/LWAd23SXPYn+9WYQ1eschH5gT1IY5GDDSG1LuterkXYA4KsoE+yIwzswjQAaLfwpEb/5bE7igQ6ZGvuiOo6dXnYb0Wsz4lAFYZhtq1gh/Nur6wtSukj+9caoxaR22cNCdd1sXMQQ8Gv8xsKI4/PH3xB4Tal5V/jktTxNmtKefUkNfdRS8gtNWjqRCG8AbOJZeuw1iGBipvhJb/mQaCbOmU07DKhoLuF3HEjwE8LCv6ULcHJ2ElnLDw+C57CAD3fgLbAvZwsLxH4QLDrKM5ABpgkVvhnz71AQ0uWk1/6J6NkC3y4Lx92oRfaCqN9Z5M3MBPZhMD+M4Dji2+KdDmOT6ubNCuPr5xZWBtPwbdVP/PqH8MVTJ0RwjTKkjcMrlgd/GJbJpP36m1LRnHXAumCjSuKq5+eMaZL7qrkWZwD+KoWSc92XGfLxqkLUQdzG1+GydfwhDq8goV9jWVgmk1xZDSwmhzK+YB0wShQiLn287YyhjYLwvF9v9XTHvgs1FgPsP4GI17Gb2IbgeZ5ZLoLir1eKYeUQOZRikvDiJ3/h90PcN2RgWYw/RWRM8VME4c3vWv3YDTbxfOJQQqHfSOUpUcIvkdVhOII3M+kcjN2mtUSfr4Ov/EsodCds052JurCTCFt2C5JegSP/3+9IxSEcSQsohDmwkSWdq8NJosha8PvbqSO+GA5l3QYgQr0P5lwF/N0fYDdZ7R3Zt2Kwx+GZCNM0M4nx5isAn1K5D9yGqaoWzxK6eT9i4v7eex47z5+J/NlbrCsMHCGLbG+2Gy5tRCGM9GIuub/hfHW4S1yWMh/Yuh5LhB9CUVWNd3ljpfJS4t+Y/PtjIn4W88FL3k9BeGcqc8Lh9lWqyh4TF7uJVYjpX2IwTTm+/BWkM/T/7zkUoSmTHV4oVpNqoN/mmIz5SNhJIj9ENDg3T6UQ04BjNFhQd35bZozMCFJXw/ETeQlixhTOS1KIaSwxm8bG2a1iY0wnLcjFRlRUnJMUeynEulkKcRnKrkS530E5uDj87xKUsBCnxCvCu0apErVYIeEO5R17o74UfpZzzAvuME1L63KyVHo2Vajfp/2hUNo+y66QpI5lJil9FN6yVsMOHQT/dg/kHaE4DriYoAt+qqXhn+FrhMb5QL2BJ4cNoHmppV8+Sa4w/D9hJWdkhitvrwAAAABJRU5ErkJggg==";
133286
+
131560
133287
  var Home = function Home(_ref) {
131561
133288
  var type = _ref.type,
131562
133289
  _ref$showGroups = _ref.showGroups,
@@ -131578,7 +133305,8 @@ var Home = function Home(_ref) {
131578
133305
  onChangeCurPage = _ref.onChangeCurPage,
131579
133306
  disabledids = _ref.disabledids,
131580
133307
  requiredList = _ref.requiredList,
131581
- personOrg = _ref.personOrg;
133308
+ personOrg = _ref.personOrg,
133309
+ showExternalContact = _ref.showExternalContact;
131582
133310
  Object(react__WEBPACK_IMPORTED_MODULE_1__["useEffect"])(function () {
131583
133311
  getPersonOrg && getPersonOrg();
131584
133312
  }, []);
@@ -131623,7 +133351,14 @@ var Home = function Home(_ref) {
131623
133351
  }
131624
133352
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("img", {
131625
133353
  src: RecentSessionImg
131626
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", null, Object(_util_locale__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])("useradd_type_session"))));
133354
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", null, Object(_util_locale__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])("useradd_type_session"))), showExternalContact && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", {
133355
+ className: "title titleCom",
133356
+ onClick: function onClick() {
133357
+ return onChangeCurPage("externalContact");
133358
+ }
133359
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("img", {
133360
+ src: externalContactImg
133361
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("span", null, Object(_util_locale__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])("useradd_type_contact"))));
131627
133362
  /**
131628
133363
  * 组织架构模块
131629
133364
  */
@@ -132370,7 +134105,7 @@ var Organization = function Organization(_ref) {
132370
134105
  borderBottom: "none"
132371
134106
  },
132372
134107
  onBack: onBack
132373
- })), orgBread && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_OrgBread__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
134108
+ })), orgBread && !!orgBread.length && orgBread.length > 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_OrgBread__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
132374
134109
  orgBread: orgBread,
132375
134110
  getOrgList: getOrgList
132376
134111
  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_OrgList__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
@@ -132490,15 +134225,17 @@ var PartnerMember = function PartnerMember(_ref) {
132490
134225
  getPartnerMemberList = _ref.getPartnerMemberList,
132491
134226
  currentPartnerInfo = _ref.currentPartnerInfo,
132492
134227
  disabledids = _ref.disabledids,
132493
- requiredList = _ref.requiredList;
134228
+ requiredList = _ref.requiredList,
134229
+ showExternalContact = _ref.showExternalContact;
132494
134230
 
132495
134231
  var _useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])([]),
132496
134232
  _useState2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2),
132497
134233
  partnerMemberList = _useState2[0],
132498
134234
  setPartnerMemberList = _useState2[1];
132499
134235
 
134236
+ var show_external = showExternalContact ? 1 : 0;
132500
134237
  Object(react__WEBPACK_IMPORTED_MODULE_3__["useEffect"])(function () {
132501
- console.log('useEffect');
134238
+ console.log("useEffect");
132502
134239
  loadPartnerMemberList();
132503
134240
  }, []);
132504
134241
 
@@ -132509,7 +134246,7 @@ var PartnerMember = function PartnerMember(_ref) {
132509
134246
  while (1) {
132510
134247
  switch (_context.prev = _context.next) {
132511
134248
  case 0:
132512
- console.log('loadPartnerMemberList');
134249
+ console.log("loadPartnerMemberList");
132513
134250
 
132514
134251
  if (!getPartnerMemberList) {
132515
134252
  _context.next = 6;
@@ -132517,7 +134254,7 @@ var PartnerMember = function PartnerMember(_ref) {
132517
134254
  }
132518
134255
 
132519
134256
  _context.next = 4;
132520
- return getPartnerMemberList(currentPartnerInfo.id);
134257
+ return getPartnerMemberList(currentPartnerInfo.id, show_external);
132521
134258
 
132522
134259
  case 4:
132523
134260
  result = _context.sent;
@@ -132541,6 +134278,7 @@ var PartnerMember = function PartnerMember(_ref) {
132541
134278
  onChangeCurPage(prePage);
132542
134279
  };
132543
134280
 
134281
+ console.log("wenai---partnerMemberList", partnerMemberList);
132544
134282
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div", {
132545
134283
  className: "myGroup"
132546
134284
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_PageTitle__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
@@ -132931,11 +134669,15 @@ var PickerSelect = function PickerSelect(_ref) {
132931
134669
  src: item.pic,
132932
134670
  alt: ""
132933
134671
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("p", {
134672
+ className: "name"
134673
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
132934
134674
  className: "showName",
132935
134675
  dangerouslySetInnerHTML: {
132936
134676
  __html: item.showName
132937
134677
  }
132938
- }), !!item.deptDesc && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
134678
+ }), item.external_tag === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
134679
+ className: "tagContact"
134680
+ }, "\u5916\u90E8")), !!item.deptDesc && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
132939
134681
  className: "showDept",
132940
134682
  dangerouslySetInnerHTML: {
132941
134683
  __html: item.deptDesc || item.dept
@@ -132961,11 +134703,15 @@ var PickerSelect = function PickerSelect(_ref) {
132961
134703
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("div", {
132962
134704
  className: "showBox"
132963
134705
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("p", {
134706
+ className: "name"
134707
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
132964
134708
  className: "showName",
132965
134709
  dangerouslySetInnerHTML: {
132966
134710
  __html: user.showName
132967
134711
  }
132968
- }), !!user.dept && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
134712
+ }), user.external_tag === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
134713
+ className: "tagContact"
134714
+ }, "\u5916\u90E8")), !!user.dept && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", {
132969
134715
  className: "showDept",
132970
134716
  dangerouslySetInnerHTML: {
132971
134717
  __html: user.deptDesc || user.dept
@@ -133020,10 +134766,12 @@ PickerSelect.defaultProps = {
133020
134766
  /* harmony import */ var _Main__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Main */ "./src/components/complex-picker/Main.tsx");
133021
134767
  /* harmony import */ var _MyPartner__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./MyPartner */ "./src/components/complex-picker/MyPartner.tsx");
133022
134768
  /* harmony import */ var _PartnerMember__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./PartnerMember */ "./src/components/complex-picker/PartnerMember.tsx");
133023
- /* harmony import */ var _picker_UserPicker__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./picker/UserPicker */ "./src/components/complex-picker/picker/UserPicker.tsx");
133024
- /* harmony import */ var _picker_OrgPicker__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./picker/OrgPicker */ "./src/components/complex-picker/picker/OrgPicker.tsx");
133025
- /* harmony import */ var _picker_GroupPicker__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./picker/GroupPicker */ "./src/components/complex-picker/picker/GroupPicker.tsx");
133026
- /* harmony import */ var _picker_SessionPicker__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./picker/SessionPicker */ "./src/components/complex-picker/picker/SessionPicker.tsx");
134769
+ /* harmony import */ var _ExternalContact__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./ExternalContact */ "./src/components/complex-picker/ExternalContact.tsx");
134770
+ /* harmony import */ var _picker_UserPicker__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./picker/UserPicker */ "./src/components/complex-picker/picker/UserPicker.tsx");
134771
+ /* harmony import */ var _picker_OrgPicker__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./picker/OrgPicker */ "./src/components/complex-picker/picker/OrgPicker.tsx");
134772
+ /* harmony import */ var _picker_GroupPicker__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./picker/GroupPicker */ "./src/components/complex-picker/picker/GroupPicker.tsx");
134773
+ /* harmony import */ var _picker_SessionPicker__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./picker/SessionPicker */ "./src/components/complex-picker/picker/SessionPicker.tsx");
134774
+
133027
134775
 
133028
134776
 
133029
134777
 
@@ -133054,6 +134802,8 @@ var ComplexPicker = function ComplexPicker(_ref) {
133054
134802
  showOrganization = _ref.showOrganization,
133055
134803
  _ref$showPartner = _ref.showPartner,
133056
134804
  showPartner = _ref$showPartner === void 0 ? false : _ref$showPartner,
134805
+ _ref$showExternalCont = _ref.showExternalContact,
134806
+ showExternalContact = _ref$showExternalCont === void 0 ? false : _ref$showExternalCont,
133057
134807
  authority = _ref.authority,
133058
134808
  getPersonOrg = _ref.getPersonOrg,
133059
134809
  getOrgList = _ref.getOrgList,
@@ -133093,6 +134843,7 @@ var ComplexPicker = function ComplexPicker(_ref) {
133093
134843
  isConfirmLoading = _ref.isConfirmLoading,
133094
134844
  getPartnerMemberList = _ref.getPartnerMemberList,
133095
134845
  getPartnerList = _ref.getPartnerList,
134846
+ getContactList = _ref.getContactList,
133096
134847
  selectPanelBlur = _ref.selectPanelBlur;
133097
134848
 
133098
134849
  var _useState = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(page),
@@ -133199,6 +134950,7 @@ var ComplexPicker = function ComplexPicker(_ref) {
133199
134950
  * - 最近会话:resentSession
133200
134951
  * - 组织架构:organization
133201
134952
  * - 我的伙伴:myPartner
134953
+ * - 外部联系人:externalContact
133202
134954
  */
133203
134955
 
133204
134956
 
@@ -133317,7 +135069,8 @@ var ComplexPicker = function ComplexPicker(_ref) {
133317
135069
  personOrg: personOrg,
133318
135070
  commonlyList: commonlyList,
133319
135071
  disabledids: disabledids,
133320
- requiredList: requiredList
135072
+ requiredList: requiredList,
135073
+ showExternalContact: showExternalContact
133321
135074
  })), currentPage === "organization" && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_Organization__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
133322
135075
  type: type,
133323
135076
  prePage: "home",
@@ -133381,14 +135134,23 @@ var ComplexPicker = function ComplexPicker(_ref) {
133381
135134
  currentPartnerInfo: currentPartnerInfo,
133382
135135
  getPartnerMemberList: getPartnerMemberList,
133383
135136
  disabledids: disabledids,
135137
+ requiredList: requiredList,
135138
+ showExternalContact: showExternalContact
135139
+ }), currentPage === "externalContact" && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_ExternalContact__WEBPACK_IMPORTED_MODULE_15__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
135140
+ prePage: "home",
135141
+ onChangeCurPage: onChangeCurPage,
135142
+ currentList: currentList,
135143
+ setCurrentList: setCurrentList,
135144
+ getContactList: getContactList,
135145
+ disabledids: disabledids,
133384
135146
  requiredList: requiredList
133385
- }))));
135147
+ })))));
133386
135148
  };
133387
135149
 
133388
- ComplexPicker.UserPicker = _picker_UserPicker__WEBPACK_IMPORTED_MODULE_15__[/* default */ "a"];
133389
- ComplexPicker.OrgPicker = _picker_OrgPicker__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"];
133390
- ComplexPicker.GroupPicker = _picker_GroupPicker__WEBPACK_IMPORTED_MODULE_17__[/* default */ "a"];
133391
- ComplexPicker.SessionPicker = _picker_SessionPicker__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"];
135150
+ ComplexPicker.UserPicker = _picker_UserPicker__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"];
135151
+ ComplexPicker.OrgPicker = _picker_OrgPicker__WEBPACK_IMPORTED_MODULE_17__[/* default */ "a"];
135152
+ ComplexPicker.GroupPicker = _picker_GroupPicker__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"];
135153
+ ComplexPicker.SessionPicker = _picker_SessionPicker__WEBPACK_IMPORTED_MODULE_19__[/* default */ "a"];
133392
135154
  ComplexPicker.defaultProps = {
133393
135155
  page: "home",
133394
135156
  type: "member",
@@ -133403,7 +135165,7 @@ ComplexPicker.defaultProps = {
133403
135165
  orgList: [],
133404
135166
  maxNum: 1,
133405
135167
  multiple: true,
133406
- limitTips: '选择数量超限',
135168
+ limitTips: "选择数量超限",
133407
135169
  disabledids: [],
133408
135170
  searchType: [],
133409
135171
  showSelectedNum: true
@@ -133613,7 +135375,8 @@ var locale = {
133613
135375
  useradd_all_child: "subordinate",
133614
135376
  useradd_select_noresult: "No matching data",
133615
135377
  common_ok: "Confirm",
133616
- useradd_select_search: "search"
135378
+ useradd_select_search: "search",
135379
+ useradd_type_contact: "ExternalContact"
133617
135380
  }
133618
135381
  };
133619
135382
  /* harmony default export */ __webpack_exports__["a"] = (locale);
@@ -133643,7 +135406,8 @@ var locale = {
133643
135406
  useradd_all_child: "下级",
133644
135407
  useradd_select_noresult: "没有匹配任何结果",
133645
135408
  common_ok: "确定 ",
133646
- useradd_select_search: "搜索"
135409
+ useradd_select_search: "搜索",
135410
+ useradd_type_contact: "外部联系人"
133647
135411
  }
133648
135412
  };
133649
135413
  /* harmony default export */ __webpack_exports__["a"] = (locale);
@@ -133676,11 +135440,11 @@ var GroupPicker = function GroupPicker(_ref) {
133676
135440
  var onClose = _ref.onClose,
133677
135441
  onConfirm = _ref.onConfirm,
133678
135442
  _ref$title = _ref.title,
133679
- title = _ref$title === void 0 ? '我的群组' : _ref$title,
135443
+ title = _ref$title === void 0 ? "我的群组" : _ref$title,
133680
135444
  _ref$multiple = _ref.multiple,
133681
135445
  multiple = _ref$multiple === void 0 ? true : _ref$multiple,
133682
135446
  _ref$limitTips = _ref.limitTips,
133683
- limitTips = _ref$limitTips === void 0 ? '选择数量超限' : _ref$limitTips,
135447
+ limitTips = _ref$limitTips === void 0 ? "选择数量超限" : _ref$limitTips,
133684
135448
  _ref$maxNum = _ref.maxNum,
133685
135449
  maxNum = _ref$maxNum === void 0 ? 1 : _ref$maxNum,
133686
135450
  disabledids = _ref.disabledids,
@@ -133694,7 +135458,9 @@ var GroupPicker = function GroupPicker(_ref) {
133694
135458
  _ref$isConfirmLoading = _ref.isConfirmLoading,
133695
135459
  isConfirmLoading = _ref$isConfirmLoading === void 0 ? false : _ref$isConfirmLoading,
133696
135460
  _ref$searchPlaceholde = _ref.searchPlaceholder,
133697
- searchPlaceholder = _ref$searchPlaceholde === void 0 ? '搜索' : _ref$searchPlaceholde;
135461
+ searchPlaceholder = _ref$searchPlaceholde === void 0 ? "搜索" : _ref$searchPlaceholde,
135462
+ showExternalContact = _ref.showExternalContact,
135463
+ getContactList = _ref.getContactList;
133698
135464
  var groupPickerProps = {
133699
135465
  type: "group",
133700
135466
  page: "myGroup",
@@ -133717,7 +135483,9 @@ var GroupPicker = function GroupPicker(_ref) {
133717
135483
  loadSearchData: loadSearchData,
133718
135484
  showSelectedNum: showSelectedNum,
133719
135485
  isConfirmLoading: isConfirmLoading,
133720
- searchPlaceholder: searchPlaceholder
135486
+ searchPlaceholder: searchPlaceholder,
135487
+ showExternalContact: showExternalContact,
135488
+ getContactList: getContactList
133721
135489
  };
133722
135490
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, groupPickerProps));
133723
135491
  };
@@ -133830,7 +135598,7 @@ var SessionPicker = function SessionPicker(_ref) {
133830
135598
  _ref$multiple = _ref.multiple,
133831
135599
  multiple = _ref$multiple === void 0 ? false : _ref$multiple,
133832
135600
  _ref$limitTips = _ref.limitTips,
133833
- limitTips = _ref$limitTips === void 0 ? '选择数量超限' : _ref$limitTips,
135601
+ limitTips = _ref$limitTips === void 0 ? "选择数量超限" : _ref$limitTips,
133834
135602
  _ref$maxNum = _ref.maxNum,
133835
135603
  maxNum = _ref$maxNum === void 0 ? 1 : _ref$maxNum,
133836
135604
  disabledids = _ref.disabledids,
@@ -133855,10 +135623,12 @@ var SessionPicker = function SessionPicker(_ref) {
133855
135623
  _ref$isConfirmLoading = _ref.isConfirmLoading,
133856
135624
  isConfirmLoading = _ref$isConfirmLoading === void 0 ? false : _ref$isConfirmLoading,
133857
135625
  _ref$searchPlaceholde = _ref.searchPlaceholder,
133858
- searchPlaceholder = _ref$searchPlaceholde === void 0 ? '搜索' : _ref$searchPlaceholde,
135626
+ searchPlaceholder = _ref$searchPlaceholde === void 0 ? "搜索" : _ref$searchPlaceholde,
133859
135627
  showPartner = _ref.showPartner,
135628
+ showExternalContact = _ref.showExternalContact,
133860
135629
  getPartnerList = _ref.getPartnerList,
133861
- getPartnerMemberList = _ref.getPartnerMemberList;
135630
+ getPartnerMemberList = _ref.getPartnerMemberList,
135631
+ getContactList = _ref.getContactList;
133862
135632
  var sessionPickerProps = {
133863
135633
  type: "session",
133864
135634
  page: "recentSession",
@@ -133893,8 +135663,10 @@ var SessionPicker = function SessionPicker(_ref) {
133893
135663
  isConfirmLoading: isConfirmLoading,
133894
135664
  searchPlaceholder: searchPlaceholder,
133895
135665
  showPartner: showPartner,
135666
+ showExternalContact: showExternalContact,
133896
135667
  getPartnerList: getPartnerList,
133897
- getPartnerMemberList: getPartnerMemberList
135668
+ getPartnerMemberList: getPartnerMemberList,
135669
+ getContactList: getContactList
133898
135670
  };
133899
135671
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, sessionPickerProps));
133900
135672
  };
@@ -133934,11 +135706,13 @@ var UserPicker = function UserPicker(_ref) {
133934
135706
  _ref$multiple = _ref.multiple,
133935
135707
  multiple = _ref$multiple === void 0 ? true : _ref$multiple,
133936
135708
  _ref$limitTips = _ref.limitTips,
133937
- limitTips = _ref$limitTips === void 0 ? '选择数量超限' : _ref$limitTips,
135709
+ limitTips = _ref$limitTips === void 0 ? "选择数量超限" : _ref$limitTips,
133938
135710
  _ref$maxNum = _ref.maxNum,
133939
135711
  maxNum = _ref$maxNum === void 0 ? 1 : _ref$maxNum,
133940
135712
  _ref$showGroups = _ref.showGroups,
133941
135713
  showGroups = _ref$showGroups === void 0 ? false : _ref$showGroups,
135714
+ _ref$showExternalCont = _ref.showExternalContact,
135715
+ showExternalContact = _ref$showExternalCont === void 0 ? false : _ref$showExternalCont,
133942
135716
  groupId = _ref.groupId,
133943
135717
  groupName = _ref.groupName,
133944
135718
  disabledids = _ref.disabledids,
@@ -133961,10 +135735,11 @@ var UserPicker = function UserPicker(_ref) {
133961
135735
  _ref$isConfirmLoading = _ref.isConfirmLoading,
133962
135736
  isConfirmLoading = _ref$isConfirmLoading === void 0 ? false : _ref$isConfirmLoading,
133963
135737
  _ref$searchPlaceholde = _ref.searchPlaceholder,
133964
- searchPlaceholder = _ref$searchPlaceholde === void 0 ? '搜索' : _ref$searchPlaceholde,
135738
+ searchPlaceholder = _ref$searchPlaceholde === void 0 ? "搜索" : _ref$searchPlaceholde,
133965
135739
  showPartner = _ref.showPartner,
133966
135740
  getPartnerList = _ref.getPartnerList,
133967
- getPartnerMemberList = _ref.getPartnerMemberList;
135741
+ getPartnerMemberList = _ref.getPartnerMemberList,
135742
+ getContactList = _ref.getContactList;
133968
135743
  var userPickerProps = {
133969
135744
  type: "member",
133970
135745
  searchType: ["user"],
@@ -133988,6 +135763,7 @@ var UserPicker = function UserPicker(_ref) {
133988
135763
  orgBread: orgBread,
133989
135764
  personOrg: personOrg,
133990
135765
  showGroups: showGroups,
135766
+ showExternalContact: showExternalContact,
133991
135767
  groupId: groupId,
133992
135768
  groupName: groupName,
133993
135769
  getMyGroupList: getMyGroupList,
@@ -134000,7 +135776,8 @@ var UserPicker = function UserPicker(_ref) {
134000
135776
  searchPlaceholder: searchPlaceholder,
134001
135777
  showPartner: showPartner,
134002
135778
  getPartnerList: getPartnerList,
134003
- getPartnerMemberList: getPartnerMemberList
135779
+ getPartnerMemberList: getPartnerMemberList,
135780
+ getContactList: getContactList
134004
135781
  };
134005
135782
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(___WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, userPickerProps));
134006
135783
  };
@@ -134133,7 +135910,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_moment__;
134133
135910
  !*** external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} ***!
134134
135911
  \**************************************************************************************/
134135
135912
  /*! no static exports found */
134136
- /*! exports used: Children, Component, Fragment, PureComponent, cloneElement, createContext, createElement, createRef, default, forwardRef, isValidElement, memo, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState */
135913
+ /*! all exports used */
134137
135914
  /***/ (function(module, exports) {
134138
135915
 
134139
135916
  module.exports = __WEBPACK_EXTERNAL_MODULE_react__;