tntd 1.4.1 → 1.4.4
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/babel.config.js +1 -1
- package/components/Ellipsis/index.js +4 -4
- package/components/QueryForm/index.js +2 -1
- package/components/Select/index.js +3 -4
- package/dist/stats.json +4901 -4901
- package/dist/tntd.js +1 -1
- package/es/ArrayInput/index.js +19 -11
- package/es/Columns/index.js +7 -3
- package/es/DevelopmentLogin/LoginModal.js +17 -8
- package/es/Ellipsis/index.js +10 -6
- package/es/Handle/index.js +11 -5
- package/es/Layout/AppList.js +19 -9
- package/es/Layout/Application.js +4 -2
- package/es/Layout/Avatar.js +7 -3
- package/es/Layout/CompatibleLanguage.js +4 -2
- package/es/Layout/EnterpriseLayout/Avatar.js +11 -5
- package/es/Layout/EnterpriseLayout/Theme.js +4 -2
- package/es/Layout/HeaderActions.js +4 -2
- package/es/Layout/Layout.js +6 -4
- package/es/Layout/OrgAppList.js +13 -7
- package/es/Layout/SideMenu.js +6 -4
- package/es/Layout/Theme.js +4 -2
- package/es/Layout/paaslayout/index.js +7 -5
- package/es/LoadingButton/index.js +4 -2
- package/es/Modal/index.js +4 -2
- package/es/Page/Box.js +4 -2
- package/es/QueryForm/Field/Checkbox.js +4 -2
- package/es/QueryForm/Field/Select.js +5 -3
- package/es/QueryForm/Field/SelectInput.js +8 -4
- package/es/QueryForm/Field/fieldsMap.js +13 -8
- package/es/QueryForm/Field/index.js +4 -2
- package/es/QueryForm/index.js +20 -11
- package/es/QueryListScene/List.js +4 -2
- package/es/Select/index.js +11 -9
- package/es/Table/ResizableTable/index.js +4 -2
- package/es/Table/index.js +4 -2
- package/lib/Ellipsis/index.js +3 -3
- package/lib/Layout/EnterpriseLayout/Header.js +113 -0
- package/lib/Layout/EnterpriseLayout/HeaderActions.js +104 -0
- package/lib/QueryForm/index.js +2 -1
- package/lib/Select/index.js +2 -4
- package/package.json +1 -1
package/es/ArrayInput/index.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import "antd/lib/row/style";
|
|
2
|
+
import _Row from "antd/lib/row";
|
|
3
|
+
import "antd/lib/tooltip/style";
|
|
4
|
+
import _Tooltip from "antd/lib/tooltip";
|
|
5
|
+
import "antd/lib/col/style";
|
|
6
|
+
import _Col from "antd/lib/col";
|
|
7
|
+
import "antd/lib/table/style";
|
|
8
|
+
import _Table from "antd/lib/table";
|
|
9
|
+
|
|
1
10
|
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; }
|
|
2
11
|
|
|
3
12
|
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; }
|
|
@@ -25,11 +34,10 @@ function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) ||
|
|
|
25
34
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
35
|
|
|
27
36
|
import React, { useEffect, useState, useCallback, isValidElement } from "react";
|
|
28
|
-
import { Row, Col, Table, Tooltip } from "antd";
|
|
29
37
|
import { isFunction, isArray, sumBy, sum, set, get } from "lodash";
|
|
30
38
|
import { plusIcon, deleteIcon } from "./icon";
|
|
31
39
|
import "./index.less";
|
|
32
|
-
var Column =
|
|
40
|
+
var Column = _Table.Column;
|
|
33
41
|
|
|
34
42
|
var getWidth = function getWidth(span) {
|
|
35
43
|
return 1000 / span;
|
|
@@ -112,13 +120,13 @@ export default function ArrayInput(_ref) {
|
|
|
112
120
|
fields = get(fields, "props.children", []);
|
|
113
121
|
}
|
|
114
122
|
|
|
115
|
-
return React.createElement(
|
|
123
|
+
return React.createElement(_Row, {
|
|
116
124
|
gutter: gutter,
|
|
117
125
|
key: index,
|
|
118
126
|
className: "tntd-array-input-item"
|
|
119
127
|
}, fields.map(function (field, i) {
|
|
120
128
|
if (!isValidElement(field)) {
|
|
121
|
-
return field ? React.createElement(
|
|
129
|
+
return field ? React.createElement(_Col, {
|
|
122
130
|
span: 4,
|
|
123
131
|
key: i
|
|
124
132
|
}, field) : "";
|
|
@@ -131,7 +139,7 @@ export default function ArrayInput(_ref) {
|
|
|
131
139
|
fieldChange = _ref2.onChange,
|
|
132
140
|
other = _objectWithoutProperties(_ref2, ["name", "span", "onChange"]);
|
|
133
141
|
|
|
134
|
-
return React.createElement(
|
|
142
|
+
return React.createElement(_Col, {
|
|
135
143
|
span: span,
|
|
136
144
|
key: i
|
|
137
145
|
}, React.cloneElement(field, _objectSpread({
|
|
@@ -142,13 +150,13 @@ export default function ArrayInput(_ref) {
|
|
|
142
150
|
changeValue(index, name, newValue);
|
|
143
151
|
}
|
|
144
152
|
}, other)));
|
|
145
|
-
}), React.createElement(
|
|
153
|
+
}), React.createElement(_Col, {
|
|
146
154
|
span: 24 - sum(fields.map(function (f) {
|
|
147
155
|
return get(f, "props.span", 4);
|
|
148
156
|
})) % 24
|
|
149
157
|
}, React.createElement("span", {
|
|
150
158
|
className: "tntd-array-input-action"
|
|
151
|
-
}, plusTip ? React.createElement(
|
|
159
|
+
}, plusTip ? React.createElement(_Tooltip, {
|
|
152
160
|
title: plusTip,
|
|
153
161
|
placement: "left"
|
|
154
162
|
}, React.createElement("span", {
|
|
@@ -161,7 +169,7 @@ export default function ArrayInput(_ref) {
|
|
|
161
169
|
onClick: function onClick() {
|
|
162
170
|
return onAdd(index);
|
|
163
171
|
}
|
|
164
|
-
}, plusIcon), deleteTip ? React.createElement(
|
|
172
|
+
}, plusIcon), deleteTip ? React.createElement(_Tooltip, {
|
|
165
173
|
title: deleteTip,
|
|
166
174
|
placement: "right"
|
|
167
175
|
}, React.createElement("span", {
|
|
@@ -198,7 +206,7 @@ export default function ArrayInput(_ref) {
|
|
|
198
206
|
});
|
|
199
207
|
return React.createElement("div", {
|
|
200
208
|
className: "tntd-array-input"
|
|
201
|
-
}, React.createElement(
|
|
209
|
+
}, React.createElement(_Table, {
|
|
202
210
|
dataSource: dataSource,
|
|
203
211
|
pagination: false,
|
|
204
212
|
locale: {
|
|
@@ -243,7 +251,7 @@ export default function ArrayInput(_ref) {
|
|
|
243
251
|
render: function render(text, row, index) {
|
|
244
252
|
return React.createElement("span", {
|
|
245
253
|
className: "tntd-array-input-action"
|
|
246
|
-
}, plusTip ? React.createElement(
|
|
254
|
+
}, plusTip ? React.createElement(_Tooltip, {
|
|
247
255
|
title: plusTip,
|
|
248
256
|
placement: "left"
|
|
249
257
|
}, React.createElement("span", {
|
|
@@ -256,7 +264,7 @@ export default function ArrayInput(_ref) {
|
|
|
256
264
|
onClick: function onClick() {
|
|
257
265
|
return onAdd(index);
|
|
258
266
|
}
|
|
259
|
-
}, plusIcon), deleteTip ? React.createElement(
|
|
267
|
+
}, plusIcon), deleteTip ? React.createElement(_Tooltip, {
|
|
260
268
|
title: deleteTip,
|
|
261
269
|
placement: "right"
|
|
262
270
|
}, React.createElement("span", {
|
package/es/Columns/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import "antd/lib/row/style";
|
|
2
|
+
import _Row from "antd/lib/row";
|
|
3
|
+
import "antd/lib/col/style";
|
|
4
|
+
import _Col from "antd/lib/col";
|
|
5
|
+
|
|
1
6
|
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); }
|
|
2
7
|
|
|
3
8
|
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; }
|
|
@@ -11,7 +16,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
11
16
|
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; }
|
|
12
17
|
|
|
13
18
|
import classnames from 'classnames';
|
|
14
|
-
import { Row, Col } from 'antd';
|
|
15
19
|
import './index.less';
|
|
16
20
|
var clsPrefix = 'tnt-columns';
|
|
17
21
|
export var Item = function Item(props) {
|
|
@@ -25,7 +29,7 @@ export var Item = function Item(props) {
|
|
|
25
29
|
tabType = props.tabType,
|
|
26
30
|
onTabChange = props.onTabChange;
|
|
27
31
|
var realActiveKey = activeTabKey || defaultActiveTabKey;
|
|
28
|
-
return React.createElement(
|
|
32
|
+
return React.createElement(_Col, {
|
|
29
33
|
className: "".concat(clsPrefix, "-col"),
|
|
30
34
|
span: span < 4 ? 4 : span
|
|
31
35
|
}, React.createElement("div", null, (!tabList || tabList.length < 0) && React.createElement("div", {
|
|
@@ -70,7 +74,7 @@ var Columns = function Columns(props) {
|
|
|
70
74
|
height: props.height ? "".concat(props.height, "px") : 'calc(100vh)'
|
|
71
75
|
});
|
|
72
76
|
|
|
73
|
-
return React.createElement(
|
|
77
|
+
return React.createElement(_Row, _extends({
|
|
74
78
|
className: classnames(clsPrefix, {
|
|
75
79
|
gutter: gutter
|
|
76
80
|
}),
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import "antd/lib/modal/style";
|
|
2
|
+
import _Modal from "antd/lib/modal";
|
|
3
|
+
import "antd/lib/form/style";
|
|
4
|
+
import _Form from "antd/lib/form";
|
|
5
|
+
import "antd/lib/input/style";
|
|
6
|
+
import _Input from "antd/lib/input";
|
|
7
|
+
import "antd/lib/message/style";
|
|
8
|
+
import _message from "antd/lib/message";
|
|
9
|
+
|
|
1
10
|
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; }
|
|
2
11
|
|
|
3
12
|
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; }
|
|
@@ -13,7 +22,6 @@ function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) ||
|
|
|
13
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
23
|
|
|
15
24
|
import { useState } from 'react';
|
|
16
|
-
import { Modal, Input, Form, message } from 'antd';
|
|
17
25
|
import Cookies from 'universal-cookie';
|
|
18
26
|
var cookies = new Cookies(); // 默认
|
|
19
27
|
|
|
@@ -54,7 +62,8 @@ export default (function (_ref) {
|
|
|
54
62
|
|
|
55
63
|
if (returnVal && returnVal.then) {
|
|
56
64
|
returnVal.then(function (res) {
|
|
57
|
-
|
|
65
|
+
_message.success('模拟登陆成功');
|
|
66
|
+
|
|
58
67
|
localStorage.setItem('accountInfo', JSON.stringify(accountInfo));
|
|
59
68
|
setConfirmLoading(false);
|
|
60
69
|
setTimeout(function () {
|
|
@@ -81,32 +90,32 @@ export default (function (_ref) {
|
|
|
81
90
|
setAccountInfo(_objectSpread({}, accountInfo, _defineProperty({}, key, evt.target.value)));
|
|
82
91
|
};
|
|
83
92
|
|
|
84
|
-
return React.createElement(
|
|
93
|
+
return React.createElement(_Modal, {
|
|
85
94
|
title: "\u5F00\u53D1\u8005\u6A21\u62DF\u767B\u9646",
|
|
86
95
|
visible: visible,
|
|
87
96
|
maskClosable: false,
|
|
88
97
|
onOk: onSubmit,
|
|
89
98
|
onCancel: close,
|
|
90
99
|
confirmLoading: confirmLoading
|
|
91
|
-
}, React.createElement(
|
|
100
|
+
}, React.createElement(_Form, {
|
|
92
101
|
labelCol: {
|
|
93
102
|
span: 5
|
|
94
103
|
},
|
|
95
104
|
wrapperCol: {
|
|
96
105
|
span: 18
|
|
97
106
|
}
|
|
98
|
-
}, React.createElement(
|
|
107
|
+
}, React.createElement(_Form.Item, {
|
|
99
108
|
label: "\u7528\u6237\u540D\uFF1A"
|
|
100
|
-
}, React.createElement(
|
|
109
|
+
}, React.createElement(_Input, {
|
|
101
110
|
type: "text",
|
|
102
111
|
placeholder: "\u8BF7\u8F93\u5165\u7528\u6237\u540D",
|
|
103
112
|
value: account || undefined,
|
|
104
113
|
onChange: function onChange(evt) {
|
|
105
114
|
return changeFieldValue('account', evt);
|
|
106
115
|
}
|
|
107
|
-
})), React.createElement(
|
|
116
|
+
})), React.createElement(_Form.Item, {
|
|
108
117
|
label: "\u5BC6\u7801\uFF1A"
|
|
109
|
-
}, React.createElement(
|
|
118
|
+
}, React.createElement(_Input, {
|
|
110
119
|
type: "text",
|
|
111
120
|
placeholder: "\u8BF7\u8F93\u5165\u7528\u6237\u540D",
|
|
112
121
|
value: password || undefined,
|
package/es/Ellipsis/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import "antd/lib/tooltip/style";
|
|
2
|
+
import _Tooltip from "antd/lib/tooltip";
|
|
3
|
+
import "antd/lib/popover/style";
|
|
4
|
+
import _Popover from "antd/lib/popover";
|
|
5
|
+
|
|
1
6
|
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; }
|
|
2
7
|
|
|
3
8
|
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; }
|
|
@@ -20,7 +25,6 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
20
25
|
* @Describe: 省略号组件
|
|
21
26
|
*/
|
|
22
27
|
import { useState, useEffect, useRef } from 'react';
|
|
23
|
-
import { Popover, Tooltip } from 'antd';
|
|
24
28
|
import copy from 'copy-to-clipboard';
|
|
25
29
|
import CopySVG from './Svg/CopySVG';
|
|
26
30
|
import TickSVG from './Svg/TickSVG';
|
|
@@ -94,7 +98,7 @@ export default (function (props) {
|
|
|
94
98
|
};
|
|
95
99
|
|
|
96
100
|
var renderNode = function renderNode() {
|
|
97
|
-
var popoverNode = React.createElement(
|
|
101
|
+
var popoverNode = React.createElement(_Popover, _extends({}, props, {
|
|
98
102
|
content: content || children,
|
|
99
103
|
visible: tipVisible,
|
|
100
104
|
onVisibleChange: function onVisibleChange(visible) {
|
|
@@ -107,7 +111,7 @@ export default (function (props) {
|
|
|
107
111
|
},
|
|
108
112
|
ref: elementRef
|
|
109
113
|
}, children || content));
|
|
110
|
-
var tooltipNode = React.createElement(
|
|
114
|
+
var tooltipNode = React.createElement(_Tooltip, _extends({}, props, {
|
|
111
115
|
title: title || children,
|
|
112
116
|
visible: tipVisible,
|
|
113
117
|
onVisibleChange: function onVisibleChange(visible) {
|
|
@@ -124,14 +128,14 @@ export default (function (props) {
|
|
|
124
128
|
};
|
|
125
129
|
|
|
126
130
|
return React.createElement(React.Fragment, null, React.createElement("div", {
|
|
127
|
-
|
|
131
|
+
className: "tnt-ellipsis",
|
|
128
132
|
style: _objectSpread({}, style, {
|
|
129
133
|
maxWidth: widthLimit
|
|
130
134
|
})
|
|
131
135
|
}, prefix && prefix, React.createElement("div", {
|
|
132
|
-
|
|
136
|
+
className: getClassName()
|
|
133
137
|
}, inner ? renderNode() : emptyText), suffix && suffix, inner && _copyable && React.createElement("div", {
|
|
134
|
-
|
|
138
|
+
className: "svg-button",
|
|
135
139
|
onClick: function onClick() {
|
|
136
140
|
return handleCopy(elementRef.current.innerText);
|
|
137
141
|
}
|
package/es/Handle/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import "antd/lib/dropdown/style";
|
|
2
|
+
import _Dropdown from "antd/lib/dropdown";
|
|
3
|
+
import "antd/lib/menu/style";
|
|
4
|
+
import _Menu from "antd/lib/menu";
|
|
5
|
+
import "antd/lib/divider/style";
|
|
6
|
+
import _Divider from "antd/lib/divider";
|
|
7
|
+
|
|
1
8
|
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); }
|
|
2
9
|
|
|
3
10
|
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; }
|
|
@@ -5,7 +12,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
5
12
|
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; }
|
|
6
13
|
|
|
7
14
|
import { Fragment } from 'react';
|
|
8
|
-
import { Dropdown, Menu, Divider } from 'antd';
|
|
9
15
|
import Icon from '../Icon';
|
|
10
16
|
import './index.less';
|
|
11
17
|
var clsPrefix = 'tnt-more-menus';
|
|
@@ -54,16 +60,16 @@ export default (function (props) {
|
|
|
54
60
|
return React.createElement(Fragment, {
|
|
55
61
|
key: i
|
|
56
62
|
}, dom, !(i === preChildLen - 1 && !((_lastChildPart = lastChildPart) == null ? void 0 : _lastChildPart.length) // 没有更多 且 是最后一个时 不显示 Divider
|
|
57
|
-
) && React.createElement(
|
|
63
|
+
) && React.createElement(_Divider, {
|
|
58
64
|
type: "vertical"
|
|
59
65
|
}));
|
|
60
66
|
});
|
|
61
67
|
}
|
|
62
68
|
|
|
63
|
-
var menu = React.createElement(
|
|
69
|
+
var menu = React.createElement(_Menu, {
|
|
64
70
|
className: "org-pop-opera-btn"
|
|
65
71
|
}, (_lastChildPart2 = lastChildPart) == null ? void 0 : _lastChildPart2.map(function (child, i) {
|
|
66
|
-
return React.createElement(
|
|
72
|
+
return React.createElement(_Menu.Item, {
|
|
67
73
|
key: i
|
|
68
74
|
}, child);
|
|
69
75
|
}));
|
|
@@ -71,7 +77,7 @@ export default (function (props) {
|
|
|
71
77
|
onClick: function onClick(e) {
|
|
72
78
|
e.stopPropagation();
|
|
73
79
|
}
|
|
74
|
-
}, rest), preChildPart, ((_lastChildPart3 = lastChildPart) == null ? void 0 : _lastChildPart3.length) > 0 && React.createElement(
|
|
80
|
+
}, rest), preChildPart, ((_lastChildPart3 = lastChildPart) == null ? void 0 : _lastChildPart3.length) > 0 && React.createElement(_Dropdown, {
|
|
75
81
|
overlay: menu,
|
|
76
82
|
arrow: true
|
|
77
83
|
}, type === 'icon' ? React.createElement(Icon, {
|
package/es/Layout/AppList.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
import "antd/lib/dropdown/style";
|
|
2
|
+
import _Dropdown from "antd/lib/dropdown";
|
|
3
|
+
import "antd/lib/input/style";
|
|
4
|
+
import _Input from "antd/lib/input";
|
|
5
|
+
import "antd/lib/tree-select/style";
|
|
6
|
+
import _TreeSelect from "antd/lib/tree-select";
|
|
7
|
+
import "antd/lib/menu/style";
|
|
8
|
+
import _Menu from "antd/lib/menu";
|
|
9
|
+
import "antd/lib/select/style";
|
|
10
|
+
import _Select from "antd/lib/select";
|
|
11
|
+
|
|
1
12
|
var _this = this;
|
|
2
13
|
|
|
3
14
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
@@ -52,18 +63,17 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
52
63
|
|
|
53
64
|
import { useState, useEffect } from 'react';
|
|
54
65
|
import styled, { withTheme } from 'styled-components';
|
|
55
|
-
import { Dropdown, Menu, Input, Select, TreeSelect } from 'antd';
|
|
56
66
|
import { get } from 'lodash';
|
|
57
67
|
import Icon from '../Icon';
|
|
58
68
|
import { getCurrentAppStore, setCurrentAppStore } from './storage';
|
|
59
69
|
import { traverseTree } from './utils';
|
|
60
|
-
var Option =
|
|
61
|
-
var MenuList = styled(
|
|
70
|
+
var Option = _Select.Option;
|
|
71
|
+
var MenuList = styled(_Menu)(_templateObject()); // 新版UI
|
|
62
72
|
|
|
63
|
-
var AppsSelect = styled(
|
|
73
|
+
var AppsSelect = styled(_Select)(_templateObject2(), function (props) {
|
|
64
74
|
return "".concat(props.theme.blueBgColor, " !important");
|
|
65
75
|
});
|
|
66
|
-
var AppTreeSelect = styled(
|
|
76
|
+
var AppTreeSelect = styled(_TreeSelect)(_templateObject3());
|
|
67
77
|
var SwitchAppMenu = styled.a(_templateObject4(), function (props) {
|
|
68
78
|
return "".concat(props.theme.headerHeight, "px");
|
|
69
79
|
}, function (props) {
|
|
@@ -111,11 +121,11 @@ export default withTheme(function (props) {
|
|
|
111
121
|
|
|
112
122
|
var Menus = React.createElement(MenuList, {
|
|
113
123
|
selectedKeys: [get(selectedApp, 'key')]
|
|
114
|
-
}, React.createElement(
|
|
124
|
+
}, React.createElement(_Menu.Item, {
|
|
115
125
|
className: "app-search-warp",
|
|
116
126
|
key: "search",
|
|
117
127
|
disabled: true
|
|
118
|
-
}, React.createElement(
|
|
128
|
+
}, React.createElement(_Input, {
|
|
119
129
|
allowClear: true,
|
|
120
130
|
placeholder: "\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",
|
|
121
131
|
value: searchValue,
|
|
@@ -135,7 +145,7 @@ export default withTheme(function (props) {
|
|
|
135
145
|
|
|
136
146
|
return true;
|
|
137
147
|
}).map(function (item) {
|
|
138
|
-
return React.createElement(
|
|
148
|
+
return React.createElement(_Menu.Item, {
|
|
139
149
|
key: item.key,
|
|
140
150
|
onClick: changeApp.bind(_this, item)
|
|
141
151
|
}, item.name);
|
|
@@ -214,7 +224,7 @@ export default withTheme(function (props) {
|
|
|
214
224
|
}));
|
|
215
225
|
}
|
|
216
226
|
|
|
217
|
-
return React.createElement(
|
|
227
|
+
return React.createElement(_Dropdown, {
|
|
218
228
|
overlay: Menus,
|
|
219
229
|
trigger: ['click']
|
|
220
230
|
}, React.createElement(SwitchAppMenu, null, React.createElement("span", null, get(selectedApp, 'name', '请选择')), React.createElement(Icon, {
|
package/es/Layout/Application.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import "antd/lib/popover/style";
|
|
2
|
+
import _Popover from "antd/lib/popover";
|
|
3
|
+
|
|
1
4
|
var _this = this;
|
|
2
5
|
|
|
3
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
@@ -53,7 +56,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
53
56
|
import { useState } from 'react';
|
|
54
57
|
import styled from 'styled-components';
|
|
55
58
|
import cn from 'classnames';
|
|
56
|
-
import { Popover } from 'antd';
|
|
57
59
|
import { get } from 'lodash';
|
|
58
60
|
import { systemMap as applicationsMap } from '@tntx/logo-icon';
|
|
59
61
|
import Iconfont from './Iconfont';
|
|
@@ -102,7 +104,7 @@ var AppContent = function AppContent(props) {
|
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
export default (function (props) {
|
|
105
|
-
return React.createElement(App, null, React.createElement(
|
|
107
|
+
return React.createElement(App, null, React.createElement(_Popover, {
|
|
106
108
|
placement: "bottomRight",
|
|
107
109
|
title: null,
|
|
108
110
|
content: React.createElement(AppContent, props),
|
package/es/Layout/Avatar.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import "antd/lib/popover/style";
|
|
2
|
+
import _Popover from "antd/lib/popover";
|
|
3
|
+
import "antd/lib/button/style";
|
|
4
|
+
import _Button from "antd/lib/button";
|
|
5
|
+
|
|
1
6
|
function _templateObject3() {
|
|
2
7
|
var data = _taggedTemplateLiteral(["\n min-width: 235px;\n z-index: 1;\n background-color: #fff;\n border-radius: 4px;\n\n .isInIframe & {\n display: none;\n }\n \n .user-info-body {\n padding: 30px 20px 20px 24px;\n line-height: 16px;\n .user-info-body-username {\n margin-top: 0px;\n font-size: 16px;\n color: #333;\n font-weight: normal;\n margin-bottom: 10px;\n line-height: 16px;\n }\n .user-info-body-account {\n margin-top: 0px;\n color: #666;\n margin-bottom: 14px;\n line-height: 16px;\n }\n a {\n margin-right: 16px;\n }\n }\n .user-info-footer {\n border-top: 1px solid #ccc;\n background-color: #f5f5f5;\n padding: 8px 20px;\n text-align: right;\n .user-info-footer-signout:hover {\n box-shadow: 0 2px 8px rgba(0, 0, 0, .1);\n border-color: #d9d9d9;\n color: rgba(0, 0, 0, 0.65);\n }\n }\n"]);
|
|
3
8
|
|
|
@@ -32,7 +37,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
32
37
|
|
|
33
38
|
import { useContext } from 'react';
|
|
34
39
|
import styled, { createGlobalStyle } from 'styled-components';
|
|
35
|
-
import { Popover, Button } from 'antd';
|
|
36
40
|
import deleteAllCookiesFactory from 'delete-all-cookies';
|
|
37
41
|
import { get } from 'lodash';
|
|
38
42
|
import images from './images';
|
|
@@ -72,7 +76,7 @@ var UserInfoContent = function UserInfoContent(props) {
|
|
|
72
76
|
href: "/bridge/userCenter?currentTab=2"
|
|
73
77
|
}, getText('changePwd'))), React.createElement("div", {
|
|
74
78
|
className: "user-info-footer"
|
|
75
|
-
}, React.createElement(
|
|
79
|
+
}, React.createElement(_Button, {
|
|
76
80
|
className: "user-info-footer-signout",
|
|
77
81
|
onClick: function onClick() {
|
|
78
82
|
if (onLogout) {
|
|
@@ -92,7 +96,7 @@ export default (function (props) {
|
|
|
92
96
|
var _props$userInfo = props.userInfo,
|
|
93
97
|
userInfo = _props$userInfo === void 0 ? {} : _props$userInfo;
|
|
94
98
|
var avatar = userInfo.avatar;
|
|
95
|
-
return React.createElement(Avatar, null, React.createElement(
|
|
99
|
+
return React.createElement(Avatar, null, React.createElement(_Popover, {
|
|
96
100
|
popupClassName: "tnt-layout-personal-popover",
|
|
97
101
|
placement: "bottomRight",
|
|
98
102
|
title: null,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import "antd/lib/popover/style";
|
|
2
|
+
import _Popover from "antd/lib/popover";
|
|
3
|
+
|
|
1
4
|
var _this = this;
|
|
2
5
|
|
|
3
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
@@ -53,7 +56,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
53
56
|
import { useState } from 'react';
|
|
54
57
|
import styled from 'styled-components';
|
|
55
58
|
import cn from 'classnames';
|
|
56
|
-
import { Popover } from 'antd';
|
|
57
59
|
import { get } from 'lodash';
|
|
58
60
|
import Icon from '../Icon';
|
|
59
61
|
import images from './images';
|
|
@@ -166,7 +168,7 @@ export default (function (props) {
|
|
|
166
168
|
return null;
|
|
167
169
|
}
|
|
168
170
|
|
|
169
|
-
return React.createElement(Theme, null, React.createElement(
|
|
171
|
+
return React.createElement(Theme, null, React.createElement(_Popover, {
|
|
170
172
|
placement: "bottomRight",
|
|
171
173
|
title: null,
|
|
172
174
|
content: React.createElement(ThemeContent, props),
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import "antd/lib/popover/style";
|
|
2
|
+
import _Popover from "antd/lib/popover";
|
|
3
|
+
import "antd/lib/row/style";
|
|
4
|
+
import _Row from "antd/lib/row";
|
|
5
|
+
import "antd/lib/divider/style";
|
|
6
|
+
import _Divider from "antd/lib/divider";
|
|
7
|
+
|
|
1
8
|
function _templateObject3() {
|
|
2
9
|
var data = _taggedTemplateLiteral(["\n width: 330px;\n z-index: 1;\n background-color: #fff;\n border-radius: 4px;\n box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.1);\n .isInIframe & {\n display: none;\n }\n\n .user-info-body {\n padding: 20px 15px;\n line-height: 16px;\n list-style: none;\n margin: 0;\n .user-info-body-username {\n margin-top: 0px;\n font-family: PingFangSC-Regular;\n font-weight: normal;\n font-size: 14px;\n color: ", ";\n line-height: 14px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .user-info-body-account {\n margin-top: 0px;\n font-family: PingFangSC-Regular;\n font-size: 12px;\n color: #8B919E;\n margin-bottom: 14px;\n line-height: 14px;\n margin-left: 10px;\n }\n }\n .user-info-footer {\n border-top: ", ";\n background-color: #fff;\n height: 36px;\n line-height: 36px;\n padding: 0 15px;\n font-size: 12px;\n color: ", ";\n a{\n flex: 1;\n text-align:center;\n color: ", ";\n }\n }\n"]);
|
|
3
10
|
|
|
@@ -31,7 +38,6 @@ function _templateObject() {
|
|
|
31
38
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
32
39
|
|
|
33
40
|
import styled, { createGlobalStyle } from 'styled-components';
|
|
34
|
-
import { Popover, Row, Divider } from 'antd';
|
|
35
41
|
import deleteAllCookiesFactory from 'delete-all-cookies';
|
|
36
42
|
import { get } from 'lodash';
|
|
37
43
|
import images from '../images';
|
|
@@ -83,7 +89,7 @@ var UserInfoContent = function UserInfoContent(props) {
|
|
|
83
89
|
}), React.createElement(Theme, {
|
|
84
90
|
theme: userInfo.theme,
|
|
85
91
|
onChange: onThemeChange
|
|
86
|
-
})), React.createElement(
|
|
92
|
+
})), React.createElement(_Row, {
|
|
87
93
|
className: "user-info-footer",
|
|
88
94
|
type: "flex",
|
|
89
95
|
justify: "space-between",
|
|
@@ -91,12 +97,12 @@ var UserInfoContent = function UserInfoContent(props) {
|
|
|
91
97
|
}, React.createElement("a", {
|
|
92
98
|
onClick: onPersonalSetting,
|
|
93
99
|
href: "/bridge/userCenter?currentTab=1"
|
|
94
|
-
}, "\u4E2A\u4EBA\u8BBE\u7F6E"), React.createElement(
|
|
100
|
+
}, "\u4E2A\u4EBA\u8BBE\u7F6E"), React.createElement(_Divider, {
|
|
95
101
|
type: "vertical"
|
|
96
102
|
}), React.createElement("a", {
|
|
97
103
|
onClick: onChangePassword,
|
|
98
104
|
href: "/bridge/userCenter?currentTab=2"
|
|
99
|
-
}, "\u4FEE\u6539\u5BC6\u7801"), React.createElement(
|
|
105
|
+
}, "\u4FEE\u6539\u5BC6\u7801"), React.createElement(_Divider, {
|
|
100
106
|
type: "vertical"
|
|
101
107
|
}), React.createElement("a", {
|
|
102
108
|
className: "user-info-footer-signout",
|
|
@@ -118,7 +124,7 @@ export default (function (props) {
|
|
|
118
124
|
var _props$userInfo = props.userInfo,
|
|
119
125
|
userInfo = _props$userInfo === void 0 ? {} : _props$userInfo;
|
|
120
126
|
var avatar = userInfo.avatar;
|
|
121
|
-
return React.createElement(Avatar, null, React.createElement(
|
|
127
|
+
return React.createElement(Avatar, null, React.createElement(_Popover, {
|
|
122
128
|
popupClassName: "tnt-layout-personal-popover",
|
|
123
129
|
placement: "bottomRight",
|
|
124
130
|
title: null,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import "antd/lib/row/style";
|
|
2
|
+
import _Row from "antd/lib/row";
|
|
3
|
+
|
|
1
4
|
var _this = this;
|
|
2
5
|
|
|
3
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
@@ -22,7 +25,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
22
25
|
|
|
23
26
|
import { useState } from 'react';
|
|
24
27
|
import styled from 'styled-components';
|
|
25
|
-
import { Row } from 'antd';
|
|
26
28
|
import Iconfont from '../Iconfont';
|
|
27
29
|
import { setThemeStore, getThemeStore } from '../storage';
|
|
28
30
|
var Theme = styled.li(_templateObject());
|
|
@@ -58,7 +60,7 @@ export default (function (props) {
|
|
|
58
60
|
onChange(theme);
|
|
59
61
|
};
|
|
60
62
|
|
|
61
|
-
return React.createElement(Theme, null, React.createElement(
|
|
63
|
+
return React.createElement(Theme, null, React.createElement(_Row, {
|
|
62
64
|
type: "flex",
|
|
63
65
|
justify: "space-between",
|
|
64
66
|
className: "user-info-body-theme-row"
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import "antd/lib/divider/style";
|
|
2
|
+
import _Divider from "antd/lib/divider";
|
|
3
|
+
|
|
1
4
|
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; }
|
|
2
5
|
|
|
3
6
|
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; }
|
|
@@ -15,7 +18,6 @@ function _templateObject() {
|
|
|
15
18
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
16
19
|
|
|
17
20
|
import styled, { withTheme } from 'styled-components';
|
|
18
|
-
import { Divider } from 'antd';
|
|
19
21
|
import GlobalNavigation from './GlobalNavigation';
|
|
20
22
|
import Language from './Language';
|
|
21
23
|
import Theme from './Theme';
|
|
@@ -79,7 +81,7 @@ export default withTheme(function (props) {
|
|
|
79
81
|
language: userInfo.lang,
|
|
80
82
|
apps: apps,
|
|
81
83
|
onChange: onApplicationChange
|
|
82
|
-
}), avatar && React.createElement(React.Fragment, null, React.createElement(
|
|
84
|
+
}), avatar && React.createElement(React.Fragment, null, React.createElement(_Divider, {
|
|
83
85
|
type: "vertical"
|
|
84
86
|
}), AvatarCustom ? React.createElement(AvatarCustom, {
|
|
85
87
|
userInfo: userInfo,
|
package/es/Layout/Layout.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import "antd/lib/layout/style";
|
|
2
|
+
import _Layout from "antd/lib/layout";
|
|
3
|
+
|
|
1
4
|
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; }
|
|
2
5
|
|
|
3
6
|
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; }
|
|
@@ -28,15 +31,14 @@ import { useState, useEffect } from 'react';
|
|
|
28
31
|
import styled, { withTheme } from 'styled-components';
|
|
29
32
|
import cn from 'classnames';
|
|
30
33
|
import { isUndefined } from 'lodash';
|
|
31
|
-
import { Layout } from 'antd';
|
|
32
34
|
import Icon from '../Icon';
|
|
33
35
|
import Header from './Header';
|
|
34
36
|
import Logo from './Logo';
|
|
35
37
|
import SideMenu from './SideMenu';
|
|
36
38
|
import { getSideMenuStore, setSideMenuStore, getLanguageStore, getThemeStore } from './storage';
|
|
37
|
-
var Content =
|
|
38
|
-
Sider =
|
|
39
|
-
var TNTLayout = styled(
|
|
39
|
+
var Content = _Layout.Content,
|
|
40
|
+
Sider = _Layout.Sider;
|
|
41
|
+
var TNTLayout = styled(_Layout)(_templateObject(), function (props) {
|
|
40
42
|
return props.theme.primaryTextColor;
|
|
41
43
|
}, function (props) {
|
|
42
44
|
return props.theme.lightBgColor;
|
package/es/Layout/OrgAppList.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import "antd/lib/select/style";
|
|
2
|
+
import _Select from "antd/lib/select";
|
|
3
|
+
import "antd/lib/tree-select/style";
|
|
4
|
+
import _TreeSelect from "antd/lib/tree-select";
|
|
5
|
+
import "antd/lib/input/style";
|
|
6
|
+
import _Input from "antd/lib/input";
|
|
7
|
+
|
|
1
8
|
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); }
|
|
2
9
|
|
|
3
10
|
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; }
|
|
@@ -48,19 +55,18 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
48
55
|
|
|
49
56
|
import { useState, useEffect } from 'react';
|
|
50
57
|
import styled, { withTheme, createGlobalStyle } from 'styled-components';
|
|
51
|
-
import { Input, Select, TreeSelect } from 'antd';
|
|
52
58
|
import { get } from 'lodash';
|
|
53
59
|
import { getCurrentAppStore, setCurrentAppStore, getCurrentOrgStore, setCurrentOrgStore, getCurrentOrgTreeStore, setCurrentOrgTreeStore } from './storage';
|
|
54
60
|
import { traverseTree } from './utils';
|
|
55
|
-
var InputGroup =
|
|
56
|
-
var TreeNode =
|
|
57
|
-
var Option =
|
|
61
|
+
var InputGroup = _Input.Group;
|
|
62
|
+
var TreeNode = _TreeSelect.TreeNode;
|
|
63
|
+
var Option = _Select.Option; // 机构+应用UI
|
|
58
64
|
|
|
59
65
|
var OrgAppsInputGroup = styled(InputGroup)(_templateObject(), function (props) {
|
|
60
66
|
return "".concat(props.theme.blueBgColor, " !important");
|
|
61
67
|
}); // 只展示机构
|
|
62
68
|
|
|
63
|
-
var AppTreeSelect = styled(
|
|
69
|
+
var AppTreeSelect = styled(_TreeSelect)(_templateObject2(), function (props) {
|
|
64
70
|
return "".concat(props.theme.blueBgColor, " !important");
|
|
65
71
|
});
|
|
66
72
|
var GlobalStyle = createGlobalStyle(_templateObject3());
|
|
@@ -259,7 +265,7 @@ export default withTheme(function (props) {
|
|
|
259
265
|
|
|
260
266
|
return React.createElement(OrgAppsInputGroup, {
|
|
261
267
|
compact: true
|
|
262
|
-
}, React.createElement(
|
|
268
|
+
}, React.createElement(_TreeSelect, _extends({
|
|
263
269
|
placeholder: "\u9009\u62E9\u673A\u6784",
|
|
264
270
|
searchPlaceholder: "\u673A\u6784\u540D\u79F0",
|
|
265
271
|
treeNodeFilterProp: "title",
|
|
@@ -276,7 +282,7 @@ export default withTheme(function (props) {
|
|
|
276
282
|
overflow: 'auto',
|
|
277
283
|
width: 320
|
|
278
284
|
}
|
|
279
|
-
}, orgTreeConfigProp)), React.createElement(GlobalStyle, null), React.createElement(
|
|
285
|
+
}, orgTreeConfigProp)), React.createElement(GlobalStyle, null), React.createElement(_Select, {
|
|
280
286
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
281
287
|
showSearch: true,
|
|
282
288
|
optionFilterProp: "children",
|