1 | import _extends from "@babel/runtime/helpers/extends";
|
2 | import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
3 | import _createClass from "@babel/runtime/helpers/createClass";
|
4 | import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
5 | import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
6 | import _inherits from "@babel/runtime/helpers/inherits";
|
7 | import React, { Component } from 'react';
|
8 | import DropDownList from "@beisen-platform/dropdown-list";
|
9 |
|
10 | var Edit_Filters =
|
11 |
|
12 | function (_Component) {
|
13 | _inherits(Edit_Filters, _Component);
|
14 |
|
15 | function Edit_Filters() {
|
16 | _classCallCheck(this, Edit_Filters);
|
17 |
|
18 | return _possibleConstructorReturn(this, _getPrototypeOf(Edit_Filters).apply(this, arguments));
|
19 | }
|
20 |
|
21 | _createClass(Edit_Filters, [{
|
22 | key: "render",
|
23 | value: function render() {
|
24 | var _this$props = this.props,
|
25 | isMinWidth = _this$props.isMinWidth,
|
26 | status = _this$props.status,
|
27 | DropDownData = _this$props.DropDownData,
|
28 | showDropDown = _this$props.showDropDown;
|
29 | return React.createElement("div", null, status == 'edit' && showDropDown == true ? React.createElement("div", {
|
30 | ref: "autoTreeDropdown",
|
31 | className: isMinWidth ? 'dropdownMin' : "dropDownList"
|
32 | }, React.createElement(DropDownList, _extends({}, DropDownData, {
|
33 | onChange: this.props.changeFilter
|
34 | }))) : '');
|
35 | }
|
36 | }]);
|
37 |
|
38 | return Edit_Filters;
|
39 | }(Component);
|
40 |
|
41 | export { Edit_Filters as default }; |
\ | No newline at end of file |