cloud-b2b 1.1.71 → 1.1.73
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.
|
@@ -236,6 +236,9 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
236
236
|
props.dataSource = _this.getDataSource();
|
|
237
237
|
props.filterOption = filter ? _this.isMatch : false;
|
|
238
238
|
}
|
|
239
|
+
if (_this.props.placeholder) {
|
|
240
|
+
props.placeholder = _this.props.placeholder;
|
|
241
|
+
}
|
|
239
242
|
return props;
|
|
240
243
|
});
|
|
241
244
|
_this.state = {
|
|
@@ -394,7 +394,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
394
394
|
props.getPopupContainer = _this2.getPopupContainer;
|
|
395
395
|
props.options = _this2.getOptions(key, options);
|
|
396
396
|
props.dropdownMatchSelectWidth = false;
|
|
397
|
-
props.placeholder = filter.placeholder || '';
|
|
398
397
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
399
398
|
});
|
|
400
399
|
_defineProperty(_this2, "toTreeSelect", function (props, filter) {
|
|
@@ -402,7 +401,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
402
401
|
container && (props.getPopupContainer = container);
|
|
403
402
|
props.options = _this2.getOptions(filter);
|
|
404
403
|
props.onSearch = _this2.createSearchEvent(filter);
|
|
405
|
-
props.placeholder = filter.placeholder || '';
|
|
406
404
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
407
405
|
});
|
|
408
406
|
_defineProperty(_this2, "createSearchEvent", function (control) {
|
|
@@ -428,7 +426,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
428
426
|
props.options = _this2.getOptions(control.key, control.options);
|
|
429
427
|
props.onSearch = _this2.createSearchEvent(control);
|
|
430
428
|
props.dropdownMatchSelectWidth = false;
|
|
431
|
-
props.placeholder = props.placeholder || '';
|
|
432
429
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
433
430
|
});
|
|
434
431
|
_defineProperty(_this2, "toDate", function (props, _ref7) {
|
|
@@ -470,7 +467,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
470
467
|
props.options = _this2.getOptions(control.key, control.options);
|
|
471
468
|
props.onSearch = _this2.createSearchEvent(control);
|
|
472
469
|
props.dropdownMatchSelectWidth = false;
|
|
473
|
-
props.placeholder = props.placeholder || '';
|
|
474
470
|
return /*#__PURE__*/React.createElement(Control, props);
|
|
475
471
|
});
|
|
476
472
|
_defineProperty(_this2, "area", function (props, _ref1) {
|
|
@@ -244,6 +244,9 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
244
244
|
props.dataSource = _this.getDataSource();
|
|
245
245
|
props.filterOption = filter ? _this.isMatch : false;
|
|
246
246
|
}
|
|
247
|
+
if (_this.props.placeholder) {
|
|
248
|
+
props.placeholder = _this.props.placeholder;
|
|
249
|
+
}
|
|
247
250
|
return props;
|
|
248
251
|
});
|
|
249
252
|
_this.state = {
|
|
@@ -405,7 +405,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
405
405
|
props.getPopupContainer = _this2.getPopupContainer;
|
|
406
406
|
props.options = _this2.getOptions(key, options);
|
|
407
407
|
props.dropdownMatchSelectWidth = false;
|
|
408
|
-
props.placeholder = filter.placeholder || '';
|
|
409
408
|
return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
|
|
410
409
|
});
|
|
411
410
|
(0, _defineProperty2["default"])(_this2, "toTreeSelect", function (props, filter) {
|
|
@@ -413,7 +412,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
413
412
|
container && (props.getPopupContainer = container);
|
|
414
413
|
props.options = _this2.getOptions(filter);
|
|
415
414
|
props.onSearch = _this2.createSearchEvent(filter);
|
|
416
|
-
props.placeholder = filter.placeholder || '';
|
|
417
415
|
return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
|
|
418
416
|
});
|
|
419
417
|
(0, _defineProperty2["default"])(_this2, "createSearchEvent", function (control) {
|
|
@@ -439,7 +437,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
439
437
|
props.options = _this2.getOptions(control.key, control.options);
|
|
440
438
|
props.onSearch = _this2.createSearchEvent(control);
|
|
441
439
|
props.dropdownMatchSelectWidth = false;
|
|
442
|
-
props.placeholder = props.placeholder || '';
|
|
443
440
|
return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
|
|
444
441
|
});
|
|
445
442
|
(0, _defineProperty2["default"])(_this2, "toDate", function (props, _ref7) {
|
|
@@ -481,7 +478,6 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
481
478
|
props.options = _this2.getOptions(control.key, control.options);
|
|
482
479
|
props.onSearch = _this2.createSearchEvent(control);
|
|
483
480
|
props.dropdownMatchSelectWidth = false;
|
|
484
|
-
props.placeholder = props.placeholder || '';
|
|
485
481
|
return /*#__PURE__*/_react["default"].createElement(_Control["default"], props);
|
|
486
482
|
});
|
|
487
483
|
(0, _defineProperty2["default"])(_this2, "area", function (props, _ref1) {
|