@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
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- # @zgfe/modules-settings
2
-
3
- ## Getting Started
4
-
5
- Install dependencies,
6
-
7
- ```bash
8
- $ npm i
9
- ```
10
-
11
- Start the dev server,
12
-
13
- ```bash
14
- $ npm start
15
- ```
16
-
17
- Build documentation,
18
-
19
- ```bash
20
- $ npm run docs:build
21
- ```
22
-
23
- Run test,
24
-
25
- ```bash
26
- $ npm test
27
- ```
28
-
29
- Build library via `father`,
30
-
31
- ```bash
32
- $ npm run build
33
- ```
1
+ # @zgfe/modules-settings
2
+
3
+ ## Getting Started
4
+
5
+ Install dependencies,
6
+
7
+ ```bash
8
+ $ npm i
9
+ ```
10
+
11
+ Start the dev server,
12
+
13
+ ```bash
14
+ $ npm start
15
+ ```
16
+
17
+ Build documentation,
18
+
19
+ ```bash
20
+ $ npm run docs:build
21
+ ```
22
+
23
+ Run test,
24
+
25
+ ```bash
26
+ $ npm test
27
+ ```
28
+
29
+ Build library via `father`,
30
+
31
+ ```bash
32
+ $ npm run build
33
+ ```
@@ -1,7 +1,7 @@
1
- .settings-page-loading {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- width: 100%;
6
- height: 100%;
7
- }
1
+ .settings-page-loading {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ width: 100%;
6
+ height: 100%;
7
+ }
@@ -1,47 +1,47 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .settings-container {
4
- padding: 24px;
5
- background: #f0f2f5;
6
- .tab-header {
7
- font-size: 18px;
8
- .tab-header-title {
9
- margin-left: 8px;
10
- }
11
- .app-name {
12
- font-weight: normal;
13
- font-size: 14px;
14
- }
15
- }
16
-
17
- .settings-layout {
18
- display: flex;
19
- height: calc(100vh - 130px);
20
- padding: 24px 0px 24px;
21
-
22
- .settings-sider {
23
- display: contents;
24
- background: white;
25
- }
26
-
27
- .settings-content {
28
- flex: auto;
29
- max-width: 912px;
30
- margin-left: 24px;
31
- padding: 40px;
32
- overflow: auto;
33
- background: white;
34
-
35
- .ant-menu-vertical .ant-menu-item {
36
- margin: 0px !important;
37
- }
38
- }
39
- }
40
- }
41
-
42
- .appSettings-Tabs {
43
- .ant-tabs-content {
44
- height: 50vh;
45
- overflow-y: scroll;
46
- }
47
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .settings-container {
4
+ padding: 24px;
5
+ background: #f0f2f5;
6
+ .tab-header {
7
+ font-size: 18px;
8
+ .tab-header-title {
9
+ margin-left: 8px;
10
+ }
11
+ .app-name {
12
+ font-weight: normal;
13
+ font-size: 14px;
14
+ }
15
+ }
16
+
17
+ .settings-layout {
18
+ display: flex;
19
+ height: calc(100vh - 130px);
20
+ padding: 24px 0px 24px;
21
+
22
+ .settings-sider {
23
+ display: contents;
24
+ background: white;
25
+ }
26
+
27
+ .settings-content {
28
+ flex: auto;
29
+ max-width: 912px;
30
+ margin-left: 24px;
31
+ padding: 40px;
32
+ overflow: auto;
33
+ background: white;
34
+
35
+ .ant-menu-vertical .ant-menu-item {
36
+ margin: 0px !important;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ .appSettings-Tabs {
43
+ .ant-tabs-content {
44
+ height: 50vh;
45
+ overflow-y: scroll;
46
+ }
47
+ }
@@ -39,26 +39,7 @@ declare let apis: {
39
39
  queryFilter: string;
40
40
  queryNoticeConfig: string;
41
41
  editNoticeConfig: string;
42
- queryDeptList: string;
43
- addDept: string;
44
- updateDept: string;
45
- deleteDept: string;
46
- queryRolePage: string;
47
- queryRoleDetails: string;
48
- queryRoleDataConfig: string;
49
- queryRoleMenuTree: string;
50
- queryRoleUser: string;
51
- addRole: string;
52
- updateRole: string;
53
- deleteRole: string;
54
- queryUserPage: string;
55
- queryRoleListByUserId: string;
56
- queryDeptListByUserId: string;
57
- queryCompanyUserDetailsParam: string;
58
- addCompanyUser: string;
59
- updateCompanyUser: string;
60
- delCompanyUser: string;
61
- updateCompanyUserStatus: string;
42
+ queryAppKeyIsOpen: string;
62
43
  };
63
44
  eventMeta: {
64
45
  queryEventMeta: string;
@@ -45,31 +45,9 @@ var apis = {
45
45
  //系统设置
46
46
  queryNoticeConfig: apiPrefix + '/systemSettings/queryNoticeSettings',
47
47
  editNoticeConfig: apiPrefix + '/systemSettings/setNoticeSettings',
48
- // 部门管理
49
- queryDeptList: '/zg/web/v2/company/setting/queryDeptList',
50
- addDept: '/zg/web/v2/company/setting/addDept',
51
- updateDept: '/zg/web/v2/company/setting/updateDept',
52
- deleteDept: '/zg/web/v2/company/setting/deleteDept',
53
- // 角色管理
54
- queryRolePage: '/zg/web/v2/company/setting/queryRolePage',
55
- queryRoleDetails: '/zg/web/v2/company/setting/queryRoleDetails',
56
- queryRoleDataConfig: '/zg/web/v2/company/setting/queryRoleDataConfig',
57
- queryRoleMenuTree: '/zg/web/v2/company/setting/queryRoleMenuTree',
58
- queryRoleUser: '/zg/web/v2/company/setting/queryRoleUser',
59
- addRole: '/zg/web/v2/company/setting/addRole',
60
- updateRole: '/zg/web/v2/company/setting/updateRole',
61
- deleteRole: '/zg/web/v2/company/setting/deleteRole',
62
- // 成员管理
63
- queryUserPage: '/zg/web/v2/company/setting/queryUserPage',
64
- queryRoleListByUserId: '/zg/web/v2/company/setting/queryRoleListByUserId',
65
- queryDeptListByUserId: '/zg/web/v2/company/setting/queryDeptListByUserId',
66
- queryCompanyUserDetailsParam: '/zg/web/v2/company/setting/queryCompanyUserDetailsParam',
67
- addCompanyUser: '/zg/web/v2/company/setting/addCompanyUser',
68
- updateCompanyUser: '/zg/web/v2/company/setting/updateCompanyUser',
69
- delCompanyUser: '/zg/web/v2/company/setting/delCompanyUser',
70
- updateCompanyUserStatus: '/zg/web/v2/company/setting/updateCompanyUserStatus' // 修改状态
48
+ //埋点开关
49
+ queryAppKeyIsOpen: '/data/updateAppName.jsp'
71
50
  },
72
-
73
51
  eventMeta: {
74
52
  queryEventMeta: '/zg/web/v2/data/queryEventMetasOfGroup'
75
53
  },