uiw 4.13.10 → 4.14.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.
package/dist/uiw.js CHANGED
@@ -381,13 +381,14 @@ __webpack_require__.d(__webpack_exports__, {
381
381
  "Steps": () => (/* reexport */ react_steps_esm),
382
382
  "SubMenu": () => (/* reexport */ SubMenu),
383
383
  "Switch": () => (/* reexport */ react_switch_esm),
384
- "Table": () => (/* reexport */ react_table_esm),
384
+ "Table": () => (/* reexport */ Table),
385
385
  "Tabs": () => (/* reexport */ Tabs),
386
386
  "Tag": () => (/* reexport */ react_tag_esm),
387
387
  "Textarea": () => (/* reexport */ react_textarea_esm),
388
388
  "TimePicker": () => (/* reexport */ TimePicker),
389
389
  "TimePickerTime": () => (/* reexport */ TimePickerTime),
390
390
  "Tooltip": () => (/* reexport */ react_tooltip_esm),
391
+ "Transfer": () => (/* reexport */ react_transfer_esm),
391
392
  "Tree": () => (/* reexport */ Tree),
392
393
  "TreeChecked": () => (/* reexport */ TreeChecked),
393
394
  "canUseDOM": () => (/* reexport */ canUseDOM),
@@ -3734,7 +3735,7 @@ function DatePicker(props) {
3734
3735
 
3735
3736
  setType(curType);
3736
3737
  } else {
3737
- var currentDate = new Date(selectDate || selectPanelDate);
3738
+ var currentDate = new Date(selectPanelDate);
3738
3739
  var month = currentDate.getMonth();
3739
3740
 
3740
3741
  if (curType === 'prev') {
@@ -3752,7 +3753,7 @@ function DatePicker(props) {
3752
3753
  }
3753
3754
 
3754
3755
  setSelectPanelDate(curType === 'today' ? today : currentDate);
3755
- setSelectDate(curType === 'today' ? today : currentDate);
3756
+ curType === 'today' && setSelectDate(today);
3756
3757
  setType('day');
3757
3758
  }
3758
3759
  }
@@ -8860,7 +8861,7 @@ var Thead_excluded = ["prefixCls", "className", "data", "onCellHead"],
8860
8861
 
8861
8862
 
8862
8863
 
8863
- /* harmony default export */ const Thead = (function (props) {
8864
+ function TheadComponent(props) {
8864
8865
  if (props === void 0) {
8865
8866
  props = {};
8866
8867
  }
@@ -8902,7 +8903,7 @@ var Thead_excluded = ["prefixCls", "className", "data", "onCellHead"],
8902
8903
  })
8903
8904
  }, rowNum))
8904
8905
  }));
8905
- });
8906
+ }
8906
8907
 
8907
8908
  ;// CONCATENATED MODULE: ../react-table/esm/util.js
8908
8909
  /**
@@ -8964,7 +8965,7 @@ function getRowspanNum(data, child) {
8964
8965
  * JSON Array => Array
8965
8966
  * @param {Array} date
8966
8967
  */
