@bit-sun/business-component 3.1.10-alpha.8 → 3.1.10-alpha.9

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/index.esm.js CHANGED
@@ -13077,7 +13077,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13077
13077
  var _this$props$datasourc = _this.props.datasource,
13078
13078
  datasource = _this$props$datasourc === void 0 ? [] : _this$props$datasourc;
13079
13079
  _this.setState({
13080
- visible: true
13080
+ visible: true,
13081
+ onSearchSort: false
13081
13082
  });
13082
13083
  _this.setInitValue(datasource);
13083
13084
  };
@@ -13096,7 +13097,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13096
13097
  };
13097
13098
  _this.handleCancel = function (e) {
13098
13099
  _this.setState({
13099
- visible: false
13100
+ visible: false,
13101
+ searchDataSource: ''
13100
13102
  });
13101
13103
  };
13102
13104
  _this.handleTableHeadHidden = function (title) {
@@ -14801,7 +14803,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
14801
14803
  }];
14802
14804
  _this.showModal = function () {
14803
14805
  _this.setState({
14804
- visible: true
14806
+ visible: true,
14807
+ onSearchSort: false
14805
14808
  });
14806
14809
  _this.setInitValue();
14807
14810
  };
@@ -14822,7 +14825,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
14822
14825
  };
14823
14826
  _this.handleCancel = function (e) {
14824
14827
  _this.setState({
14825
- visible: false
14828
+ visible: false,
14829
+ searchDataSource: ''
14826
14830
  });
14827
14831
  };
14828
14832
  _this.handleTableHeadHidden = function (title) {
@@ -15384,7 +15388,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15384
15388
  }];
15385
15389
  _this.showModal = function () {
15386
15390
  _this.setState({
15387
- visible: true
15391
+ visible: true,
15392
+ onSearchSort: false
15388
15393
  });
15389
15394
  _this.setInitValue();
15390
15395
  };
@@ -15402,7 +15407,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15402
15407
  _this.handleCancel = function (e) {
15403
15408
  console.log(e);
15404
15409
  _this.setState({
15405
- visible: false
15410
+ visible: false,
15411
+ searchDataSource: ''
15406
15412
  });
15407
15413
  };
15408
15414
  _this.handleTableHeadHidden = function (title) {
package/dist/index.js CHANGED
@@ -13100,7 +13100,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13100
13100
  var _this$props$datasourc = _this.props.datasource,
13101
13101
  datasource = _this$props$datasourc === void 0 ? [] : _this$props$datasourc;
13102
13102
  _this.setState({
13103
- visible: true
13103
+ visible: true,
13104
+ onSearchSort: false
13104
13105
  });
13105
13106
  _this.setInitValue(datasource);
13106
13107
  };
@@ -13119,7 +13120,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13119
13120
  };
13120
13121
  _this.handleCancel = function (e) {
13121
13122
  _this.setState({
13122
- visible: false
13123
+ visible: false,
13124
+ searchDataSource: ''
13123
13125
  });
13124
13126
  };
13125
13127
  _this.handleTableHeadHidden = function (title) {
@@ -14824,7 +14826,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
14824
14826
  }];
14825
14827
  _this.showModal = function () {
14826
14828
  _this.setState({
14827
- visible: true
14829
+ visible: true,
14830
+ onSearchSort: false
14828
14831
  });
14829
14832
  _this.setInitValue();
14830
14833
  };
@@ -14845,7 +14848,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
14845
14848
  };
14846
14849
  _this.handleCancel = function (e) {
14847
14850
  _this.setState({
14848
- visible: false
14851
+ visible: false,
14852
+ searchDataSource: ''
14849
14853
  });
14850
14854
  };
14851
14855
  _this.handleTableHeadHidden = function (title) {
@@ -15407,7 +15411,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15407
15411
  }];
15408
15412
  _this.showModal = function () {
15409
15413
  _this.setState({
15410
- visible: true
15414
+ visible: true,
15415
+ onSearchSort: false
15411
15416
  });
15412
15417
  _this.setInitValue();
15413
15418
  };
@@ -15425,7 +15430,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15425
15430
  _this.handleCancel = function (e) {
15426
15431
  console.log(e);
15427
15432
  _this.setState({
15428
- visible: false
15433
+ visible: false,
15434
+ searchDataSource: ''
15429
15435
  });
15430
15436
  };
15431
15437
  _this.handleTableHeadHidden = function (title) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "3.1.10-alpha.8",
3
+ "version": "3.1.10-alpha.9",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -247,6 +247,7 @@ class SearchItemTable extends React.Component {
247
247
  showModal = () => {
248
248
  this.setState({
249
249
  visible: true,
250
+ onSearchSort: false
250
251
  });
251
252
  this.setInitValue();
252
253
  };
@@ -264,6 +265,7 @@ class SearchItemTable extends React.Component {
264
265
  console.log(e);
265
266
  this.setState({
266
267
  visible: false,
268
+ searchDataSource: '',
267
269
  });
268
270
  };
269
271
 
@@ -472,6 +472,7 @@ class SortableTable extends React.Component {
472
472
  showModal = () => {
473
473
  this.setState({
474
474
  visible: true,
475
+ onSearchSort: false
475
476
  });
476
477
  this.setInitValue();
477
478
  };
@@ -492,6 +493,7 @@ class SortableTable extends React.Component {
492
493
  handleCancel = (e: React.MouseEvent<HTMLElement>) => {
493
494
  this.setState({
494
495
  visible: false,
496
+ searchDataSource: '',
495
497
  });
496
498
  };
497
499
 
@@ -394,6 +394,7 @@ class SortableTable extends React.Component<SortTableProps> {
394
394
  const { datasource = [] }: any = this.props;
395
395
  this.setState({
396
396
  visible: true,
397
+ onSearchSort: false
397
398
  });
398
399
  this.setInitValue(datasource);
399
400
  };
@@ -415,6 +416,7 @@ class SortableTable extends React.Component<SortTableProps> {
415
416
  handleCancel = (e: React.MouseEvent<HTMLElement>) => {
416
417
  this.setState({
417
418
  visible: false,
419
+ searchDataSource: '',
418
420
  });
419
421
  };
420
422