tntd 1.4.20 → 1.4.21
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/components/Handle/README.md +0 -20
- package/components/Handle/index.js +27 -6
- package/components/locale.js +8 -2
- package/dist/1.tntd.js +1 -1
- package/dist/stats.json +23819 -24067
- package/dist/tntd.css +1 -1
- package/dist/tntd.js +13 -8
- package/es/ArrayInput/icon.js +5 -5
- package/es/ArrayInput/index.js +108 -76
- package/es/AuthContext.js +1 -1
- package/es/Columns/index.js +38 -31
- package/es/DevelopmentLogin/LoginModal.js +45 -32
- package/es/DevelopmentLogin/index.js +17 -13
- package/es/Ellipsis/Svg/CopySVG.js +13 -13
- package/es/Ellipsis/Svg/TickSVG.js +8 -8
- package/es/Ellipsis/index.js +69 -58
- package/es/Handle/README.md +0 -20
- package/es/Handle/index.js +67 -32
- package/es/Icon/fonts/iconfont.js +12 -7
- package/es/Icon/index.js +13 -10
- package/es/Img/Contain.js +29 -24
- package/es/Img/Cover.js +54 -40
- package/es/Img/index.js +45 -36
- package/es/Layout/ActionsContext.js +2 -3
- package/es/Layout/AppList.js +92 -37
- package/es/Layout/Application.js +72 -26
- package/es/Layout/Avatar.js +66 -29
- package/es/Layout/CompatibleLanguage.js +94 -39
- package/es/Layout/EnterpriseLayout/Avatar.js +76 -38
- package/es/Layout/EnterpriseLayout/Language.js +32 -14
- package/es/Layout/EnterpriseLayout/Theme.js +34 -16
- package/es/Layout/EnterpriseLayout/index.js +16 -14
- package/es/Layout/GlobalNavigation/NavigationPopup.js +170 -59
- package/es/Layout/GlobalNavigation/index.js +54 -20
- package/es/Layout/Header.js +46 -25
- package/es/Layout/HeaderActions.js +56 -42
- package/es/Layout/HeaderNavs.js +47 -20
- package/es/Layout/HeaderTabs.js +102 -49
- package/es/Layout/Iconfont.js +1 -1
- package/es/Layout/Language.js +32 -14
- package/es/Layout/Layout.js +108 -86
- package/es/Layout/Logo.js +32 -16
- package/es/Layout/OrgAppList.js +107 -62
- package/es/Layout/SideMenu.js +124 -63
- package/es/Layout/Theme.js +61 -23
- package/es/Layout/checkAuth.js +29 -0
- package/es/Layout/index.js +34 -26
- package/es/Layout/paaslayout/CompactSideMenu.js +74 -35
- package/es/Layout/paaslayout/Header.js +45 -22
- package/es/Layout/paaslayout/Logo.js +13 -3
- package/es/Layout/paaslayout/SideMenu.js +78 -39
- package/es/Layout/paaslayout/index.js +102 -75
- package/es/Layout/storage.js +9 -10
- package/es/Layout/utils.js +136 -0
- package/es/LoadingButton/index.js +24 -15
- package/es/Modal/index.js +46 -38
- package/es/Page/Box.js +41 -34
- package/es/Page/index.js +67 -52
- package/es/Page/utils.js +5 -0
- package/es/QueryForm/Field/Checkbox.js +9 -5
- package/es/QueryForm/Field/Select.js +41 -31
- package/es/QueryForm/Field/SelectInput.js +41 -26
- package/es/QueryForm/Field/fieldsMap.js +1 -0
- package/es/QueryForm/Field/index.js +71 -41
- package/es/QueryForm/createActions.js +7 -6
- package/es/QueryForm/index.js +135 -76
- package/es/QueryListScene/List.js +128 -74
- package/es/QueryListScene/QueryForm.js +81 -46
- package/es/QueryListScene/QueryListScene.js +40 -25
- package/es/QueryListScene/Title.js +3 -3
- package/es/QueryListScene/Toolbar.js +12 -11
- package/es/Select/DropDownWrap.js +50 -29
- package/es/Select/index.js +231 -135
- package/es/Table/ResizableTable/index.js +40 -26
- package/es/Table/index.js +16 -18
- package/es/Title/index.js +23 -21
- package/es/locale.js +11 -3
- package/es/utils/checkAuth.js +5 -3
- package/es/utils/findMenuInfoByPath.js +4 -0
- package/es/utils/index.js +23 -12
- package/lib/ArrayInput/icon.js +6 -6
- package/lib/ArrayInput/index.js +127 -78
- package/lib/AuthContext.js +4 -1
- package/lib/Columns/index.js +47 -31
- package/lib/DevelopmentLogin/LoginModal.js +58 -32
- package/lib/DevelopmentLogin/index.js +27 -16
- package/lib/Ellipsis/Svg/CopySVG.js +15 -13
- package/lib/Ellipsis/Svg/TickSVG.js +10 -8
- package/lib/Ellipsis/index.js +80 -57
- package/lib/Handle/README.md +0 -20
- package/lib/Handle/index.js +80 -32
- package/lib/Icon/fonts/iconfont.js +12 -7
- package/lib/Icon/index.js +20 -11
- package/lib/Img/Contain.js +34 -24
- package/lib/Img/Cover.js +65 -42
- package/lib/Img/index.js +51 -36
- package/lib/Layout/ActionsContext.js +4 -1
- package/lib/Layout/AppList.js +118 -40
- package/lib/Layout/Application.js +86 -26
- package/lib/Layout/Avatar.js +86 -32
- package/lib/Layout/CompatibleLanguage.js +110 -39
- package/lib/Layout/EnterpriseLayout/Avatar.js +100 -41
- package/lib/Layout/EnterpriseLayout/Header.js +113 -0
- package/lib/Layout/EnterpriseLayout/HeaderActions.js +104 -0
- package/lib/Layout/EnterpriseLayout/Language.js +48 -17
- package/lib/Layout/EnterpriseLayout/Theme.js +44 -16
- package/lib/Layout/EnterpriseLayout/index.js +23 -14
- package/lib/Layout/GlobalNavigation/NavigationPopup.js +186 -59
- package/lib/Layout/GlobalNavigation/index.js +74 -23
- package/lib/Layout/Header.js +63 -28
- package/lib/Layout/HeaderActions.js +74 -45
- package/lib/Layout/HeaderNavs.js +61 -23
- package/lib/Layout/HeaderTabs.js +118 -51
- package/lib/Layout/Iconfont.js +5 -1
- package/lib/Layout/Language.js +48 -17
- package/lib/Layout/Layout.js +128 -88
- package/lib/Layout/Logo.js +43 -19
- package/lib/Layout/OrgAppList.js +127 -64
- package/lib/Layout/SideMenu.js +143 -65
- package/lib/Layout/Theme.js +73 -23
- package/lib/Layout/checkAuth.js +39 -0
- package/lib/Layout/createActions.js +5 -0
- package/lib/Layout/images/index.js +28 -0
- package/lib/Layout/index.js +55 -30
- package/lib/Layout/paaslayout/CompactSideMenu.js +84 -35
- package/lib/Layout/paaslayout/Header.js +55 -22
- package/lib/Layout/paaslayout/Logo.js +19 -3
- package/lib/Layout/paaslayout/SideMenu.js +87 -39
- package/lib/Layout/paaslayout/index.js +122 -77
- package/lib/Layout/storage.js +40 -11
- package/lib/Layout/utils.js +166 -0
- package/lib/LoadingButton/index.js +29 -15
- package/lib/Modal/index.js +53 -38
- package/lib/Page/Box.js +45 -34
- package/lib/Page/index.js +77 -52
- package/lib/Page/utils.js +9 -1
- package/lib/QueryForm/Field/Checkbox.js +13 -5
- package/lib/QueryForm/Field/Select.js +53 -33
- package/lib/QueryForm/Field/SelectInput.js +56 -28
- package/lib/QueryForm/Field/fieldsMap.js +15 -1
- package/lib/QueryForm/Field/index.js +81 -43
- package/lib/QueryForm/createActions.js +12 -6
- package/lib/QueryForm/index.js +157 -78
- package/lib/QueryForm/useForm.js +5 -0
- package/lib/QueryListScene/List.js +140 -76
- package/lib/QueryListScene/QueryForm.js +86 -46
- package/lib/QueryListScene/QueryListScene.js +46 -25
- package/lib/QueryListScene/Title.js +7 -3
- package/lib/QueryListScene/Toolbar.js +16 -11
- package/lib/QueryListScene/createActions.js +5 -0
- package/lib/QueryListScene/index.js +10 -0
- package/lib/QueryListScene/useActions.js +5 -0
- package/lib/Select/DropDownWrap.js +56 -31
- package/lib/Select/index.js +241 -135
- package/lib/Table/ResizableTable/index.js +48 -26
- package/lib/Table/index.js +28 -17
- package/lib/Title/index.js +28 -21
- package/lib/index.js +56 -35
- package/lib/locale.js +19 -4
- package/lib/utils/checkAuth.js +9 -4
- package/lib/utils/findMenuInfoByPath.js +8 -1
- package/lib/utils/index.js +42 -15
- package/package.json +2 -2
|
@@ -1,89 +1,123 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports["default"] = void 0;
|
|
7
|
+
|
|
8
8
|
require("antd/lib/spin/style");
|
|
9
|
+
|
|
9
10
|
var _spin = _interopRequireDefault(require("antd/lib/spin"));
|
|
11
|
+
|
|
10
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
+
|
|
11
14
|
var _reactDom = require("react-dom");
|
|
15
|
+
|
|
12
16
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
|
+
|
|
13
18
|
var _lodash = require("lodash");
|
|
19
|
+
|
|
14
20
|
var _Table = _interopRequireDefault(require("../Table"));
|
|
21
|
+
|
|
15
22
|
var _locale = require("../locale");
|
|
16
|
-
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
19
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
20
|
-
|
|
29
|
+
|
|
30
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
31
|
+
|
|
32
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
33
|
+
|
|
21
34
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
35
|
+
|
|
22
36
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
37
|
+
|
|
38
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
39
|
+
|
|
40
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
41
|
+
|
|
42
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
43
|
+
|
|
26
44
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
|
-
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
45
|
+
|
|
46
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
47
|
+
|
|
48
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
49
|
+
|
|
50
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
51
|
+
|
|
35
52
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
36
|
-
|
|
37
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
38
|
-
|
|
53
|
+
|
|
54
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
55
|
+
|
|
56
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
57
|
+
|
|
58
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
59
|
+
|
|
60
|
+
var QueryList =
|
|
61
|
+
/*#__PURE__*/
|
|
62
|
+
function (_React$PureComponent) {
|
|
39
63
|
_inherits(QueryList, _React$PureComponent);
|
|
40
|
-
|
|
64
|
+
|
|
41
65
|
function QueryList(props) {
|
|
42
66
|
var _props$scroll;
|
|
67
|
+
|
|
43
68
|
var _this;
|
|
69
|
+
|
|
44
70
|
_classCallCheck(this, QueryList);
|
|
45
|
-
|
|
71
|
+
|
|
72
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(QueryList).call(this, props));
|
|
46
73
|
_this.onWindowResize = (0, _lodash.debounce)(function () {
|
|
47
74
|
var scroll = _this.state.scroll;
|
|
75
|
+
|
|
48
76
|
_this.setState({
|
|
49
|
-
scroll: _objectSpread(
|
|
77
|
+
scroll: _objectSpread({}, scroll, {
|
|
50
78
|
y: window.innerHeight - (_this.initialTop || _this.props.top || 200)
|
|
51
79
|
})
|
|
52
80
|
});
|
|
53
81
|
}, 50);
|
|
82
|
+
|
|
54
83
|
_this.fetchData = function () {
|
|
55
84
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
85
|
+
|
|
56
86
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
87
|
+
callback = _ref.callback,
|
|
88
|
+
_ref$showLoading = _ref.showLoading,
|
|
89
|
+
showLoading = _ref$showLoading === void 0 ? true : _ref$showLoading,
|
|
90
|
+
isInterval = _ref.isInterval;
|
|
91
|
+
|
|
61
92
|
var _this$props = _this.props,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
93
|
+
query = _this$props.qlsProps.query,
|
|
94
|
+
defaultExpandAllRows = _this$props.defaultExpandAllRows,
|
|
95
|
+
rowKey = _this$props.rowKey,
|
|
96
|
+
actions = _this$props.actions;
|
|
66
97
|
var pagination = _this.state.pagination;
|
|
67
98
|
var hasPagination = _this.props.pagination !== false;
|
|
99
|
+
|
|
68
100
|
if (hasPagination) {
|
|
69
101
|
params = _objectSpread({
|
|
70
102
|
pageSize: pagination.pageSize,
|
|
71
103
|
current: pagination.current
|
|
72
104
|
}, params);
|
|
73
105
|
}
|
|
106
|
+
|
|
74
107
|
showLoading && _this.setState({
|
|
75
108
|
loading: true
|
|
76
|
-
});
|
|
109
|
+
}); // 当用户操作查询还未得到服务端响应前,不要执行轮询请求时序问题导致覆盖
|
|
77
110
|
|
|
78
|
-
// 当用户操作查询还未得到服务端响应前,不要执行轮询请求时序问题导致覆盖
|
|
79
111
|
if (!isInterval) {
|
|
80
112
|
_this.isFetching = true;
|
|
81
113
|
}
|
|
114
|
+
|
|
82
115
|
actions.setData('submittedFormData', params);
|
|
83
116
|
return query((0, _lodash.pickBy)(params, function (val) {
|
|
84
117
|
return val !== '' && val !== null && val !== undefined;
|
|
85
118
|
})).then(function (result) {
|
|
86
119
|
var dataSource = hasPagination ? result.data || [] : result;
|
|
120
|
+
|
|
87
121
|
_this.setState(_objectSpread({
|
|
88
122
|
loading: false,
|
|
89
123
|
dataSource: dataSource,
|
|
@@ -108,42 +142,50 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
108
142
|
callback && callback();
|
|
109
143
|
});
|
|
110
144
|
};
|
|
145
|
+
|
|
111
146
|
_this.updateDataSource = function (dataSource) {
|
|
112
147
|
_this.setState({
|
|
113
148
|
dataSource: dataSource
|
|
114
149
|
});
|
|
150
|
+
|
|
115
151
|
_this.props.actions.setData('dataSource', dataSource);
|
|
116
152
|
};
|
|
153
|
+
|
|
117
154
|
_this.updatePagination = function (pagination) {
|
|
118
155
|
_this.setState({
|
|
119
156
|
pagination: pagination
|
|
120
157
|
});
|
|
158
|
+
|
|
121
159
|
_this.props.actions.setData('pagination', pagination);
|
|
122
160
|
};
|
|
161
|
+
|
|
123
162
|
_this.onFormChange = function (values) {
|
|
124
|
-
_this.formData = (0, _lodash.pickBy)(_objectSpread(
|
|
163
|
+
_this.formData = (0, _lodash.pickBy)(_objectSpread({}, values, {
|
|
125
164
|
sorter: (0, _lodash.get)(_this.formData, 'sorter'),
|
|
126
165
|
filters: (0, _lodash.get)(_this.formData, 'filters')
|
|
127
166
|
}), function (val) {
|
|
128
167
|
return val !== undefined;
|
|
129
168
|
});
|
|
130
169
|
};
|
|
170
|
+
|
|
131
171
|
_this.onSearch = function (values) {
|
|
132
172
|
var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
// this.props.actions.setData('formData', this.formData);
|
|
173
|
+
callback = _ref2.callback,
|
|
174
|
+
_ref2$showLoading = _ref2.showLoading,
|
|
175
|
+
showLoading = _ref2$showLoading === void 0 ? true : _ref2$showLoading;
|
|
176
|
+
|
|
177
|
+
_this.formData = _objectSpread({}, _this.formData, {}, values); // this.props.actions.setData('formData', this.formData);
|
|
178
|
+
|
|
138
179
|
return _this.fetchData(_this.formData, {
|
|
139
180
|
callback: callback,
|
|
140
181
|
showLoading: showLoading
|
|
141
182
|
});
|
|
142
183
|
};
|
|
184
|
+
|
|
143
185
|
_this.onTableChange = function (pagination, filters, sorter) {
|
|
144
186
|
var _this$props2 = _this.props,
|
|
145
|
-
|
|
146
|
-
|
|
187
|
+
actions = _this$props2.actions,
|
|
188
|
+
localPagination = _this$props2.localPagination;
|
|
147
189
|
var tableParams = {
|
|
148
190
|
pageSize: pagination.pageSize,
|
|
149
191
|
current: pagination.current,
|
|
@@ -151,17 +193,17 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
151
193
|
sorter: (0, _lodash.isEmpty)(sorter) ? undefined : sorter
|
|
152
194
|
};
|
|
153
195
|
console.log('onTableChange...', actions.getSubmittedFormData(), _this.formData);
|
|
154
|
-
Object.assign(_this.formData, tableParams);
|
|
155
|
-
|
|
156
|
-
// 排序变化暂时不处理,因为有时可能是前端sorter不需要走请求
|
|
196
|
+
Object.assign(_this.formData, tableParams); // 排序变化暂时不处理,因为有时可能是前端sorter不需要走请求
|
|
157
197
|
// 所以暂时排序有使用者自己处理
|
|
198
|
+
|
|
158
199
|
if (!localPagination) {
|
|
159
|
-
_this.fetchData(_objectSpread(
|
|
200
|
+
_this.fetchData(_objectSpread({}, actions.getSubmittedFormData(), {}, tableParams));
|
|
201
|
+
|
|
160
202
|
return;
|
|
161
203
|
}
|
|
162
|
-
var dataSource = _this.state.dataSource;
|
|
163
204
|
|
|
164
|
-
// 前端本地分页
|
|
205
|
+
var dataSource = _this.state.dataSource; // 前端本地分页
|
|
206
|
+
|
|
165
207
|
if (localPagination) {
|
|
166
208
|
_this.setState({
|
|
167
209
|
dataSource: dataSource,
|
|
@@ -176,21 +218,26 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
176
218
|
});
|
|
177
219
|
}
|
|
178
220
|
};
|
|
221
|
+
|
|
179
222
|
_this.onTableBodyScroll = (0, _lodash.throttle)(function (evt) {
|
|
180
223
|
console.log('onTableBodyScroll', evt.target.scrollTop);
|
|
224
|
+
|
|
181
225
|
_this.updateIsScrollToBottom(evt.target);
|
|
182
226
|
}, 50);
|
|
227
|
+
|
|
183
228
|
_this.updateIsScrollToBottom = function (tableBody) {
|
|
184
229
|
var isScrollToBottom = function isScrollToBottom(tableBody) {
|
|
185
230
|
var scrollHeight = tableBody.scrollHeight,
|
|
186
|
-
|
|
187
|
-
|
|
231
|
+
scrollTop = tableBody.scrollTop,
|
|
232
|
+
offsetHeight = tableBody.offsetHeight;
|
|
188
233
|
return scrollHeight === scrollTop + offsetHeight;
|
|
189
234
|
};
|
|
235
|
+
|
|
190
236
|
_this.setState({
|
|
191
237
|
hasScrollToBottom: isScrollToBottom(tableBody)
|
|
192
238
|
});
|
|
193
239
|
};
|
|
240
|
+
|
|
194
241
|
_this.state = {
|
|
195
242
|
loading: false,
|
|
196
243
|
dataSource: [],
|
|
@@ -200,40 +247,48 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
200
247
|
total: 0
|
|
201
248
|
},
|
|
202
249
|
scroll: props.scroll,
|
|
203
|
-
hasScrollToBottom: !((_props$scroll = props.scroll)
|
|
250
|
+
hasScrollToBottom: !((_props$scroll = props.scroll) == null ? void 0 : _props$scroll.y)
|
|
204
251
|
};
|
|
205
|
-
_this.tableRef =
|
|
252
|
+
_this.tableRef = (0, _react.createRef)();
|
|
206
253
|
var _actions = props.actions;
|
|
254
|
+
|
|
207
255
|
_actions.on('search', _this.onSearch);
|
|
256
|
+
|
|
208
257
|
_actions.on('setTableDataSource', _this.updateDataSource);
|
|
258
|
+
|
|
209
259
|
_actions.on('setPagination', _this.updatePagination);
|
|
260
|
+
|
|
210
261
|
_actions.on('setFormData', _this.onFormChange);
|
|
262
|
+
|
|
211
263
|
return _this;
|
|
212
264
|
}
|
|
265
|
+
|
|
213
266
|
_createClass(QueryList, [{
|
|
214
267
|
key: "render",
|
|
215
268
|
value: function render() {
|
|
216
269
|
var _this$props3 = this.props,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
270
|
+
columns = _this$props3.columns,
|
|
271
|
+
children = _this$props3.children,
|
|
272
|
+
pagination = _this$props3.pagination,
|
|
273
|
+
_this$props3$localPag = _this$props3.localPagination,
|
|
274
|
+
localPagination = _this$props3$localPag === void 0 ? false : _this$props3$localPag,
|
|
275
|
+
_this$props3$paginati = _this$props3.paginationSticky,
|
|
276
|
+
paginationSticky = _this$props3$paginati === void 0 ? false : _this$props3$paginati,
|
|
277
|
+
_this$props3$classNam = _this$props3.className,
|
|
278
|
+
className = _this$props3$classNam === void 0 ? '' : _this$props3$classNam,
|
|
279
|
+
qlsProps = _this$props3.qlsProps,
|
|
280
|
+
rest = _objectWithoutProperties(_this$props3, ["columns", "children", "pagination", "localPagination", "paginationSticky", "className", "qlsProps"]);
|
|
281
|
+
|
|
228
282
|
var _this$state = this.state,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
283
|
+
dataSource = _this$state.dataSource,
|
|
284
|
+
loading = _this$state.loading,
|
|
285
|
+
_this$state$expandedR = _this$state.expandedRowKeys,
|
|
286
|
+
expandedRowKeys = _this$state$expandedR === void 0 ? [] : _this$state$expandedR,
|
|
287
|
+
scroll = _this$state.scroll,
|
|
288
|
+
hasScrollToBottom = _this$state.hasScrollToBottom;
|
|
235
289
|
var hasPagination = typeof pagination !== 'undefined' ? pagination : true;
|
|
236
|
-
|
|
290
|
+
|
|
291
|
+
var paginationInfo = _objectSpread({}, this.state.pagination, {
|
|
237
292
|
// size: 'small',
|
|
238
293
|
showQuickJumper: true,
|
|
239
294
|
showSizeChanger: true,
|
|
@@ -241,18 +296,20 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
241
296
|
return (0, _locale.getText)('totalRecords', (0, _locale.getLanguage)(), total);
|
|
242
297
|
}
|
|
243
298
|
}, pagination || {});
|
|
299
|
+
|
|
244
300
|
var expandProps = _objectSpread({}, rest.defaultExpandAllRows ? {
|
|
245
301
|
expandedRowKeys: expandedRowKeys,
|
|
246
302
|
onExpandedRowsChange: this.onExpandedRowsChange
|
|
247
303
|
} : {});
|
|
248
|
-
|
|
304
|
+
|
|
305
|
+
return _react["default"].createElement("div", {
|
|
249
306
|
className: (0, _classnames["default"])("tnt-querylistscene-list ".concat(className), {
|
|
250
307
|
paginationSticky: paginationSticky,
|
|
251
308
|
hasScrollToBottom: hasScrollToBottom
|
|
252
309
|
})
|
|
253
|
-
},
|
|
310
|
+
}, _react["default"].createElement(_spin["default"], {
|
|
254
311
|
spinning: loading
|
|
255
|
-
},
|
|
312
|
+
}, _react["default"].createElement(_Table["default"], _extends({
|
|
256
313
|
ref: this.tableRef
|
|
257
314
|
}, expandProps, rest, columns ? {
|
|
258
315
|
columns: columns
|
|
@@ -267,11 +324,13 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
267
324
|
key: "componentDidMount",
|
|
268
325
|
value: function componentDidMount() {
|
|
269
326
|
var _this2 = this,
|
|
270
|
-
|
|
327
|
+
_this$state$scroll;
|
|
328
|
+
|
|
271
329
|
var _this$props4 = this.props,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
this.formData = _objectSpread(
|
|
330
|
+
qlsProps = _this$props4.qlsProps,
|
|
331
|
+
actions = _this$props4.actions;
|
|
332
|
+
this.formData = _objectSpread({}, actions.getFormData() || {}, {}, qlsProps.memory ? actions.getPagination() : {});
|
|
333
|
+
|
|
275
334
|
if (!qlsProps.initSearch) {
|
|
276
335
|
// 默认进来不请求
|
|
277
336
|
this.fetchData(this.formData)["finally"](function () {
|
|
@@ -295,12 +354,15 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
295
354
|
}, ms);
|
|
296
355
|
}
|
|
297
356
|
};
|
|
357
|
+
|
|
298
358
|
doIntervalQuery(qlsProps.interval);
|
|
299
359
|
}
|
|
300
360
|
});
|
|
301
361
|
}
|
|
302
|
-
|
|
362
|
+
|
|
363
|
+
if ((_this$state$scroll = this.state.scroll) == null ? void 0 : _this$state$scroll.y) {
|
|
303
364
|
window.addEventListener('resize', this.onWindowResize);
|
|
365
|
+
|
|
304
366
|
if (this.tableRef.current) {
|
|
305
367
|
// table内垂直滚动,需要动态设置分页组件上阴影样式
|
|
306
368
|
var tableBody = (0, _reactDom.findDOMNode)(this.tableRef.current).querySelector('.ant-table-body');
|
|
@@ -323,7 +385,9 @@ var QueryList = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
323
385
|
this.timmer && clearTimeout(this.timmer);
|
|
324
386
|
}
|
|
325
387
|
}]);
|
|
388
|
+
|
|
326
389
|
return QueryList;
|
|
327
390
|
}(_react["default"].PureComponent);
|
|
391
|
+
|
|
328
392
|
exports["default"] = QueryList;
|
|
329
393
|
;
|
|
@@ -1,110 +1,147 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports["default"] = void 0;
|
|
7
|
+
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
9
10
|
var _classnames2 = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
10
12
|
var _QueryForm = _interopRequireDefault(require("../QueryForm"));
|
|
11
|
-
|
|
13
|
+
|
|
12
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
15
|
+
|
|
16
|
+
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
17
|
+
|
|
18
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
|
+
|
|
14
20
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
+
|
|
15
22
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
16
|
-
|
|
17
|
-
function
|
|
18
|
-
|
|
23
|
+
|
|
24
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
25
|
+
|
|
26
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
27
|
+
|
|
28
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
29
|
+
|
|
19
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20
|
-
|
|
21
|
-
function
|
|
22
|
-
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
31
|
+
|
|
32
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
33
|
+
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
35
|
+
|
|
36
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
37
|
+
|
|
28
38
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
29
|
-
|
|
30
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
39
|
+
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
|
|
42
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
43
|
+
|
|
44
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
45
|
+
|
|
31
46
|
var clsPrefix = 'tnt-querylistscene-queryform';
|
|
32
|
-
|
|
47
|
+
|
|
48
|
+
var QueryForm =
|
|
49
|
+
/*#__PURE__*/
|
|
50
|
+
function (_React$PureComponent) {
|
|
33
51
|
_inherits(QueryForm, _React$PureComponent);
|
|
34
|
-
|
|
52
|
+
|
|
35
53
|
function QueryForm(props) {
|
|
36
54
|
var _this;
|
|
55
|
+
|
|
37
56
|
_classCallCheck(this, QueryForm);
|
|
38
|
-
|
|
57
|
+
|
|
58
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(QueryForm).call(this, props));
|
|
59
|
+
|
|
39
60
|
_this.onSearch = function () {
|
|
40
61
|
var _this$props = _this.props,
|
|
41
|
-
|
|
42
|
-
|
|
62
|
+
onSearch = _this$props.onSearch,
|
|
63
|
+
actions = _this$props.actions;
|
|
43
64
|
var values = actions.getFormData();
|
|
44
|
-
|
|
65
|
+
|
|
66
|
+
var params = _objectSpread({}, values, {
|
|
45
67
|
current: 1
|
|
46
|
-
});
|
|
68
|
+
}); // memory 与 url解析setForm时 监听事件异步
|
|
69
|
+
|
|
47
70
|
|
|
48
|
-
// memory 与 url解析setForm时 监听事件异步
|
|
49
71
|
actions.setData('formData', values);
|
|
50
72
|
Promise.resolve().then(function () {
|
|
51
73
|
onSearch && onSearch(params);
|
|
52
74
|
actions.emit('search', params);
|
|
53
75
|
});
|
|
54
76
|
};
|
|
77
|
+
|
|
55
78
|
_this.onReset = function () {
|
|
56
79
|
var _this$props2 = _this.props,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
80
|
+
initialValues = _this$props2.initialValues,
|
|
81
|
+
onReset = _this$props2.onReset,
|
|
82
|
+
actions = _this$props2.actions;
|
|
60
83
|
actions.setFormData(initialValues, false);
|
|
61
84
|
onReset && onReset(initialValues);
|
|
85
|
+
|
|
62
86
|
_this.onSearch();
|
|
63
87
|
};
|
|
88
|
+
|
|
64
89
|
_this.onChange = function (newValues, changedInfo) {
|
|
65
90
|
var _this$props3 = _this.props,
|
|
66
|
-
|
|
67
|
-
|
|
91
|
+
onChange = _this$props3.onChange,
|
|
92
|
+
actions = _this$props3.actions;
|
|
93
|
+
|
|
68
94
|
for (var _len = arguments.length, rest = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
69
95
|
rest[_key - 2] = arguments[_key];
|
|
70
96
|
}
|
|
97
|
+
|
|
71
98
|
onChange && onChange.apply(void 0, [newValues, changedInfo].concat(rest));
|
|
72
99
|
actions.setFormData(newValues, false);
|
|
73
100
|
};
|
|
101
|
+
|
|
74
102
|
_this.setFormData = function (data, needSearch) {
|
|
75
103
|
var actions = _this.props.actions;
|
|
76
104
|
actions.setData('formData', data);
|
|
105
|
+
|
|
77
106
|
_this.form.setValues(data);
|
|
107
|
+
|
|
78
108
|
needSearch && _this.onSearch();
|
|
79
109
|
};
|
|
110
|
+
|
|
80
111
|
_this.resetFormData = function (needSearch) {
|
|
81
112
|
var _this$props4 = _this.props,
|
|
82
|
-
|
|
83
|
-
|
|
113
|
+
initialValues = _this$props4.initialValues,
|
|
114
|
+
actions = _this$props4.actions;
|
|
84
115
|
actions.setFormData(initialValues, needSearch);
|
|
116
|
+
|
|
85
117
|
_this.form.resetValues();
|
|
86
118
|
};
|
|
119
|
+
|
|
87
120
|
var _actions = props.actions,
|
|
88
|
-
|
|
121
|
+
form = props.form;
|
|
89
122
|
_this.form = form || _QueryForm["default"].createForm();
|
|
123
|
+
|
|
90
124
|
_actions.on('setFormData', _this.setFormData);
|
|
125
|
+
|
|
91
126
|
_actions.on('resetFormData', _this.resetFormData);
|
|
127
|
+
|
|
92
128
|
return _this;
|
|
93
129
|
}
|
|
130
|
+
|
|
94
131
|
_createClass(QueryForm, [{
|
|
95
132
|
key: "render",
|
|
96
133
|
value: function render() {
|
|
97
134
|
var _this$props5 = this.props,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
135
|
+
className = _this$props5.className,
|
|
136
|
+
actions = _this$props5.actions,
|
|
137
|
+
extraActions = _this$props5.extraActions,
|
|
138
|
+
extralActions = _this$props5.extralActions,
|
|
139
|
+
qlsProps = _this$props5.qlsProps,
|
|
140
|
+
props = _objectWithoutProperties(_this$props5, ["className", "actions", "extraActions", "extralActions", "qlsProps"]);
|
|
141
|
+
|
|
142
|
+
return _react["default"].createElement(_QueryForm["default"], _extends({}, props, {
|
|
105
143
|
form: this.form,
|
|
106
|
-
className: (0, _classnames2["default"])(clsPrefix, _defineProperty({}, className, className))
|
|
107
|
-
// 前期拼写错误,导致需要兼容错误的api
|
|
144
|
+
className: (0, _classnames2["default"])(clsPrefix, _defineProperty({}, className, className)) // 前期拼写错误,导致需要兼容错误的api
|
|
108
145
|
,
|
|
109
146
|
extraActions: extraActions || extralActions,
|
|
110
147
|
onChange: this.onChange,
|
|
@@ -116,12 +153,13 @@ var QueryForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
116
153
|
key: "componentDidMount",
|
|
117
154
|
value: function componentDidMount() {
|
|
118
155
|
var _this$props6 = this.props,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
156
|
+
_this$props6$initialV = _this$props6.initialValues,
|
|
157
|
+
initialValues = _this$props6$initialV === void 0 ? {} : _this$props6$initialV,
|
|
158
|
+
actions = _this$props6.actions,
|
|
159
|
+
qlsProps = _this$props6.qlsProps;
|
|
160
|
+
|
|
123
161
|
if (qlsProps.memory) {
|
|
124
|
-
actions.setFormData(_objectSpread(
|
|
162
|
+
actions.setFormData(_objectSpread({}, initialValues, {}, actions.getFormData()), false);
|
|
125
163
|
} else {
|
|
126
164
|
actions.setData('formData', initialValues);
|
|
127
165
|
}
|
|
@@ -134,8 +172,10 @@ var QueryForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
134
172
|
actions.removeListener('resetFormData', this.resetFormData);
|
|
135
173
|
}
|
|
136
174
|
}]);
|
|
175
|
+
|
|
137
176
|
return QueryForm;
|
|
138
177
|
}(_react["default"].PureComponent);
|
|
178
|
+
|
|
139
179
|
exports["default"] = QueryForm;
|
|
140
180
|
;
|
|
141
181
|
QueryForm.Field = _QueryForm["default"].Field;
|