8967
- var getLevelItems = (data, result) => {
8968
+ function getLevelItems(data, result) {
8968
8969
  if (!result) {
8969
8970
  result = {
8970
8971
  header: [],
@@ -9044,13 +9045,13 @@ var getLevelItems = (data, result) => {
9044
9045
  }
9045
9046
 
9046
9047
  return result;
9047
- };
9048
+ }
9048
9049
  /**
9049
9050
  * Get all columns keys
9050
9051
  * @param {Array} data
9051
9052
  */
9052
9053
 
9053
- var getAllColumnsKeys = function getAllColumnsKeys(data, keys) {
9054
+ function getAllColumnsKeys(data, keys) {
9054
9055
  if (keys === void 0) {
9055
9056
  keys = [];
9056
9057
  }
@@ -9064,21 +9065,54 @@ var getAllColumnsKeys = function getAllColumnsKeys(data, keys) {
9064
9065
  }
9065
9066
 
9066
9067
  return keys;
9067
- };
9068
+ }
9069
+
9070
+ ;// CONCATENATED MODULE: ../react-table/esm/Expandable.js
9071
+
9072
+
9073
+
9074
+ /**
9075
+ * 可展开配置
9076
+ */
9077
+ function ExpandableComponent(_ref) {
9078
+ var {
9079
+ defaultExpand,
9080
+ onClick: _onClick,
9081
+ expandIcon
9082
+ } = _ref;
9083
+ var [expand, setExpand] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(defaultExpand);
9084
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
9085
+ style: {
9086
+ display: 'flex',
9087
+ justifyContent: 'center',
9088
+ alignItems: 'center'
9089
+ },
9090
+ onClick: () => {
9091
+ setExpand(!expand);
9092
+
9093
+ _onClick(expand); // record: T, index: number, expanded: boolean
9094
+
9095
+ },
9096
+ children: expandIcon(expand)
9097
+ });
9098
+ }
9068
9099
 
9069
9100
  ;// CONCATENATED MODULE: ../react-table/esm/index.js
9070
9101
 
9071
9102
 
9072
- var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead", "empty", "children"];
9103
+ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "title", "footer", "bordered", "onCell", "onCellHead", "empty", "children", "expandable", "rowKey"];
9104
+
9105
+
9073
9106
 
9074
9107
 
9075
9108
 
9076
9109
 
9110
+ // 展开配置
9077
9111
 
9078
9112
 
9079
9113
 
9080
9114
 
