venus-design 0.1.3 → 0.1.5

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.
Files changed (42) hide show
  1. package/dist/BISpin/index.d.ts +1 -0
  2. package/dist/BISpin/index.js +7 -6
  3. package/dist/BISpin/index.module.less +1 -1
  4. package/dist/DataView/index.d.ts +1 -0
  5. package/dist/DataView/index.js +3 -3
  6. package/dist/Descriptions/index.d.ts +1 -0
  7. package/dist/Descriptions/index.js +2 -3
  8. package/dist/NumberPercent/index.d.ts +1 -0
  9. package/dist/NumberPercent/index.js +3 -4
  10. package/dist/NumberUnits/index.d.ts +1 -0
  11. package/dist/NumberUnits/index.js +3 -4
  12. package/dist/NumberUnits/styles.module.less +2 -2
  13. package/dist/ProForm/index.d.ts +1 -0
  14. package/dist/ProForm/index.js +9 -11
  15. package/dist/SelectCompoments/SelectUserBySecLevelId/chooseBox.d.ts +1 -0
  16. package/dist/SelectCompoments/SelectUserBySecLevelId/chooseBox.js +6 -7
  17. package/dist/SelectCompoments/SelectUserBySecLevelId/modalFiles/index.d.ts +1 -0
  18. package/dist/SelectCompoments/SelectUserBySecLevelId/modalFiles/index.js +4 -5
  19. package/dist/SelectCompoments/SelectUserBySecLevelId/modalFiles/styles.module.less +9 -93
  20. package/dist/SelectCompoments/SelectUserBySecLevelId/panel.d.ts +1 -0
  21. package/dist/SelectCompoments/SelectUserBySecLevelId/panel.js +12 -13
  22. package/dist/SelectCompoments/SelectUserBySecLevelId/search/expression.d.ts +1 -0
  23. package/dist/SelectCompoments/SelectUserBySecLevelId/search/expression.js +7 -8
  24. package/dist/SelectCompoments/SelectUserBySecLevelId/search/org.d.ts +1 -0
  25. package/dist/SelectCompoments/SelectUserBySecLevelId/search/org.js +6 -7
  26. package/dist/SelectCompoments/SelectUserBySecLevelId/search/role.d.ts +1 -0
  27. package/dist/SelectCompoments/SelectUserBySecLevelId/search/role.js +7 -8
  28. package/dist/SelectCompoments/SelectUserBySecLevelId/search/user.d.ts +1 -0
  29. package/dist/SelectCompoments/SelectUserBySecLevelId/search/user.js +7 -8
  30. package/dist/SelectCompoments/SelectUserBySecLevelId/searchBox.d.ts +1 -0
  31. package/dist/SelectCompoments/SelectUserBySecLevelId/searchBox.js +2 -3
  32. package/dist/SelectCompoments/SelectUserBySecLevelId/styles.module.less +30 -30
  33. package/dist/VenusAdjustBatch/index.d.ts +1 -1
  34. package/dist/VenusAdjustBatch/interface.d.ts +1 -1
  35. package/dist/VenusAdjustBatch/interface.js +0 -1
  36. package/dist/VenusTable/interface.d.ts +1 -1
  37. package/dist/VenusTable/interface.js +0 -1
  38. package/dist/index.d.ts +2 -2
  39. package/dist/index.js +2 -2
  40. package/package.json +2 -1
  41. package/dist/AuthButton/styles.module.less +0 -5
  42. /package/dist/ProForm/{styles.module.less → styles.less} +0 -0
@@ -3,6 +3,7 @@
3
3
  *@date 2021-06-13 14:42
4
4
  * */
5
5
  import React, { Component } from 'react';
