@zgfe/modules-settings 1.2.11 → 1.2.13-alpha.1

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 (63) hide show
  1. package/README.md +33 -33
  2. package/es/components/pageLoading/index.less +7 -7
  3. package/es/components/settingTabs/index.less +47 -47
  4. package/es/constants/api.d.ts +1 -20
  5. package/es/constants/api.js +2 -24
  6. package/es/constants/icons/demo.css +539 -539
  7. package/es/constants/icons/demo_index.html +8537 -8537
  8. package/es/constants/icons/iconfont.css +1467 -1467
  9. package/es/constants/icons/iconfont.json +2550 -2550
  10. package/es/global.d.ts +4 -4
  11. package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
  12. package/es/modules/appSettings/member/index.less +18 -18
  13. package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
  14. package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
  15. package/es/modules/companySetting/appList/index.js +60 -3
  16. package/es/modules/companySetting/appList/index.less +100 -100
  17. package/es/modules/companySetting/cost/index.js +2 -2
  18. package/es/modules/companySetting/cost/index.less +31 -31
  19. package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
  20. package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
  21. package/es/modules/companySetting/edit/styles/authModule.less +82 -82
  22. package/es/modules/companySetting/edit/styles/user.less +54 -54
  23. package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
  24. package/es/modules/companySetting/index.js +256 -75
  25. package/es/modules/companySetting/index.less +24 -63
  26. package/es/modules/companySetting/info/index.less +35 -35
  27. package/es/modules/companySetting/operationLog/index.less +27 -27
  28. package/es/modules/companySetting/style/common.less +68 -68
  29. package/es/modules/companySetting/style/reset.less +117 -117
  30. package/es/modules/companySetting/user/index.js +264 -167
  31. package/es/modules/companySetting/user/index.less +162 -264
  32. package/es/modules/companySetting/user/invite.d.ts +8 -3
  33. package/es/modules/companySetting/user/invite.js +173 -249
  34. package/es/modules/companySetting/userGroup/groupItem.js +1 -1
  35. package/es/modules/companySetting/userGroup/index.less +6 -6
  36. package/es/modules/companySetting/userGroup/style/authConfigDetail.less +44 -44
  37. package/es/modules/companySetting/userGroup/style/index.less +79 -79
  38. package/es/modules/companySetting/virtualApp/panels/list.js +1 -1
  39. package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
  40. package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
  41. package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
  42. package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
  43. package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
  44. package/es/modules/companySetting/wechatBinding/index.js +1 -1
  45. package/es/modules/companySetting/wechatBinding/index.less +48 -48
  46. package/es/modules/personalSetting/securityLog/index.less +10 -10
  47. package/es/modules/personalSetting/styles/unbinding.less +73 -73
  48. package/es/modules/systemSetting/notice/configItem/index.less +15 -15
  49. package/es/modules/systemSetting/notice/edit/index.less +26 -26
  50. package/es/types/companySetting.d.ts +3 -28
  51. package/es/utils/util.d.ts +0 -23
  52. package/es/utils/util.js +0 -77
  53. package/package.json +4 -4
  54. package/es/modules/companySetting/department/index.d.ts +0 -7
  55. package/es/modules/companySetting/department/index.js +0 -356
  56. package/es/modules/companySetting/department/index.less +0 -104
  57. package/es/modules/companySetting/role/index.d.ts +0 -6
  58. package/es/modules/companySetting/role/index.js +0 -561
  59. package/es/modules/companySetting/role/index.less +0 -160
  60. package/es/requests/department.d.ts +0 -15
  61. package/es/requests/department.js +0 -68
  62. package/es/requests/role.d.ts +0 -16
  63. package/es/requests/role.js +0 -100