9081
- /* harmony default export */ const react_table_esm = (function (props) {
9115
+ function Table(props) {
9082
9116
  if (props === void 0) {
9083
9117
  props = {};
9084
9118
  }
@@ -9093,17 +9127,117 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
9093
9127
  bordered,
9094
9128
  onCell = noop,
9095
9129
  onCellHead = noop,
9096
- empty
9130
+ empty,
9131
+ expandable,
9132
+ rowKey
9097
9133
  } = props,
9098
9134
  other = _objectWithoutPropertiesLoose(props, react_table_esm_excluded);
9099
9135
 
9136
+ var [expandIndex, setExpandIndex] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]);
9137
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(() => {
9138
+ if (expandable) {
9139
+ if (expandable.defaultExpandAllRows) {
9140
+ setExpandIndex(data.map((it, index) => rowKey ? it[rowKey] : index));
9141
+ return;
9142
+ }
9143
+
9144
+ if (expandable.defaultExpandedRowKeys) {
9145
+ setExpandIndex(expandable.defaultExpandedRowKeys);
9146
+ return;
9147
+ }
9148
+ }
9149
+ }, []);
9150
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(() => {
9151
+ if (expandable) {
9152
+ if (expandable.expandedRowKeys && JSON.stringify(expandable.expandedRowKeys) !== JSON.stringify(expandIndex)) {
9153
+ setExpandIndex(expandable.expandedRowKeys);
9154
+ }
9155
+ }
9156
+ }, [expandable == null ? void 0 : expandable.expandedRowKeys]);
9157
+ var isExpandedDom = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => {
9158
+ return (record, index) => {
9159
+ if (!expandable) {
9160
+ return false;
9161
+ }
9162
+
9163
+ if (!expandable.expandedRowRender) {
9164
+ return false;
9165
+ }
9166
+
9167
+ var flag = true;
9168
+
9169
+ if (expandable.rowExpandable) {
9170
+ flag = expandable.rowExpandable(record);
9171
+ }
9172
+
9173
+ return flag && /*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
9174
+ style: expandIndex.includes(rowKey ? record[rowKey] : index) ? {} : {
9175
+ display: 'none'
9176
+ },
9177
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("td", {
9178
+ style: {
9179
+ paddingLeft: 16
9180
+ },
9181
+ colSpan: columns.length + 1,
9182
+ children: expandable.expandedRowRender(record, index, true)
9183
+ })
9184
+ });
9185
+ };
9186
+ }, [expandable, expandIndex]);
9187
+ var keys = getAllColumnsKeys(columns);
9188
+ var selfColumns = [];
9189
+
9190
+ if (expandable != null && expandable.expandedRowRender) {
9191
+ keys = ['uiw-expanded', ...keys];
9192
+ selfColumns = [{
9193
+ title: '',
9194
+ key: 'uiw-expanded',
9195
+ width: 50,
9196
+ align: 'center',
9197
+ render: (text, key, record, index) => {
9198
+ var _expandable$defaultEx;
9199
+
9200
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(ExpandableComponent, {
9201
+ defaultExpand: expandable.defaultExpandAllRows === undefined ? !!((_expandable$defaultEx = expandable.defaultExpandedRowKeys) != null && _expandable$defaultEx.includes(rowKey ? record[rowKey] : index)) : !!expandable.defaultExpandAllRows,
9202
+ onClick: expand => {
9203
+ expandable.onExpand == null ? void 0 : expandable.onExpand(expand, record, index);
9204
+
9205
+ if (expand) {
9206
+ var result = expandIndex.filter(it => rowKey ? it !== record[rowKey] : it !== index);
9207
+ expandable.onExpandedRowsChange ? expandable.onExpandedRowsChange(result) : setExpandIndex(result);
9208
+ } else {
9209
+ var _result = [...expandIndex, rowKey ? record[rowKey] : index];
9210
+ expandable.onExpandedRowsChange ? expandable.onExpandedRowsChange(_result) : setExpandIndex(_result);
9211
+ }
9212
+ },
9213
+ expandIcon: expand => {
9214
+ if (expandable.rowExpandable && !(expandable.rowExpandable != null && expandable.rowExpandable(record))) {
9215
+ return null;
9216
+ }
9217
+
9218
+ if (expandable.expandIcon) {
9219
+ return expandable.expandIcon(expand, record, index);
9220
+ }
9221
+
9222
+ return expand ? /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
9223
+ type: "minus-square-o"
9224
+ }) : /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
9225
+ type: "plus-square-o"
9226
+ });
9227
+ }
9228
+ });
9229
+ }
9230
+ }, ...columns];
9231
+ } else {
9232
+ selfColumns = [...columns];
9233
+ }
9234
+
9100
9235
  var cls = [prefixCls, className, bordered ? prefixCls + "-bordered" : null].filter(Boolean).join(' ').trim();
9101
9236
  var {
9102
9237
  header,
9103
9238
  render,
9104
9239
  ellipsis
9105
- } = getLevelItems(columns);
9106
- var keys = getAllColumnsKeys(columns);
9240
+ } = getLevelItems(selfColumns);
9107
9241
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
9108
9242
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", _extends({
9109
9243
  style: {
@@ -9117,49 +9251,53 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
9117
9251
  } : {},
9118
9252
  children: [title && /*#__PURE__*/(0,jsx_runtime.jsx)("caption", {
9119
9253
  children: title
9120
- }), columns && columns.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(Thead, {
9254
+ }), columns && columns.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(TheadComponent, {
9121
9255
  onCellHead: onCellHead,
9122
9256
  data: header
9123
9257
  }), data && data.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("tbody", {
9124
- children: data.map((trData, rowNum) => /*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
9125
- children: keys.map((keyName, colNum) => {
9126
- var objs = {
9127
- children: trData[keyName]
9128
- };
9129
-
9130
- if (render[keyName]) {
9131
- var child = render[keyName](trData[keyName], keyName, trData, rowNum, colNum);
9132
-
9133
- if ( /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(child)) {
9134
- objs.children = child;
9135
- } else {
9136
- if (child.props) {
9137
- objs = _extends({}, child.props, {
9138
- children: objs.children
9139
- });
9140
- if (child.props.rowSpan === 0 || child.props.colSpan === 0) return null;
9258
+ children: data.map((trData, rowNum) => {
9259
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
9260
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
9261
+ children: keys.map((keyName, colNum) => {
9262
+ var objs = {
9263
+ children: trData[keyName]
9264
+ };
9265
+
9266
+ if (render[keyName]) {
9267
+ var child = render[keyName](trData[keyName], keyName, trData, rowNum, colNum);
9268
+
9269
+ if ( /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(child)) {
9270
+ objs.children = child;
9271
+ } else {
9272
+ if (child.props) {
9273
+ objs = _extends({}, child.props, {
9274
+ children: objs.children
9275
+ });
9276
+ if (child.props.rowSpan === 0 || child.props.colSpan === 0) return null;
9277
+ }
9278
+
9279
+ if (child.children) {
9280
+ objs.children = child.children;
9281
+ }
9282
+ }
9141
9283
  }
9142
9284
 
9143
- if (child.children) {
9144
- objs.children = child.children;
9285
+ if (ellipsis && ellipsis[keyName]) {
9286
+ objs.className = prefixCls + "-ellipsis";
9145
9287
  }
9146
- }
9147
- }
9148
-
9149
- if (ellipsis && ellipsis[keyName]) {
9150
- objs.className = prefixCls + "-ellipsis";
9151
- }
9152
-
9153
- return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)("td", _extends({}, objs, {
9154
- key: colNum,
9155
- onClick: evn => onCell(trData, {
9156
- rowNum,
9157
- colNum,
9158
- keyName
9159
- }, evn)
9160
- }));
9161
- })
9162
- }, rowNum))
9288
+
9289
+ return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)("td", _extends({}, objs, {
9290
+ key: colNum,
9291
+ onClick: evn => onCell(trData, {
9292
+ rowNum,
9293
+ colNum,
9294
+ keyName
9295
+ }, evn)
9296
+ }));
9297
+ })
9298
+ }, rowKey ? trData[rowKey] + '' : rowNum), isExpandedDom(trData, rowNum)]
9299
+ }, rowNum);
9300
+ })
9163
9301
  }), data && data.length === 0 && empty && /*#__PURE__*/(0,jsx_runtime.jsx)("tbody", {
9164
9302
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("tr", {
9165
9303
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("td", {
@@ -9178,7 +9316,7 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
9178
9316
  children: footer
9179
9317
  })]
9180
9318
  });
9181
- });
9319
+ }
9182
9320
 
9183
9321
  ;// CONCATENATED MODULE: ../react-tabs/esm/Pane.js
9184
9322
 
@@ -9308,7 +9446,7 @@ function Tabs(props) {
9308
9446
  if (activeItem.current && type === 'line') {
9309
9447
  setSlideStyle({
9310
9448
  width: activeItem.current.clientWidth,
9311
- left: activeItem.current.offsetLeft
9449
+ left: activeItem.current.offsetLeft + 15
9312
9450
  });
9313
9451
  }
9314
9452
  }
@@ -10268,6 +10406,217 @@ function SearchTree(props) {
10268
10406
 
10269
10407
  /* harmony default export */ const react_search_tree_esm = (SearchTree);
10270
10408
 
10409
+ ;// CONCATENATED MODULE: ../react-transfer/esm/style/index.css
10410
+ // extracted by mini-css-extract-plugin
10411
+ /* harmony default export */ const react_transfer_esm_style = ({});
10412
+ ;// CONCATENATED MODULE: ../react-transfer/esm/index.js
10413
+
10414
+
10415
+
10416
+
10417
+
10418
+
10419
+
10420
+
10421
+
10422
+
10423
+ function Transfer(props) {
10424
+ var {
10425
+ placeholder,
10426
+ options,
10427
+ value,
10428
+ showSearch = false,
10429
+ bodyStyle,
10430
+ style,
10431
+ className,
10432
+ prefixCls = 'w-transfer'
10433
+ } = props;
10434
+ var cls = [prefixCls, className].filter(Boolean).join(' ').trim();
10435
+ var [searchValueLeft, searchValueLeftSet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)('');
10436
+ var [searchValueRight, searchValueRightSet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)('');
10437
+ var [selectedOptions, selectedOptionSet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(options || []);
10438
+ var [selectOption, selectOptionSet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(new Map());
10439
+ var [leftSelectedKeys, leftSelectedKeySet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]);
10440
+ var [rightSelectedKeys, rightSelectedKeySet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]);
10441
+ var [rightOpions, rightOpionSet] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]);
10442
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(() => {
10443
+ leftSelectedKeySet([]);
10444
+ rightSelectedKeySet([]);
10445
+ rightOpionSet(value || []);
10446
+ value == null ? void 0 : value.forEach(selectd => selectOption.set(selectd.key, selectd.label));
10447
+ hiddenNode(child => !!(value != null && value.find(selectd => child.key === selectd.key)));
10448
+ }, [JSON.stringify(value)]);
10449
+
10450
+ var hiddenNode = callBackfn => {
10451
+ var hiddenNodeForSeach = childrens => {
10452
+ childrens.forEach(child => {
10453
+ var _child$children;
10454
+
10455
+ var isHide = callBackfn(child); // && parentIsHide;
10456
+
10457
+ if (!!((_child$children = child.children) != null && _child$children.length)) {
10458
+ hiddenNodeForSeach(child.children);
10459
+ var find = child.children.find(item => !item.hideNode);
10460
+ child.hideNode = isHide && !find;
10461
+ } else {
10462
+ child.hideNode = isHide;
10463
+ }
10464
+ });
10465
+ };
10466
+
10467
+ hiddenNodeForSeach(selectedOptions);
10468
+ selectedOptionSet([...selectedOptions]);
10469
+ };
10470
+
10471
+ var leftTreeOnSelected = (selectedKeys, _1, isChecked, evn) => {
10472
+ leftSelectedKeySet(selectedKeys);
10473
+ var selectOptionTemp = getOptionsRecursion([evn], selectOption, isChecked);
10474
+ selectOptionSet(selectOptionTemp);
10475
+ };
10476
+
10477
+ var rightTreeOnSelected = (selectedKeys, _1, _2, evn) => {
10478
+ rightSelectedKeySet(selectedKeys);
10479
+ selectedKeys.forEach(key => {
10480
+ selectOption.delete(key);
10481
+ });
10482
+ selectOptionSet(selectOption);
10483
+ };
10484
+
10485
+ var getOptionsRecursion = (childrens, selectOption, isAdd) => {
10486
+ var addOrDel = (key, label, isAdd) => {
10487
+ if (isAdd) {
10488
+ selectOption.set(key, label);
10489
+ } else {
10490
+ selectOption.delete(key);
10491
+ }
10492
+ };
10493
+
10494
+ var iteratorParent = child => {
10495
+ // 向上迭代
10496
+ if (child.parent) {
10497
+ var selectCount = child.parent.children.filter(child => !selectOption.get(child.key)).length;
10498
+ addOrDel(child.parent.key, child.parent.label, selectCount === 0);
10499
+ iteratorParent(child.parent);
10500
+ }
10501
+ };
10502
+
10503
+ childrens.forEach(child => {
10504
+ var _child$children2, _child$label;
10505
+
10506
+ if (!!((_child$children2 = child.children) != null && _child$children2.length)) {
10507
+ selectOption = getOptionsRecursion(child.children, selectOption, isAdd);
10508
+ }
10509
+
10510
+ addOrDel(child.key, (_child$label = child.label) == null ? void 0 : _child$label.toString(), isAdd);
10511
+ iteratorParent(child);
10512
+ });
10513
+ return selectOption;
10514
+ };
10515
+
10516
+ var transferClick = transferType => {
10517
+ var option = [];
10518
+ selectOption.forEach((label, key) => option.push({
10519
+ key,
10520
+ label
10521
+ }));
10522
+ props.onChange == null ? void 0 : props.onChange(transferType, option);
10523
+ };
10524
+
10525
+ var searchValueLeftChange = searchValue => {
10526
+ hiddenNode(child => {
10527
+ var searchIsMatch = !child.label.includes(searchValue.trim());
10528
+
10529
+ if (!searchIsMatch) {
10530
+ var isSekected = rightOpions.find(selected => selected.key === child.key);
10531
+ searchIsMatch = !!isSekected;
10532
+ }
10533
+
10534
+ return searchIsMatch;
10535
+ });
10536
+ searchValueLeftSet(searchValue);
10537
+ props.onSearch == null ? void 0 : props.onSearch('left', searchValue);
10538
+ };
10539
+
10540
+ var searchValueRightChange = searchValue => {
10541
+ searchValueRightSet(searchValue);
10542
+ rightOpions.forEach(option => {
10543
+ var isHide = !option.label.includes(searchValue.trim());
10544
+ option.hideNode = isHide;
10545
+ });
10546
+ console.log('rightOpions', rightOpions);
10547
+ rightOpionSet(rightOpions);
10548
+ props.onSearch == null ? void 0 : props.onSearch('right', searchValue);
10549
+ };
10550
+
10551
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
10552
+ className: cls,
10553
+ style: _extends({
10554
+ width: 400
10555
+ }, style),
10556
+ children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(react_card_esm, {
10557
+ bodyStyle: {
10558
+ padding: 5
10559
+ },
10560
+ title: leftSelectedKeys.length + "/" + selectedOptions.length,
10561
+ className: prefixCls + "-card",
10562
+ children: [showSearch && /*#__PURE__*/(0,jsx_runtime.jsx)(react_input_esm, {
10563
+ placeholder: placeholder,
10564
+ value: searchValueLeft,
10565
+ onChange: e => searchValueLeftChange(e.target.value)
10566
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
10567
+ className: prefixCls + "-cheked-content",
10568
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(TreeChecked, {
10569
+ defaultExpandAll: true,
10570
+ placeholder: placeholder || '搜索选项',
10571
+ data: selectedOptions,
10572
+ selectedKeys: leftSelectedKeys,
10573
+ onSelected: leftTreeOnSelected
10574
+ })
10575
+ })]
10576
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
10577
+ className: prefixCls + "-arrow-content",
10578
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
10579
+ onClick: () => transferClick('left'),
10580
+ type: "down-square-o",
10581
+ className: prefixCls + "-arrow-left",
10582
+ style: {
10583
+ transform: 'rotate(-90deg)',
10584
+ fontSize: 20
10585
+ }
10586
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)(Icon, {
10587
+ onClick: () => transferClick('right'),
10588
+ type: "down-square-o",
10589
+ className: prefixCls + "-arrow-right",
10590
+ style: {
10591
+ transform: 'rotate(90deg)',
10592
+ fontSize: 20
10593
+ }
10594
+ })]
10595
+ }), /*#__PURE__*/(0,jsx_runtime.jsxs)(react_card_esm, {
10596
+ bodyStyle: {
10597
+ padding: 5
10598
+ },
10599
+ className: prefixCls + "-card",
10600
+ title: rightSelectedKeys.length + "/" + rightOpions.length,
10601
+ children: [showSearch && /*#__PURE__*/(0,jsx_runtime.jsx)(react_input_esm, {
10602
+ placeholder: placeholder,
10603
+ value: searchValueRight,
10604
+ onChange: e => searchValueRightChange(e.target.value)
10605
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
10606
+ className: prefixCls + "-cheked-content",
10607
+ style: bodyStyle,
10608
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(TreeChecked, {
10609
+ data: rightOpions,
10610
+ selectedKeys: rightSelectedKeys,
10611
+ onSelected: rightTreeOnSelected
10612
+ })
10613
+ })]
10614
+ })]
10615
+ });
10616
+ }
10617
+
10618
+ /* harmony default export */ const react_transfer_esm = (Transfer);
10619
+
10271
10620
  ;// CONCATENATED MODULE: ./src/index.ts
10272
10621
 
10273
10622
  })();