6
+ import './index.module.less';
6
7
  interface propTypes {
7
8
  spinning?: Boolean;
8
9
  size?: number;
@@ -19,8 +19,7 @@ import React, { Component } from 'react';
19
19
  import lottie from 'lottie-web';
20
20
  import classnames from 'classnames';
21
21
  import animationData from "./loading.json";
22
- import * as style from "./index.module.less";
23
- var s = style.default;
22
+ import "./index.module.less";
24
23
  ;
25
24
  var BISpin = /*#__PURE__*/function (_Component) {
26
25
  _inherits(BISpin, _Component);
@@ -56,15 +55,17 @@ var BISpin = /*#__PURE__*/function (_Component) {
56
55
  className = _this$props.className,
57
56
  loadingClassName = _this$props.loadingClassName;
58
57
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
59
- className: classnames(s.wrap, className)
58
+ className: classnames("wrapSpin", className)
60
59
  }, /*#__PURE__*/React.createElement("div", {
61
- className: s.spinning,
60
+ className: "spinning",
62
61
  style: {
63
62
  display: spinning ? 'block' : 'none'
64
63
  }
65
64
  }, /*#__PURE__*/React.createElement("div", {
66
- style: style,
67
- className: classnames(s.loading, s.size, loadingClassName),
65
+ style: style
66
+ //@ts-ignore
67
+ ,
68
+ className: classnames("loading", "size", loadingClassName),
68
69
  ref: function ref(dom) {
69
70
  //@ts-ignore
70
71
  _this.loading = dom;
@@ -1,4 +1,4 @@
1
- .wrap {
1
+ .wrapSpin {
2
2
  position: relative;
3
3
  width: 100%;
4
4
  min-height: 100px;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  /**
3
4
  * 拖拽列宽
4
5
  */
@@ -13,8 +13,8 @@ import React, { useEffect, useState } from 'react';
13
13
  //import {addData,SelectBysceneIdAndCreateBy} from './service';
14
14
  import ResizeTable from "./resizable";
15
15
  import { addData, SelectBysceneIdAndCreateBy } from "./service";
16
- import * as style from "./styles.module.less";
17
- var s = style.default;
16
+ import "./styles.module.less";
17
+
18
18
  /**
19
19
  * 拖拽列宽
20
20
  */
@@ -68,7 +68,7 @@ var DataView = /*#__PURE__*/React.forwardRef(function (props, ref) {
68
68
  });
69
69
  };
70
70
  return /*#__PURE__*/React.createElement("div", {
71
- className: s.table
71
+ className: "table"
72
72
  }, /*#__PURE__*/React.createElement(ResizeTable, _extends({
73
73
  onColumnsStateChange: onColumnStatus,
74
74
  columnsStateMap: columnStatus,
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  declare const PageDescriptions: {
3
4
  (props: any): React.JSX.Element;
4
5
  Item(props: any): React.JSX.Element;
@@ -6,13 +6,12 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
6
6
  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; }
7
7
  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; }
8
8
  import React from 'react';
9
- import * as styles from "./styles.module.less";
10
- var s = styles.default;
9
+ import "./styles.module.less";
11
10
  var PageDescriptions = function PageDescriptions(props) {
12
11
  var children = props.children,
13
12
  others = _objectWithoutProperties(props, _excluded);
14
13
  return /*#__PURE__*/React.createElement("div", {
15
- className: s.pageDescriptions
14
+ className: "pageDescriptions"
16
15
  }, /*#__PURE__*/React.createElement(_Descriptions, _extends({
17
16
  column: 3
18
17
  }, others), children));
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  declare const NumberUnits: (props: any) => React.JSX.Element;
3
4
  export declare const unitConfig: {
4
5
  percent: {
@@ -5,8 +5,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
5
5
  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; }
6
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; }
7
7
  import React from 'react';
8
- import * as style from "./styles.module.less";
9
- var s = style.default;
8
+ import "./styles.module.less";
10
9
  var NumberUnits = function NumberUnits(props) {
11
10
  var value = props.value,
12
11
  unitName = props.unitName,
@@ -19,12 +18,12 @@ var NumberUnits = function NumberUnits(props) {
19
18
  }
20
19
  };
21
20
  return /*#__PURE__*/React.createElement("div", {
22
- className: s.numberContainer
21
+ className: "numberContainer"
23
22
  }, /*#__PURE__*/React.createElement(_InputNumber, _extends({}, others, {
24
23
  value: unitObj ? unitObj.get(value) : value,
25
24
  onChange: onChange
26
25
  })), /*#__PURE__*/React.createElement("span", {
27
- className: s.unit
26
+ className: "unit"
28
27
  }, " %"));
29
28
  };
30
29
  export var unitConfig = {
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  declare const NumberUnits: (props: any) => React.JSX.Element;
3
4
  export declare const unitConfig: any;
4
5
  export declare const formateDetail: (unit: string, number: number, unitName: string) => string | number;
@@ -5,8 +5,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
5
5
  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; }
6
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; }
7
7
  import React from 'react';
8
- import * as style from "./styles.module.less";
9
- var s = style.default;
8
+ import "./styles.module.less";
10
9
  var NumberUnits = function NumberUnits(props) {
11
10
  var value = props.value,
12
11
  unitName = props.unitName,
@@ -25,12 +24,12 @@ var NumberUnits = function NumberUnits(props) {
25
24
  }
26
25
  };
27
26
  return /*#__PURE__*/React.createElement("div", {
28
- className: s.numberContainer
27
+ className: "numberUnitContainer"
29
28
  }, /*#__PURE__*/React.createElement(_InputNumber, _extends({}, others, {
30
29
  value: unitObj ? unitObj.get(value) : value,
31
30
  onChange: onChange
32
31
  })), /*#__PURE__*/React.createElement("span", {
33
- className: s.unit
32
+ className: "numberUnit"
34
33
  }, " ", renderUnit()));
35
34
  };
36
35
  export var unitConfig = {
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- .numberContainer{
3
+ .numberUnitContainer{
4
4
  position: relative;
5
5
  display: flex;
6
6
  align-items: center;
@@ -10,7 +10,7 @@
10
10
  :global(.ant-input-number-handler){
11
11
  display: none;
12
12
  }
13
- .unit{
13
+ .numberUnit{
14
14
  position: absolute;
15
15
  right: 5px;
16
16
  color: #848f9b;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.less';
2
3
  declare const ProForm: {
3
4
  (props: any): React.JSX.Element;
4
5
  Group: (props: any) => React.JSX.Element;
@@ -64,10 +64,9 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
64
64
  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; }
65
65
  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; }
66
66
  import React from 'react';
67
- import * as style from "./styles.module.less";
68
67
  import classnames from 'classnames';
69
68
  import { CheckBoxInput, NumberPercent, NumberUnit, RadioAndInput, Search, TreeSelect, UploadImage, VenusUpload, Upload } from "./..";
70
- var styles = style.default;
69
+ import "./styles.less";
71
70
  var ProForm = function ProForm(props) {
72
71
  var children = props.children,
73
72
  pageLoading = props.pageLoading,
@@ -77,14 +76,14 @@ var ProForm = function ProForm(props) {
77
76
  submitIng = props.submitIng,
78
77
  others = _objectWithoutProperties(props, _excluded);
79
78
  return /*#__PURE__*/React.createElement("div", {
80
- className: classnames(styles.wrap, pageFormClassName)
79
+ className: classnames("wrap", pageFormClassName)
81
80
  }, /*#__PURE__*/React.createElement(_Spin, {
82
81
  spinning: !!pageLoading
83
82
  }, /*#__PURE__*/React.createElement(_Form, _extends({
84
83
  layout: "horizontal",
85
84
  labelAlign: "right"
86
85
  }, others), children, !submitter ? null : submitter.render ? submitter.render() : /*#__PURE__*/React.createElement("div", {
87
- className: styles.submitButtonDiv
86
+ className: "submitButtonDiv"
88
87
  }, /*#__PURE__*/React.createElement(_Button, {
89
88
  type: "primary",
90
89
  key: "submit",
@@ -112,9 +111,9 @@ export var FormGroup = function FormGroup(props) {
112
111
  title = props.title,
113
112
  layoutClass = props.layoutClass;
114
113
  return /*#__PURE__*/React.createElement("div", {
115
- className: styles.groupWrap
114
+ className: "groupWrap"
116
115
  }, /*#__PURE__*/React.createElement("div", {
117
- className: styles.groupTitle
116
+ className: "groupTitle"
118
117
  }, title), /*#__PURE__*/React.createElement(_Row, {
119
118
  className: layoutClass,
120
119
  gutter: 24
@@ -137,7 +136,7 @@ export var FormItem = function FormItem(props) {
137
136
  name: name,
138
137
  labelCol: labelCol,
139
138
  label: !label ? null : /*#__PURE__*/React.createElement("span", {
140
- className: styles.labelWrap,
139
+ className: "labelWrap",
141
140
  style: labelStyle
142
141
  }, label)
143
142
  }, others), children));
@@ -158,7 +157,7 @@ export var FormItem2 = function FormItem2(props) {
158
157
  name: name,
159
158
  labelCol: labelCol,
160
159
  label: !label ? null : /*#__PURE__*/React.createElement("span", {
161
- className: styles.labelWrap,
160
+ className: "labelWrap",
162
161
  style: labelStyle
163
162
  }, label)
164
163
  }, others), children));
@@ -180,7 +179,7 @@ export var FormItemSE = function FormItemSE(props) {
180
179
  name: name,
181
180
  labelCol: labelCol,
182
181
  label: !label ? null : /*#__PURE__*/React.createElement("span", {
183
- className: styles.labelWrap,
182
+ className: "labelWrap",
184
183
  style: labelStyle
185
184
  }, label)
186
185
  }, others), children));
@@ -201,7 +200,7 @@ export var FormItemCust = function FormItemCust(props) {
201
200
  name: name,
202
201
  labelCol: labelCol,
203
202
  label: !label ? null : /*#__PURE__*/React.createElement("span", {
204
- className: styles.labelWrap,
203
+ className: "labelWrap",
205
204
  style: labelStyle
206
205
  }, label)
207
206
  }, others), children));
@@ -523,7 +522,6 @@ export var FormTreeSelect = function FormTreeSelect(props) {
523
522
  * @returns
524
523
  */
525
524
  export var VenusFormSelect = function VenusFormSelect(props) {
526
- console.log(props);
527
525
  var _props$comAttr18 = props.comAttr,
528
526
  comAttr = _props$comAttr18 === void 0 ? {} : _props$comAttr18,
529
527
  _props$valueEnum5 = props.valueEnum,
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  interface Props {
3
4
  userData?: any;
4
5
  remove: Function;
@@ -2,10 +2,9 @@ import "antd/es/avatar/style";
2
2
  import _Avatar from "antd/es/avatar";
3
3
  import React from 'react';
4
4
  import { CloseCircleOutlined } from '@ant-design/icons';
5
- import * as style from "./styles.module.less";
5
+ import "./styles.module.less";
6
6
  import userIcon from "./assets/avatar.png";
7
7
  import rogIcon from "./assets/org-icon.png";
8
- var styles = style.default;
9
8
  //@ts-ignore
10
9
  var RenderPoint = function RenderPoint(props) {
11
10
  var returnAvatar = function returnAvatar(item) {
@@ -15,16 +14,16 @@ var RenderPoint = function RenderPoint(props) {
15
14
  var userData = props.userData || [];
16
15
  return userData.map(function (item, index) {
17
16
  return /*#__PURE__*/React.createElement("li", {
18
- className: styles.userItem,
17
+ className: "selectUserSeclevel_userItem",
19
18
  key: index
20
19
  }, /*#__PURE__*/React.createElement("span", {
21
- className: styles.userAvatar
20
+ className: "selectUserSeclevel_userAvatar"
22
21
  }, /*#__PURE__*/React.createElement(_Avatar, {
23
22
  src: returnAvatar(item)
24
23
  })), /*#__PURE__*/React.createElement("span", {
25
- className: styles.userName
24
+ className: "selectUserSeclevel_userName"
26
25
  }, item.name), /*#__PURE__*/React.createElement("span", {
27
- className: styles.clearUser
26
+ className: "selectUserSeclevel_clearUser"
28
27
  }, /*#__PURE__*/React.createElement(CloseCircleOutlined, {
29
28
  onClick: function onClick() {
30
29
  props.remove(item);
@@ -33,7 +32,7 @@ var RenderPoint = function RenderPoint(props) {
33
32
  });
34
33
  };
35
34
  return /*#__PURE__*/React.createElement("ul", {
36
- className: styles.userBox
35
+ className: "selectUserSeclevel_userBox"
37
36
  }, renderUserList());
38
37
  };
39
38
  export default RenderPoint;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  interface propTypes {
3
4
  value: any[];
4
5
  title: string;
@@ -26,8 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  import React from 'react';
27
27
  import _ from 'lodash';
28
28
  import DropDownPanle from "../panel";
29
- import * as style from "./styles.module.less";
30
- var styles = style.default;
29
+ import "./styles.module.less";
31
30
  ;
32
31
  var ModalDemo = /*#__PURE__*/function (_React$Component) {
33
32
  _inherits(ModalDemo, _React$Component);
@@ -90,7 +89,7 @@ var ModalDemo = /*#__PURE__*/function (_React$Component) {
90
89
  var value = this.state.value;
91
90
  var visible = this.props.visible;
92
91
  var defaultModal = /*#__PURE__*/React.createElement("div", {
93
- className: styles.contentCls
92
+ className: "selectUserSeclevel_contentCls"
94
93
  }, /*#__PURE__*/React.createElement(DropDownPanle, _extends({}, this.props, {
95
94
  onChange: this.clickDropDownPanle,
96
95
  value: value,
@@ -102,7 +101,7 @@ var ModalDemo = /*#__PURE__*/function (_React$Component) {
102
101
  return !visible ? null : /*#__PURE__*/React.createElement(_Modal, {
103
102
  zIndex: this.props.zIndex || 1000,
104
103
  title: title,
105
- className: styles.modalAddCls,
104
+ className: "selectUserSeclevel_modalAddCls",
106
105
  maskClosable: false,
107
106
  visible: visible,
108
107
  onOk: this.handleOk,
@@ -111,7 +110,7 @@ var ModalDemo = /*#__PURE__*/function (_React$Component) {
111
110
  style: {
112
111
  textAlign: 'center'
113
112
  },
114
- className: styles.modalContent
113
+ className: "selectUserSeclevel_modalContent"
115
114
  }, modalContent));
116
115
  }
117
116
  }]);
@@ -1,103 +1,19 @@
1
1
 
2
- .wrap{
3
- display: flex;
4
- background-color: #F9F9F9;
5
- .leftWrap{
6
- width: 270px;
7
- // min-height: 1000px;
8
- height: calc(100vh - 92px);
9
- padding: 20px 15px;
10
- margin-right: 20px;
11
- background: #fff;
12
- overflow: auto;
13
- .titleName{
14
- line-height: 27px;
15
- display: flex;
16
- justify-content: space-between;
17
- :global(.ant-btn){
18
- padding: 0 10px;
19
- }
20
- .addBtnCls{
21
- width: 76px;
22
- height: 27px;
23
- }
24
- }
25
- .menuList{
26
- margin-top: 20px;
27
- .secItem{
28
- color: #818C98;
29
- position: relative;
30
- cursor: pointer;
31
- .txt{
32
- display: inline-block;
33
- width: 155px;
34
- line-height: 31px;
35
- overflow: hidden;
36
- white-space: nowrap;
37
- text-overflow: ellipsis;
38
- }
39
-
40
- .userIcon{
41
- width: 14px;
42
- height: 15px;
43
- margin-right: 8px;
44
- }
45
- .moreIcon{
46
- position: absolute;
47
- right: -10px;
48
- top: 11px;
49
- height: 16px;
50
- padding: 3px 7px;
51
- cursor: pointer;
52
- }
53
-
54
- }
55
- }
56
-
57
- }
58
- .rightWrap{
59
- width: 100%;
60
- // min-height: 1000px;
61
- height: calc(100vh - 92px);
62
- overflow: auto;
63
- padding: 20px;
64
- background: #fff;
65
- .addUserBtnCls{
66
- display: flex;
67
- justify-content: flex-end
68
- }
69
- }
70
- .tableWrap{
71
- :global(.ant-table-placeholder) {
72
- border-bottom: none;
73
- }
74
-
75
- :global(.ant-table-thead > tr > th) {
76
- border-right: none;
77
- border-bottom: 1px solid #f6f6f8;
78
- }
79
-
80
- :global(.ant-table-tbody > tr > td) {
81
- border-right: none;
82
- border-bottom: 1px solid #f6f6f8;
83
- }
84
- }
85
- }
86
- .btnCls{
2
+ .selectUserSeclevel_btnCls{
87
3
  color: #88B5FF;
88
4
  cursor: pointer;
89
5
  }
90
- .btnCls:not(:last-child){
6
+ .selectUserSeclevel_btnCls:not(:last-child){
91
7
  margin-right: 18px;
92
8
  }
93
9
 
94
- .modalCls{
10
+ .selectUserSeclevel_modalCls{
95
11
  text-align: center;
96
12
  cursor: pointer;
97
- .operateItem:not(:last-child){
13
+ .selectUserSeclevel_operateItem:not(:last-child){
98
14
  margin-bottom: 10px;
99
15
  }
100
- .operateItem:hover {
16
+ .selectUserSeclevel_operateItem:hover {
101
17
  color: #2e61f2 !important;
102
18
  }
103
19
  }
@@ -106,7 +22,7 @@
106
22
  height: 598px;
107
23
  padding-bottom:0
108
24
  }
109
- .modalAddCls{
25
+ .selectUserSeclevel_modalAddCls{
110
26
  :global(.ant-modal-body){
111
27
  height: 440px;
112
28
  }
@@ -120,12 +36,12 @@
120
36
 
121
37
  }
122
38
 
123
- .contentCls{
39
+ .selectUserSeclevel_contentCls{
124
40
  position: relative;
125
41
  width: 100%;
126
42
  height: 100%;
127
43
  }
128
- .modalBtnCls{
44
+ .selectUserSeclevel_modalBtnCls{
129
45
  width: 94px;
130
46
  height: 36px;
131
47
  border-radius: 20px!important;
@@ -138,6 +54,6 @@
138
54
  }
139
55
 
140
56
 
141
- .activeCls{
57
+ .selectUserSeclevel_activeCls{
142
58
  color: #2e61f2 !important;
143
59
  }
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Item } from './searchBox';
3
+ import './styles.module.less';
3
4
  interface Props {
4
5
  defaultSearchType?: string;
5
6
  isShowChoose?: boolean;
@@ -24,9 +24,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
24
24
  import React from 'react';
25
25
  import ChooseBox from "./chooseBox";
26
26
  import RenderSearch from "./searchBox";
27
- import * as style from "./styles.module.less";
27
+ import "./styles.module.less";
28
28
  import { notifier } from "../..";
29
- var styles = style.default;
30
29
  var defaultPannelConfig = {
31
30
  role: {
32
31
  chooseType: 'role'
@@ -227,19 +226,19 @@ var DropDown = /*#__PURE__*/function (_React$Component) {
227
226
  tabList = _this$state.tabList;
228
227
  var value = this.state.value || [];
229
228
  return /*#__PURE__*/React.createElement("div", {
230
- className: styles.panleContainer
229
+ className: "selectUserSeclevel_panleContainer"
231
230
  }, /*#__PURE__*/React.createElement("div", {
232
- className: styles.leftBox
231
+ className: "leftBox"
233
232
  }, /*#__PURE__*/React.createElement("div", {
234
- className: styles.tagsCotainer
233
+ className: "selectUserSeclevel_tagsCotainer"
235
234
  }, tabList.map(function (item, index) {
236
235
  return /*#__PURE__*/React.createElement("div", {
237
236
  key: item.id
238
237
  }, index === 0 ? null : /*#__PURE__*/React.createElement("span", {
239
- className: styles.tabSplit,
238
+ className: "selectUserSeclevel_tabSplit",
240
239
  key: index
241
240
  }, "|"), /*#__PURE__*/React.createElement("span", {
242
- className: "".concat(styles.tab, " ").concat(searchType === item.id ? styles.selectTab : ''),
241
+ className: "\"selectUserSeclevel_tab ".concat(searchType === item.id ? "selectUserSeclevel_selectTab" : ''),
243
242
  onClick: _this2.changeSearchType.bind(_this2, item.id)
244
243
  }, item.name));
245
244
  })), /*#__PURE__*/React.createElement(RenderSearch, _extends({}, this.props, {
@@ -250,22 +249,22 @@ var DropDown = /*#__PURE__*/function (_React$Component) {
250
249
  addGroupUsers: this.addGroupUsers,
251
250
  pannelConfig: this.props.pannelConfig || defaultPannelConfig
252
251
  }))), /*#__PURE__*/React.createElement("div", {
253
- className: styles.maddleSplit
252
+ className: "selectUserSeclevel_maddleSplit"
254
253
  }, /*#__PURE__*/React.createElement("div", {
255
254
  style: {
256
255
  fontSize: '16px'
257
256
  }
258
257
  })), /*#__PURE__*/React.createElement("div", {
259
- className: styles.rightBox
258
+ className: "selectUserSeclevel_rightBox"
260
259
  }, /*#__PURE__*/React.createElement("div", {
261
- className: styles.rightBoxHeader
260
+ className: "selectUserSeclevel_rightBoxHeader"
262
261
  }, /*#__PURE__*/React.createElement("span", {
263
- className: styles.chooseTitle
262
+ className: "selectUserSeclevel_chooseTitle"
264
263
  }, "\u5DF2\u9009\u62E9\u6210\u5458(", this.props.length ? value.length + '/' + this.props.length : value.length, ")"), /*#__PURE__*/React.createElement("span", {
265
- className: styles.chooseClear,
264
+ className: "selectUserSeclevel_chooseClear",
266
265
  onClick: this.removeAll
267
266
  }, "\u6E05\u7A7A")), /*#__PURE__*/React.createElement("div", {
268
- className: styles.chooseBox
267
+ className: "selectUserSeclevel_chooseBox"
269
268
  }, /*#__PURE__*/React.createElement(ChooseBox, {
270
269
  userData: value,
271
270
  remove: this.remove
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import lodash from 'lodash';
3
+ import '../styles.module.less';
3
4
  interface Props {
4
5
  value?: any;
5
6
  onChange?: Function;
@@ -24,10 +24,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
24
24
  import React from 'react';
25
25
  import lodash from 'lodash';
26
26
  import { CheckCircleOutlined } from '@ant-design/icons';
27
- import * as style from "../styles.module.less";
27
+ import "../styles.module.less";
28
28
  import rogIcon from "../assets/expression.png";
29
29
  import { getExpressionList } from "../../..";
30
- var styles = style.default;
31
30
  var Search = _Input.Search;
32
31
  var UserList = /*#__PURE__*/function (_React$Component) {
33
32
  _inherits(UserList, _React$Component);
@@ -118,7 +117,7 @@ var UserList = /*#__PURE__*/function (_React$Component) {
118
117
  var isChecked = _this.onCheck(item);
119
118
  return /*#__PURE__*/React.createElement("li", {
120
119
  key: item.id,
121
- className: "".concat(styles.userItem, " ").concat(isChecked ? styles.hasCheckedUserItem : ''),
120
+ className: "selectUserSeclevel_userItem".concat(" ", isChecked ? "selectUserSeclevel_hasCheckedUserItem" : ''),
122
121
  onClick: _this.onSelectItem.bind(_assertThisInitialized(_this), item)
123
122
  }, /*#__PURE__*/React.createElement(_Avatar, {
124
123
  src: rogIcon,
@@ -131,24 +130,24 @@ var UserList = /*#__PURE__*/function (_React$Component) {
131
130
  marginLeft: '10px'
132
131
  }
133
132
  }, item.name), isChecked ? /*#__PURE__*/React.createElement("span", {
134
- className: styles.chooseIcon
133
+ className: "selectUserSeclevel_chooseIcon"
135
134
  }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null)) : null);
136
135
  });
137
136
  });
138
137
  _defineProperty(_assertThisInitialized(_this), "renderSearchInput", function () {
139
138
  return /*#__PURE__*/React.createElement("div", {
140
- className: styles.searchInput
139
+ className: "selectUserSeclevel_searchInput"
141
140
  }, /*#__PURE__*/React.createElement(Search, {
142
- className: styles.inputStyle,
141
+ className: "selectUserSeclevel_inputStyle",
143
142
  placeholder: "\u641C\u7D22\u8868\u8FBE\u5F0F",
144
143
  onChange: _this.onChangeSearch,
145
144
  ref: function ref(dom) {
146
145
  return _this.input = dom;
147
146
  }
148
147
  }), /*#__PURE__*/React.createElement("div", {
149
- className: styles.allUserDes
148
+ className: "selectUserSeclevel_allUserDes"
150
149
  }, "\u5168\u90E8\u8868\u8FBE\u5F0F"), /*#__PURE__*/React.createElement("ul", {
151
- className: styles.userList
150
+ className: "selectUserSeclevel_userList"
152
151
  }, _this.renderSampleUserList()));
153
152
  });
154
153
  return _this;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '../styles.module.less';
2
3
  import { Node } from '../searchBox';
3
4
  interface Props {
4
5
  value?: any;
@@ -23,11 +23,10 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
23
23
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
24
24
  import React from 'react';
25
25
  import { CheckCircleOutlined } from '@ant-design/icons';
26
- import * as style from "../styles.module.less";
26
+ import "../styles.module.less";
27
27
  import { checkoutChildren } from "../_utils/utils";
28
28
  import { getUserOrgTreeList, IconFont } from "../../..";
29
29
  var TreeNode = _Tree.TreeNode;
30
- var styles = style.default;
31
30
  var Search = _Input.Search;
32
31
  //数据回显时应当将id拼成role+id
33
32
  var UserList = /*#__PURE__*/function (_React$Component) {
@@ -107,7 +106,7 @@ var UserList = /*#__PURE__*/function (_React$Component) {
107
106
  _defineProperty(_assertThisInitialized(_this), "renderAddOrgIcon", function (item, isParent) {
108
107
  if (!isParent || _this.props.chooseType === 'org') return null;
109
108
  return /*#__PURE__*/React.createElement("span", {
110
- className: styles.addOrgIcon,
109
+ className: "selectUserSeclevel_addOrgIcon",
111
110
  onClick: _this.addGroupUsers.bind(_assertThisInitialized(_this), item)
112
111
  }, /*#__PURE__*/React.createElement(IconFont, {
113
112
  type: "plus-circle"
@@ -142,12 +141,12 @@ var UserList = /*#__PURE__*/function (_React$Component) {
142
141
  var isHasChildren = item.children && item.children.length > 0;
143
142
  return /*#__PURE__*/React.createElement("div", {
144
143
  key: item.key,
145
- className: "".concat(styles.treeTitle, " ").concat(isChecked ? styles.hasCheckedUserItem : ''),
144
+ className: "selectUserSeclevel_treeTitle".concat(" ", isChecked ? "selectUserSeclevel_hasCheckedUserItem" : ''),
146
145
  onClick: function onClick(e) {
147
146
  return _this.onSelectTree(e, item, isHasChildren || false);
148
147
  }
149
148
  }, /*#__PURE__*/React.createElement("span", null, item.title), _this.renderAddOrgIcon(item, isHasChildren), isChecked ? /*#__PURE__*/React.createElement("span", {
150
- className: styles.chooseIcon
149
+ className: "selectUserSeclevel_chooseIcon"
151
150
  }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null)) : null);
152
151
  });
153
152
  _defineProperty(_assertThisInitialized(_this), "renderTreeNodes", function (data) {
@@ -167,9 +166,9 @@ var UserList = /*#__PURE__*/function (_React$Component) {
167
166
  _defineProperty(_assertThisInitialized(_this), "renderOrgTree", function () {
168
167
  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
169
168
  return /*#__PURE__*/React.createElement("div", {
170
- className: styles.searchInput
169
+ className: "selectUserSeclevel_searchInput"
171
170
  }, /*#__PURE__*/React.createElement("div", {
172
- className: styles.treeList
171
+ className: "selectUserSeclevel_treeList"
173
172
  }, /*#__PURE__*/React.createElement(_Tree, {
174
173
  treeData: data,
175
174
  selectedKeys: _this.state.selectedKeys,
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import lodash from 'lodash';
3
+ import '../styles.module.less';
3
4
  interface Props {
4
5
  value?: any;
5
6
  onChange?: Function;
@@ -24,11 +24,10 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
24
24
  import React from 'react';
25
25
  import lodash from 'lodash';
26
26
  import { CheckCircleOutlined } from '@ant-design/icons';
27
- import * as style from "../styles.module.less";
27
+ import "../styles.module.less";
28
28
  import { defaultConfig } from "../_utils/utils";
29
29
  import rogIcon from "../assets/org-icon.png";
30
30
  import { getRoleList } from "../../..";
31
- var styles = style.default;
32
31
  var Search = _Input.Search;
33
32
  var avatar = defaultConfig['role'].avatar;
34
33
  var UserList = /*#__PURE__*/function (_React$Component) {
@@ -121,7 +120,7 @@ var UserList = /*#__PURE__*/function (_React$Component) {
121
120
  var isChecked = _this.onCheck(item);
122
121
  return /*#__PURE__*/React.createElement("li", {
123
122
  key: item.id,
124
- className: "".concat(styles.userItem, " ").concat(isChecked ? styles.hasCheckedUserItem : ''),
123
+ className: "selectUserSeclevel_userItem".concat(" ", isChecked ? "selectUserSeclevel_hasCheckedUserItem" : ''),
125
124
  onClick: _this.onSelectItem.bind(_assertThisInitialized(_this), item)
126
125
  }, /*#__PURE__*/React.createElement(_Avatar, {
127
126
  src: rogIcon,
@@ -134,24 +133,24 @@ var UserList = /*#__PURE__*/function (_React$Component) {
134
133
  marginLeft: '10px'
135
134
  }
136
135
  }, item.name), isChecked ? /*#__PURE__*/React.createElement("span", {
137
- className: styles.chooseIcon
136
+ className: "selectUserSeclevel_chooseIcon"
138
137
  }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null)) : null);
139
138
  });
140
139
  });
141
140
  _defineProperty(_assertThisInitialized(_this), "renderSearchInput", function () {
142
141
  return /*#__PURE__*/React.createElement("div", {
143
- className: styles.searchInput
142
+ className: "selectUserSeclevel_searchInput"
144
143
  }, /*#__PURE__*/React.createElement(Search, {
145
- className: styles.inputStyle,
144
+ className: "selectUserSeclevel_inputStyle",
146
145
  placeholder: "\u641C\u7D22\u89D2\u8272",
147
146
  onChange: _this.onChangeSearch,
148
147
  ref: function ref(dom) {
149
148
  return _this.input = dom;
150
149
  }
151
150
  }), /*#__PURE__*/React.createElement("div", {
152
- className: styles.allUserDes
151
+ className: "selectUserSeclevel_allUserDes"
153
152
  }, "\u5168\u90E8\u89D2\u8272"), /*#__PURE__*/React.createElement("ul", {
154
- className: styles.userList
153
+ className: "selectUserSeclevel_userList"
155
154
  }, _this.renderSampleUserList()));
156
155
  });
157
156
  return _this;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import lodash from 'lodash';
3
+ import '../styles.module.less';
3
4
  interface Props {
4
5
  value?: any;
5
6
  onChange?: Function;
@@ -24,10 +24,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
24
24
  import React from 'react';
25
25
  import lodash from 'lodash';
26
26
  import { CheckCircleOutlined } from '@ant-design/icons';
27
- import * as style from "../styles.module.less";
27
+ import "../styles.module.less";
28
28
  import { defaultConfig } from "../_utils/utils";
29
29
  import { getUserListBySecLevelId } from "../../..";
30
- var styles = style.default;
31
30
  var Search = _Input.Search;
32
31
  var avatar = defaultConfig['user'].avatar;
33
32
  var UserList = /*#__PURE__*/function (_React$Component) {
@@ -140,7 +139,7 @@ var UserList = /*#__PURE__*/function (_React$Component) {
140
139
  var isChecked = _this.onCheck(item);
141
140
  return /*#__PURE__*/React.createElement("li", {
142
141
  key: item.id,
143
- className: "".concat(styles.userItem, " ").concat(isChecked ? styles.hasCheckedUserItem : ''),
142
+ className: "selectUserSeclevel_userItem".concat(" ", isChecked ? "selectUserSeclevel_hasCheckedUserItem" : ''),
144
143
  onClick: _this.onSelectItem.bind(_assertThisInitialized(_this), item)
145
144
  }, /*#__PURE__*/React.createElement(_Avatar, {
146
145
  src: item.userIcon || avatar,
@@ -153,24 +152,24 @@ var UserList = /*#__PURE__*/function (_React$Component) {
153
152
  marginLeft: '10px'
154
153
  }
155
154
  }, item.userRealName), isChecked ? /*#__PURE__*/React.createElement("span", {
156
- className: styles.chooseIcon
155
+ className: "selectUserSeclevel_chooseIcon"
157
156
  }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null)) : null);
158
157
  });
159
158
  });
160
159
  _defineProperty(_assertThisInitialized(_this), "renderSearchInput", function () {
161
160
  return /*#__PURE__*/React.createElement("div", {
162
- className: styles.searchInput
161
+ className: "selectUserSeclevel_searchInput"
163
162
  }, /*#__PURE__*/React.createElement(Search, {
164
- className: styles.inputStyle,
163
+ className: "selectUserSeclevel_inputStyle",
165
164
  placeholder: "\u641C\u7D22\u7528\u6237",
166
165
  onChange: _this.onChangeSearch,
167
166
  ref: function ref(dom) {
168
167
  return _this.input = dom;
169
168
  }
170
169
  }), /*#__PURE__*/React.createElement("div", {
171
- className: styles.allUserDes
170
+ className: "selectUserSeclevel_allUserDes"
172
171
  }, "\u5168\u90E8\u8054\u7CFB\u4EBA"), /*#__PURE__*/React.createElement("ul", {
173
- className: styles.userList
172
+ className: "selectUserSeclevel_userList"
174
173
  }, _this.renderSampleUserList()));
175
174
  });
176
175
  return _this;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './styles.module.less';
2
3
  export interface Node {
3
4
  id: number | string;
4
5
  name: string;
@@ -15,12 +15,11 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
15
15
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
16
16
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
17
17
  import React from 'react';
18
- import * as style from "./styles.module.less";
18
+ import "./styles.module.less";
19
19
  import UserList from "./search/user";
20
20
  import Department from "./search/org";
21
21
  import RoleList from "./search/role";
22
22
  import Expression from "./search/expression";
23
- var styles = style.default;
24
23
  var RenderSearch = /*#__PURE__*/function (_React$Component) {
25
24
  _inherits(RenderSearch, _React$Component);
26
25
  var _super = _createSuper(RenderSearch);
@@ -65,7 +64,7 @@ var RenderSearch = /*#__PURE__*/function (_React$Component) {
65
64
  key: "render",
66
65
  value: function render() {
67
66
  return /*#__PURE__*/React.createElement("div", {
68
- className: styles.searchBox
67
+ className: "selectUserSeclevel_searchBox"
69
68
  }, this.renderUserList(), this.renderRoleTree(), this.renderOrgTree(), this.renderExpressionTree());
70
69
  }
71
70
  }]);
@@ -1,5 +1,5 @@
1
1
 
2
- .panleContainer{
2
+ .selectUserSeclevel_panleContainer{
3
3
  position: absolute;
4
4
  z-index: 0;
5
5
  display: flex;
@@ -13,25 +13,25 @@
13
13
  outline: none;
14
14
  box-sizing: border-box;
15
15
  }
16
- .leftBox{
16
+ .selectUserSeclevel_leftBox{
17
17
  flex-grow:1;
18
18
  display: flex;
19
19
  flex-flow: column;
20
- .tagsCotainer{
20
+ .selectUserSeclevel_tagsCotainer{
21
21
  width:400px;
22
22
  display: flex;
23
23
  justify-content: center;
24
24
  color:#848F9B;
25
- .tab{
25
+ .selectUserSeclevel_tab{
26
26
  padding: 0 16px;
27
27
  cursor: pointer;
28
28
  }
29
- .selectTab{
29
+ .selectUserSeclevel_selectTab{
30
30
  color:#2e61f2;;
31
31
  }
32
32
  }
33
33
  }
34
- .maddleSplit{
34
+ .selectUserSeclevel_maddleSplit{
35
35
  width: 20px;
36
36
  color: #DFDFDF;
37
37
  display: flex;
@@ -39,24 +39,24 @@
39
39
 
40
40
  }
41
41
 
42
- .rightBox{
42
+ .selectUserSeclevel_rightBox{
43
43
  flex-grow:1;
44
44
  display: flex;
45
45
  flex-flow: column;
46
- .rightBoxHeader{
46
+ .selectUserSeclevel_rightBoxHeader{
47
47
  font-size: 14px;
48
- .chooseTitle{
48
+ .selectUserSeclevel_chooseTitle{
49
49
  color: #848F9B;
50
50
  float: left;
51
51
  }
52
- .chooseClear{
52
+ .selectUserSeclevel_chooseClear{
53
53
  color:#2e61f2;
54
54
  float: right;
55
55
  cursor: pointer;
56
56
  }
57
57
 
58
58
  }
59
- .chooseBox{
59
+ .selectUserSeclevel_chooseBox{
60
60
  margin-top: 5px;
61
61
  height: 100%;
62
62
  overflow: auto;
@@ -66,7 +66,7 @@
66
66
  }
67
67
  }
68
68
  // 搜索部分
69
- .searchBox{
69
+ .selectUserSeclevel_searchBox{
70
70
  width: 100%;
71
71
  height: 26em;
72
72
  margin-top: 5px;
@@ -74,46 +74,46 @@ background:rgba(255,255,255,1);
74
74
  box-shadow:0px 2px 6px 0px rgba(0,0,0,0.1);
75
75
  border-radius:8px;
76
76
  overflow: hidden;
77
- .searchInput{
77
+ .selectUserSeclevel_searchInput{
78
78
  margin: 5px 20px;
79
79
  display: flex;
80
80
  flex-flow: column;
81
81
  justify-content: center;
82
82
  color:#848F9B;
83
83
  box-sizing: border-box;
84
- .allUserDes{
84
+ .selectUserSeclevel_allUserDes{
85
85
  margin-top: 10px;
86
86
  margin-bottom: 5px;
87
87
  }
88
- .userList{
88
+ .selectUserSeclevel_userList{
89
89
  list-style: none;
90
90
  height: 20em;
91
91
  overflow: auto;
92
- .userItem{
92
+ .selectUserSeclevel_userItem{
93
93
  cursor: pointer;
94
94
  padding: 5px 10px;
95
95
  min-height:30px;
96
- .chooseIcon{
96
+ .selectUserSeclevel_chooseIcon{
97
97
  color: #5C99FF;
98
98
  float: right;
99
99
  }
100
100
  }
101
- .hasCheckedUserItem{
101
+ .selectUserSeclevel_hasCheckedUserItem{
102
102
  background:rgba(230,240,255,1);
103
103
  }
104
- .userItem:hover{
104
+ .selectUserSeclevel_userItem:hover{
105
105
  background:rgba(230,240,255,1);
106
106
  }
107
107
 
108
108
 
109
109
  }
110
- .treeList{
110
+ .selectUserSeclevel_treeList{
111
111
  height: 23em;
112
112
  overflow: auto;
113
- .treeTitle{
113
+ .selectUserSeclevel_treeTitle{
114
114
  cursor: pointer;
115
115
 
116
- .chooseIcon{
116
+ .selectUserSeclevel_chooseIcon{
117
117
  color: #5C99FF;
118
118
  float: right;
119
119
  }
@@ -122,21 +122,21 @@ overflow: hidden;
122
122
  }
123
123
  }
124
124
  }
125
- .addOrgIcon{
125
+ .selectUserSeclevel_addOrgIcon{
126
126
  display: none;
127
127
  margin-left:20px;
128
128
  color: #5492FF;
129
129
  color: 16px;
130
130
  }
131
- .treeTitle:hover .addOrgIcon{
131
+ .selectUserSeclevel_treeTitle:hover .selectUserSeclevel_addOrgIcon{
132
132
  display: inline-block;
133
133
  }
134
134
  // choose部分
135
- .userBox{
135
+ .selectUserSeclevel_userBox{
136
136
  width: 100%;
137
137
  list-style: none;
138
138
  padding-top: 30px;
139
- .userItem{
139
+ .selectUserSeclevel_userItem{
140
140
  display: flex;
141
141
  position: relative;
142
142
  height: 35px;
@@ -144,13 +144,13 @@ overflow: hidden;
144
144
  color: #5A6876;
145
145
  font-size: 14px;
146
146
  padding-left: 30px;
147
- .userAvatar{
147
+ .selectUserSeclevel_userAvatar{
148
148
  :global(.ant-avatar){
149
149
  width:24px;
150
150
  height: 24px;
151
151
  }
152
152
  }
153
- .userName{
153
+ .selectUserSeclevel_userName{
154
154
  display: inline-block;
155
155
  margin-left: 5px;
156
156
  max-width: 150px;
@@ -158,13 +158,13 @@ overflow: hidden;
158
158
  overflow: hidden;
159
159
  text-overflow: ellipsis;
160
160
  }
161
- .clearUser{
161
+ .selectUserSeclevel_clearUser{
162
162
  position: absolute;
163
163
  right: 10px;
164
164
  cursor: pointer;
165
165
  }
166
166
  }
167
- .userItem:hover{
167
+ .selectUserSeclevel_userItem:hover{
168
168
  background:rgba(230,240,255,1);
169
169
  }
170
170
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { VenusAdjustBatchType } from './interface';
2
+ import { VenusAdjustBatchType } from "..";
3
3
  /**
4
4
  * 批量编辑
5
5
  */
@@ -1,4 +1,4 @@
1
- export interface VenusAdjustBatchType {
1
+ export default interface VenusAdjustBatchType {
2
2
  request: any;
3
3
  actionRef?: any;
4
4
  dataViewIid?: String;
@@ -1 +0,0 @@
1
- export {};
@@ -32,7 +32,7 @@ export interface VenusSelectDataVo {
32
32
  label?: string;
33
33
  children?: [VenusSelectDataVo];
34
34
  }
35
- export interface VenusTableType {
35
+ export default interface VenusTableType {
36
36
  exportHidden?: Boolean;
37
37
  exportFileName?: String;
38
38
  getExportData?: Function;
@@ -1 +0,0 @@
1
- export {};
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ export { getColumnSearchProps, getColumnDateSearchProps, getColumnNumberSearchPr
36
36
  export { default as SelectUDRBySecLevelId } from './SelectCompoments/SelectUserOrDeptBySeclevel';
37
37
  export { default as VenusTable } from './VenusTable';
38
38
  export { handleColumnFns, handleColumnFilterFns, getMenuId, handleDataIndex, getColumnSearch, getRenderColumn, assemblyFilterData } from './VenusTable/handleVenusTableFunctions';
39
- export { VenusColumns, VenusSelectDataVo, VenusTableType, VenusEnumType } from './VenusTable/interface';
39
+ export { default as VenusTableType, VenusColumns, VenusSelectDataVo, VenusEnumType } from './VenusTable/interface';
40
40
  export { VENUS_TABLE_COLUMNFILTER_TYPE, VENUS_TABLE_COLUMNENUM_TYPE, VENUS_TABLE_COLUMNRENDER_TYPE, addRenderFunction } from './VenusTable/staticAttr';
41
41
  export { default as Descriptions } from './Descriptions';
42
42
  export { default as VenusDetail } from './VenusDetail';
@@ -50,7 +50,7 @@ export { default as VenusAdjust } from './VenusAdjust';
50
50
  export { default as VenusAdjustDetail } from './VenusAdjustDetail';
51
51
  export { default as VenusEditTable } from './VenusEditTable';
52
52
  export { default as VenusAdjustBatch } from './VenusAdjustBatch';
53
- export { VenusAdjustBatchType } from './VenusAdjustBatch/interface';
53
+ export { default as VenusAdjustBatchType } from './VenusAdjustBatch/interface';
54
54
  export { default as SelectApp } from './SelectCompoments/SelectApp';
55
55
  export { default as ModalApproval } from './Approval';
56
56
  export { default as VenusDesignCom } from './VenusDesignCom';
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ export { getColumnSearchProps, getColumnDateSearchProps, getColumnNumberSearchPr
36
36
  export { default as SelectUDRBySecLevelId } from "./SelectCompoments/SelectUserOrDeptBySeclevel";
37
37
  export { default as VenusTable } from "./VenusTable";
38
38
  export { handleColumnFns, handleColumnFilterFns, getMenuId, handleDataIndex, getColumnSearch, getRenderColumn, assemblyFilterData } from "./VenusTable/handleVenusTableFunctions";
39
- export { VenusColumns, VenusSelectDataVo, VenusTableType, VenusEnumType } from "./VenusTable/interface";
39
+ export { default as VenusTableType, VenusColumns, VenusSelectDataVo, VenusEnumType } from "./VenusTable/interface";
40
40
  export { VENUS_TABLE_COLUMNFILTER_TYPE, VENUS_TABLE_COLUMNENUM_TYPE, VENUS_TABLE_COLUMNRENDER_TYPE, addRenderFunction } from "./VenusTable/staticAttr";
41
41
  export { default as Descriptions } from "./Descriptions";
42
42
  export { default as VenusDetail } from "./VenusDetail";
@@ -50,7 +50,7 @@ export { default as VenusAdjust } from "./VenusAdjust";
50
50
  export { default as VenusAdjustDetail } from "./VenusAdjustDetail";
51
51
  export { default as VenusEditTable } from "./VenusEditTable";
52
52
  export { default as VenusAdjustBatch } from "./VenusAdjustBatch";
53
- export { VenusAdjustBatchType } from "./VenusAdjustBatch/interface";
53
+ export { default as VenusAdjustBatchType } from "./VenusAdjustBatch/interface";
54
54
  export { default as SelectApp } from "./SelectCompoments/SelectApp";
55
55
  export { default as ModalApproval } from "./Approval";
56
56
  export { default as VenusDesignCom } from "./VenusDesignCom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -103,6 +103,7 @@
103
103
  "file-saver": "^2.0.5",
104
104
  "husky": "^8.0.1",
105
105
  "js-cookie": "^2.2.1",
106
+ "less": "^4.3.0",
106
107
  "lint-staged": "^13.0.3",
107
108
  "lodash": "^4.17.21",
108
109
  "lottie-web": "^5.12.2",
@@ -1,5 +0,0 @@
1
- .button{
2
- padding-left: 10px;
3
- background-color: #fff;
4
- border: none;
5
- }