@@ -1,264 +1,162 @@
1
- @import './../../../constants/icons/iconfont.css';
2
-
3
- .company-user {
4
- height: 100%;
5
- padding: 0;
6
- overflow: auto;
7
- color: #2f3f57;
8
- font-size: 14px;
9
-
10
- .company-setting-user {
11
- padding: 0;
12
- }
13
-
14
- .invite {
15
- & > p {
16
- margin-bottom: 10px;
17
- }
18
-
19
- .invite-list {
20
- display: flex;
21
- align-items: center;
22
- justify-content: space-between;
23
- margin-top: 24px;
24
-
25
- div {
26
- color: var(--io-n, #021429);
27
- font-weight: 500;
28
- font-size: 16px;
29
- font-family: PingFang SC;
30
- font-style: normal;
31
- line-height: 24px;
32
- /* 150% */
33
- }
34
- }
35
- }
36
-
37
- .user-list-head {
38
- margin-bottom: 5px;
39
- }
40
-
41
- .invite-control {
42
- position: relative;
43
- display: flex;
44
- gap: 24px;
45
- align-items: center;
46
- justify-content: flex-start;
47
-
48
- .biz-select-handle-input {
49
- width: 248px;
50
- }
51
-
52
- .ant-input {
53
- width: 248px;
54
- border-color: @background-color-base !important;
55
-
56
- &:focus {
57
- border-color: @primary-color !important;
58
- }
59
- }
60
-
61
- > div {
62
- display: flex;
63
- gap: 12px;
64
- align-items: center;
65
-
66
- > span {
67
- color: var(--3, #5f6085);
68
- font-weight: 400;
69
- font-size: 14px;
70
- font-family: PingFang SC;
71
- font-style: normal;
72
- line-height: normal;
73
- text-align: right;
74
- }
75
- }
76
-
77
- .invite-list-panel {
78
- position: absolute;
79
- top: 35px;
80
- z-index: 99999;
81
- width: 400px;
82
- max-height: 400px;
83
- overflow: auto;
84
- background: #fff;
85
- border: 1px solid #dadada;
86
- border-radius: 3px;
87
-
88
- li {
89
- padding: 10px;
90
-
91
- &:hover {
92
- color: #0ea1eb;
93
- cursor: pointer;
94
- }
95
- }
96
-
97
- li.noData {
98
- height: 150px;
99
- line-height: 100px;
100
- text-align: center;
101
- }
102
- }
103
-
104
- .c-button {
105
- margin-left: 20px;
106
- padding: 0 2.4em;
107
- }
108
-
109
- .c-input {
110
- border-radius: 3px 0 0 3px;
111
- }
112
-
113
- .c-active {
114
- border-color: #d1d1d1;
115
- }
116
-
117
- .c-select {
118
- .c-placeholder {
119
- color: #bcbec2;
120
- }
121
-
122
- .c-select-handle {
123
- border-left: none;
124
- border-radius: 0 3px 3px 0;
125
- }
126
- }
127
- }
128
-
129
- .user-list {
130
- min-height: 500px;
131
- margin-top: 16px;
132
-
133
- .member-filter {
134
- float: right;
135
- margin-bottom: 10px;
136
- margin-left: 10px;
137
- }
138
-
139
- .super-admin {
140
- color: #f5bf4d;
141
- font-size: 12px;
142
- }
143
-
144
- .icon-eye {
145
- color: #75787d;
146
- cursor: pointer;
147
-
148
- &:hover {
149
- color: #0ea1eb;
150
- }
151
- }
152
-
153
- .operate {
154
- display: flex;
155
- justify-content: space-around;
156
- margin: 0 auto;
157
-
158
- .icon-zhongxinfasong {
159
- font-size: 18px;
160
- transform: translateY(-3px);
161
- }
162
-
163
- span {
164
- color: #0ea1eb;
165
- font-size: 16px;
166
- cursor: pointer;
167
-
168
- &:hover {
169
- color: #f55858;
170
- }
171
- }
172
- }
173
-
174
- .c-grid-header .c-grid-header-row .c-grid-header-cell {
175
- text-align: left !important;
176
- border: none;
177
-
178
- &:last-child {
179
- text-align: center !important;
180
- }
181
- }
182
-
183
- .c-grid-body {
184
- .c-grid-cell {
185
- text-align: left !important;
186
- border: none;
187
- border-top: 1px solid #d1d1d1;
188
- }
189
- }
190
-
191
- .c-pagination .c-select:first-of-type {
192
- display: none;
193
- }
194
- }
195
-
196
- .over-hand {
197
- position: relative;
198
- display: flex;
199
- align-items: center;
200
- width: 300px;
201
- // margin-top: 80px;
202
-
203
- > span {
204
- margin-right: 12px;
205
- color: var(--3, #5f6085);
206
- font-weight: 400;
207
- font-size: 14px;
208
- font-family: PingFang SC;
209
- font-style: normal;
210
- line-height: normal;
211
- text-align: right;
212
- }
213
-
214
- .biz-select-handle-input {
215
- width: 136px;
216
- }
217
-
218
- .c-select {
219
- width: 136px;
220
- margin-left: 10px;
221
- }
222
- }
223
- }
224
-
225
- .group-auth-list {
226
- height: 532px;
227
-
228
- .auth-config-detail {
229
- max-height: none;
230
- border-bottom: 1px solid #dadada;
231
-
232
- &:last-child {
233
- border: none;
234
- }
235
- }
236
- }
237
-
238
- .popover-group-auth-list {
239
- overflow-y: scroll;
240
- }
241
-
242
- .copy-dialog .foot {
243
- margin-top: 20px;
244
-
245
- a {
246
- margin-left: 0;
247
- }
248
-
249
- & > * {
250
- float: right;
251
- margin-left: 10px;
252
- }
253
- }
254
-
255
- .user-dialog-content {
256
- .ant-input {
257
- border-color: @background-color-base !important;
258
-
259
- &:focus {
260
- border-color: @primary-color !important;
261
- }
262
- }
263
- color: #5f6085;
264
- }
1
+ @import './../../../constants/icons/iconfont.css';
2
+ .company-user {
3
+ height: 100%;
4
+ padding: 0;
5
+ overflow: auto;
6
+ color: #2f3f57;
7
+ font-size: 14px;
8
+ .company-setting-user {
9
+ padding: 0;
10
+ }
11
+ .invite {
12
+ & > p {
13
+ margin-bottom: 10px;
14
+ }
15
+ }
16
+ .user-list-head {
17
+ margin-bottom: 5px;
18
+ }
19
+ .invite-control {
20
+ position: relative;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: flex-start;
24
+ .invite-list-panel {
25
+ position: absolute;
26
+ top: 35px;
27
+ z-index: 99999;
28
+ width: 400px;
29
+ max-height: 400px;
30
+ overflow: auto;
31
+ background: #fff;
32
+ border: 1px solid #dadada;
33
+ border-radius: 3px;
34
+ li {
35
+ padding: 10px;
36
+ &:hover {
37
+ color: #0ea1eb;
38
+ cursor: pointer;
39
+ }
40
+ }
41
+ li.noData {
42
+ height: 150px;
43
+ line-height: 100px;
44
+ text-align: center;
45
+ }
46
+ }
47
+ .c-button {
48
+ margin-left: 20px;
49
+ padding: 0 2.4em;
50
+ }
51
+ .c-input {
52
+ border-radius: 3px 0 0 3px;
53
+ }
54
+ .c-active {
55
+ border-color: #d1d1d1;
56
+ }
57
+ .c-select {
58
+ .c-placeholder {
59
+ color: #bcbec2;
60
+ }
61
+ .c-select-handle {
62
+ border-left: none;
63
+ border-radius: 0 3px 3px 0;
64
+ }
65
+ }
66
+ }
67
+ .user-list {
68
+ min-height: 500px;
69
+ margin-top: 20px;
70
+ .member-filter {
71
+ float: right;
72
+ margin-bottom: 10px;
73
+ margin-left: 10px;
74
+ }
75
+ .super-admin {
76
+ color: #f5bf4d;
77
+ font-size: 12px;
78
+ }
79
+ .icon-eye {
80
+ color: #75787d;
81
+ cursor: pointer;
82
+ &:hover {
83
+ color: #0ea1eb;
84
+ }
85
+ }
86
+ .operate {
87
+ display: flex;
88
+ justify-content: space-around;
89
+ margin: 0 auto;
90
+ .icon-zhongxinfasong {
91
+ font-size: 18px;
92
+ transform: translateY(-3px);
93
+ }
94
+ span {
95
+ color: #0ea1eb;
96
+ font-size: 16px;
97
+ cursor: pointer;
98
+ &:hover {
99
+ color: #f55858;
100
+ }
101
+ }
102
+ }
103
+ .c-grid-header .c-grid-header-row .c-grid-header-cell {
104
+ text-align: left !important;
105
+ border: none;
106
+ &:last-child {
107
+ text-align: center !important;
108
+ }
109
+ }
110
+ .c-grid-body {
111
+ .c-grid-cell {
112
+ text-align: left !important;
113
+ border: none;
114
+ border-top: 1px solid #d1d1d1;
115
+ }
116
+ }
117
+ .c-pagination .c-select:first-of-type {
118
+ display: none;
119
+ }
120
+ }
121
+
122
+ .over-hand {
123
+ position: relative;
124
+ display: flex;
125
+ align-items: center;
126
+ justify-content: flex-end;
127
+ margin-top: 80px;
128
+ .c-select {
129
+ margin-left: 10px;
130
+ }
131
+ }
132
+ }
133
+ .group-auth-list {
134
+ height: 532px;
135
+ .auth-config-detail {
136
+ max-height: none;
137
+ border-bottom: 1px solid #dadada;
138
+ &:last-child {
139
+ border: none;
140
+ }
141
+ }
142
+ }
143
+ .popover-group-auth-list {
144
+ overflow-y: scroll;
145
+ }
146
+ .copy-dialog .foot {
147
+ margin-top: 20px;
148
+ a {
149
+ margin-left: 0;
150
+ }
151
+ & > * {
152
+ float: right;
153
+ margin-left: 10px;
154
+ }
155
+ }
156
+ // [class^='icon-'],
157
+ // [class*=' icon-'] {
158
+ // font-family: 'zhuge' !important;
159
+ // font-style: normal;
160
+ // -webkit-font-smoothing: antialiased;
161
+ // -moz-osx-font-smoothing: grayscale;
162
+ // }
@@ -1,10 +1,15 @@
1
1
  import React from 'react';
2
2
  import './index.less';
3
- import { AllGroupInfosItem, AllMembersItem, ApiResult, queryPanelItem } from '../../../types';
3
+ import { AllGroupInfosItem, AllMembersItem, ApiResult } from '../../../types';
4
4
  declare const UserGroup: React.FC<{
5
+ ENVIRONMENT: string;
5
6
  allGroupInfos: AllGroupInfosItem[];
6
- queryPanel: (params: queryPanelItem) => void;
7
- userEditAuthData: AllMembersItem;
7
+ isSso: boolean;
8
+ showPwdPanel: (userInfo: {
9
+ account: string;
10
+ pwd: string;
11
+ userConfig?: AllMembersItem;
12
+ }) => void;
8
13
  createMembersCallback: (res: ApiResult<void>, userConfig: AllMembersItem | false) => void;
9
14
  }>;
10
15
  export default UserGroup;