inl-ui 0.0.4 → 0.0.7

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 (182) hide show
  1. package/.babelrc +3 -3
  2. package/README.md +28 -1
  3. package/dist/index.js +12707 -67
  4. package/dist/index.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/dist/theme/dark.less +204 -182
  7. package/dist/theme/default.less +109 -1067
  8. package/package.json +38 -36
  9. package/conf/config.output.ts +0 -0
  10. package/conf/cp.js +0 -51
  11. package/conf/rollup.config.ts +0 -36
  12. package/dist/theme/dark copy.less +0 -448
  13. package/dist/types/src/components/index.d.ts +0 -2
  14. package/dist/types/src/index.d.ts +0 -7
  15. package/dist/types/src/pageComponent/api/auth/menuManager.d.ts +0 -23
  16. package/dist/types/src/pageComponent/api/auth/roleManager.d.ts +0 -27
  17. package/dist/types/src/pageComponent/api/auth/userManager.d.ts +0 -45
  18. package/dist/types/src/pageComponent/api/axios.d.ts +0 -4
  19. package/dist/types/src/pageComponent/api/index.d.ts +0 -30
  20. package/dist/types/src/pageComponent/api/logManager.d.ts +0 -11
  21. package/dist/types/src/pageComponent/api/org/depManager.d.ts +0 -55
  22. package/dist/types/src/pageComponent/api/org/postManager.d.ts +0 -30
  23. package/dist/types/src/pageComponent/api/org/teamManager.d.ts +0 -38
  24. package/dist/types/src/pageComponent/api/param.d.ts +0 -32
  25. package/dist/types/src/pageComponent/components/CommonTree.d.ts +0 -57
  26. package/dist/types/src/pageComponent/components/DynamicIcon.d.ts +0 -13
  27. package/dist/types/src/pageComponent/components/EditPasswordForm.d.ts +0 -19
  28. package/dist/types/src/pageComponent/components/IconSelect.d.ts +0 -12
  29. package/dist/types/src/pageComponent/components/Navbar.d.ts +0 -13
  30. package/dist/types/src/pageComponent/components/ProFormItem.d.ts +0 -18
  31. package/dist/types/src/pageComponent/components/SearchSelect.d.ts +0 -49
  32. package/dist/types/src/pageComponent/components/Sidebar.d.ts +0 -20
  33. package/dist/types/src/pageComponent/components/loginBox/index.d.ts +0 -43
  34. package/dist/types/src/pageComponent/config/global.d.ts +0 -7
  35. package/dist/types/src/pageComponent/config/install.d.ts +0 -2
  36. package/dist/types/src/pageComponent/hooks/global.d.ts +0 -6
  37. package/dist/types/src/pageComponent/hooks/manage-module/useModalForm.d.ts +0 -5
  38. package/dist/types/src/pageComponent/hooks/manage-module/useModalTitle.d.ts +0 -6
  39. package/dist/types/src/pageComponent/hooks/manage-module/useModalVisibleControl.d.ts +0 -5
  40. package/dist/types/src/pageComponent/hooks/useBus.d.ts +0 -6
  41. package/dist/types/src/pageComponent/hooks/useProxy.d.ts +0 -4
  42. package/dist/types/src/pageComponent/hooks/useTableList.d.ts +0 -13
  43. package/dist/types/src/pageComponent/hooks/useVModel.d.ts +0 -1
  44. package/dist/types/src/pageComponent/index.d.ts +0 -2
  45. package/dist/types/src/pageComponent/utils/base64.d.ts +0 -14
  46. package/dist/types/src/pageComponent/utils/index.d.ts +0 -3
  47. package/dist/types/src/pageComponent/utils/is.d.ts +0 -10
  48. package/dist/types/src/pageComponent/utils/transform.d.ts +0 -10
  49. package/dist/types/src/pageComponent/utils/tree.d.ts +0 -16
  50. package/dist/types/src/pageComponent/utils/validation.d.ts +0 -11
  51. package/dist/types/src/pageComponent/views/alarms/index.d.ts +0 -2
  52. package/dist/types/src/pageComponent/views/index.d.ts +0 -2
  53. package/dist/types/src/pageComponent/views/login.d.ts +0 -2
  54. package/dist/types/src/pageComponent/views/systemManager/about.d.ts +0 -2
  55. package/dist/types/src/pageComponent/views/systemManager/authManager/menuManager/index.d.ts +0 -5
  56. package/dist/types/src/pageComponent/views/systemManager/authManager/menuManager/menuDetail.d.ts +0 -10
  57. package/dist/types/src/pageComponent/views/systemManager/authManager/menuManager/menuSelectTree.d.ts +0 -18
  58. package/dist/types/src/pageComponent/views/systemManager/authManager/menuManager/updateMenuDialog.d.ts +0 -27
  59. package/dist/types/src/pageComponent/views/systemManager/authManager/roleManager/index.d.ts +0 -5
  60. package/dist/types/src/pageComponent/views/systemManager/authManager/roleManager/updateRoleDialog.d.ts +0 -34
  61. package/dist/types/src/pageComponent/views/systemManager/authManager/userManager/index.d.ts +0 -2
  62. package/dist/types/src/pageComponent/views/systemManager/authManager/userManager/updateUserDialog.d.ts +0 -36
  63. package/dist/types/src/pageComponent/views/systemManager/authManager/userManager/userProfileDialog.d.ts +0 -21
  64. package/dist/types/src/pageComponent/views/systemManager/logManager.d.ts +0 -2
  65. package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/depTree.d.ts +0 -10
  66. package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/employeeTable.d.ts +0 -19
  67. package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/index.d.ts +0 -2
  68. package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/updateDepDialog.d.ts +0 -42
  69. package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/updateEmployeeDialog.d.ts +0 -40
  70. package/dist/types/src/pageComponent/views/systemManager/orgManager/empManager.d.ts +0 -2
  71. package/dist/types/src/pageComponent/views/systemManager/orgManager/postManager/index.d.ts +0 -2
  72. package/dist/types/src/pageComponent/views/systemManager/orgManager/postManager/updatePostDialog.d.ts +0 -35
  73. package/dist/types/src/pageComponent/views/systemManager/orgManager/teamManager/index.d.ts +0 -2
  74. package/dist/types/src/pageComponent/views/systemManager/orgManager/teamManager/updateTeamDialog.d.ts +0 -35
  75. package/dist/types/src/pageComponent/views/systemManager/paramManager/collapseContainer.d.ts +0 -20
  76. package/dist/types/src/pageComponent/views/systemManager/paramManager/dynamicForm.d.ts +0 -11
  77. package/dist/types/src/pageComponent/views/systemManager/paramManager/index.d.ts +0 -2
  78. package/dist/types/src/pageComponent/views/systemManager/paramManager/tabItem.d.ts +0 -11
  79. package/dist/types/src/pageComponent/views/systemManager/personalSetting.d.ts +0 -2
  80. package/dist/types/src/utils/className.d.ts +0 -2
  81. package/dist/types/src/utils/config.d.ts +0 -4
  82. package/dist/types/src/utils/getSlots.d.ts +0 -3
  83. package/dist/types/src/utils/index.d.ts +0 -10
  84. package/dist/types/src/utils/installComponent.d.ts +0 -3
  85. package/src/components/index.ts +0 -1
  86. package/src/gl.d.ts +0 -19
  87. package/src/ht/ht-widget.d.ts +0 -11327
  88. package/src/ht/ht.d.ts +0 -11410
  89. package/src/ht/index.d.ts +0 -4
  90. package/src/index.ts +0 -17
  91. package/src/pageComponent/api/auth/menuManager.ts +0 -44
  92. package/src/pageComponent/api/auth/roleManager.ts +0 -50
  93. package/src/pageComponent/api/auth/userManager.ts +0 -76
  94. package/src/pageComponent/api/axios.ts +0 -79
  95. package/src/pageComponent/api/index.ts +0 -25
  96. package/src/pageComponent/api/logManager.ts +0 -18
  97. package/src/pageComponent/api/org/depManager.ts +0 -98
  98. package/src/pageComponent/api/org/postManager.ts +0 -53
  99. package/src/pageComponent/api/org/teamManager.ts +0 -67
  100. package/src/pageComponent/api/param.ts +0 -36
  101. package/src/pageComponent/assets/img/code.png +0 -0
  102. package/src/pageComponent/assets/img/loginBackground.png +0 -0
  103. package/src/pageComponent/assets/img/logo.png +0 -0
  104. package/src/pageComponent/assets/img/mtInfo.png +0 -0
  105. package/src/pageComponent/assets/img/mtLogoBig.png +0 -0
  106. package/src/pageComponent/assets/img.d.ts +0 -1
  107. package/src/pageComponent/assets/logo.png +0 -0
  108. package/src/pageComponent/assets/styles/const.less +0 -1
  109. package/src/pageComponent/assets/styles/constant/antd.less +0 -1
  110. package/src/pageComponent/assets/styles/index.less +0 -15
  111. package/src/pageComponent/assets/styles/login.less +0 -56
  112. package/src/pageComponent/assets/styles/loginBox.less +0 -51
  113. package/src/pageComponent/assets/styles/reset.less +0 -146
  114. package/src/pageComponent/assets/styles/systemManager/about.less +0 -56
  115. package/src/pageComponent/assets/styles/systemManager/index.less +0 -89
  116. package/src/pageComponent/assets/styles/systemManager/menu-manager.less +0 -52
  117. package/src/pageComponent/assets/styles/systemManager/param-manager.less +0 -44
  118. package/src/pageComponent/assets/zh-cn.js +0 -134
  119. package/src/pageComponent/components/CommonTree.tsx +0 -362
  120. package/src/pageComponent/components/DynamicIcon.tsx +0 -27
  121. package/src/pageComponent/components/EditPasswordForm.tsx +0 -89
  122. package/src/pageComponent/components/IconSelect.tsx +0 -51
  123. package/src/pageComponent/components/Navbar.tsx +0 -96
  124. package/src/pageComponent/components/ProFormItem.tsx +0 -185
  125. package/src/pageComponent/components/SearchSelect.tsx +0 -127
  126. package/src/pageComponent/components/Sidebar.tsx +0 -123
  127. package/src/pageComponent/components/loginBox/README.md +0 -21
  128. package/src/pageComponent/components/loginBox/index.tsx +0 -174
  129. package/src/pageComponent/config/global.ts +0 -20
  130. package/src/pageComponent/config/htconfig.ts +0 -32
  131. package/src/pageComponent/config/install.ts +0 -10
  132. package/src/pageComponent/hooks/global.ts +0 -12
  133. package/src/pageComponent/hooks/manage-module/useModalForm.ts +0 -37
  134. package/src/pageComponent/hooks/manage-module/useModalTitle.ts +0 -31
  135. package/src/pageComponent/hooks/manage-module/useModalVisibleControl.ts +0 -31
  136. package/src/pageComponent/hooks/useBus.ts +0 -26
  137. package/src/pageComponent/hooks/useProxy.ts +0 -8
  138. package/src/pageComponent/hooks/useTableList.ts +0 -57
  139. package/src/pageComponent/hooks/useVModel.ts +0 -16
  140. package/src/pageComponent/index.ts +0 -3
  141. package/src/pageComponent/utils/base64.ts +0 -27
  142. package/src/pageComponent/utils/index.ts +0 -19
  143. package/src/pageComponent/utils/is.ts +0 -30
  144. package/src/pageComponent/utils/transform.ts +0 -27
  145. package/src/pageComponent/utils/tree.ts +0 -59
  146. package/src/pageComponent/utils/validation.ts +0 -14
  147. package/src/pageComponent/views/alarms/index.tsx +0 -7
  148. package/src/pageComponent/views/index.tsx +0 -20
  149. package/src/pageComponent/views/login.tsx +0 -66
  150. package/src/pageComponent/views/systemManager/about.tsx +0 -127
  151. package/src/pageComponent/views/systemManager/authManager/menuManager/index.tsx +0 -42
  152. package/src/pageComponent/views/systemManager/authManager/menuManager/menuDetail.tsx +0 -174
  153. package/src/pageComponent/views/systemManager/authManager/menuManager/menuSelectTree.tsx +0 -111
  154. package/src/pageComponent/views/systemManager/authManager/menuManager/updateMenuDialog.tsx +0 -111
  155. package/src/pageComponent/views/systemManager/authManager/roleManager/index.tsx +0 -233
  156. package/src/pageComponent/views/systemManager/authManager/roleManager/updateRoleDialog.tsx +0 -207
  157. package/src/pageComponent/views/systemManager/authManager/userManager/index.tsx +0 -255
  158. package/src/pageComponent/views/systemManager/authManager/userManager/updateUserDialog.tsx +0 -294
  159. package/src/pageComponent/views/systemManager/authManager/userManager/userProfileDialog.tsx +0 -102
  160. package/src/pageComponent/views/systemManager/logManager.tsx +0 -356
  161. package/src/pageComponent/views/systemManager/orgManager/depManager/depTree.tsx +0 -101
  162. package/src/pageComponent/views/systemManager/orgManager/depManager/employeeTable.tsx +0 -204
  163. package/src/pageComponent/views/systemManager/orgManager/depManager/index.tsx +0 -112
  164. package/src/pageComponent/views/systemManager/orgManager/depManager/updateDepDialog.tsx +0 -249
  165. package/src/pageComponent/views/systemManager/orgManager/depManager/updateEmployeeDialog.tsx +0 -312
  166. package/src/pageComponent/views/systemManager/orgManager/empManager.tsx +0 -7
  167. package/src/pageComponent/views/systemManager/orgManager/postManager/index.tsx +0 -192
  168. package/src/pageComponent/views/systemManager/orgManager/postManager/updatePostDialog.tsx +0 -153
  169. package/src/pageComponent/views/systemManager/orgManager/teamManager/index.tsx +0 -191
  170. package/src/pageComponent/views/systemManager/orgManager/teamManager/updateTeamDialog.tsx +0 -250
  171. package/src/pageComponent/views/systemManager/paramManager/collapseContainer.tsx +0 -54
  172. package/src/pageComponent/views/systemManager/paramManager/dynamicForm.tsx +0 -85
  173. package/src/pageComponent/views/systemManager/paramManager/index.tsx +0 -47
  174. package/src/pageComponent/views/systemManager/paramManager/tabItem.tsx +0 -163
  175. package/src/pageComponent/views/systemManager/personalSetting.tsx +0 -206
  176. package/src/styles/index.less +0 -1
  177. package/src/utils/className.ts +0 -16
  178. package/src/utils/config.ts +0 -5
  179. package/src/utils/getSlots.ts +0 -18
  180. package/src/utils/index.ts +0 -7
  181. package/src/utils/installComponent.ts +0 -12
  182. package/tsconfig.json +0 -27
@@ -1,51 +0,0 @@
1
- .login_box {
2
- display: flex;
3
- flex-direction: column;
4
- width: 25rem;
5
- height: 29rem;
6
- box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
7
- overflow: hidden;
8
- background-color: #fff;
9
-
10
- .ant-form {
11
- padding: 0 1rem;
12
- }
13
-
14
- .ant-form-item {
15
- margin-bottom: 0.5rem;
16
-
17
- .ant-btn,
18
- input {
19
- height: 40px;
20
- border-radius: 0.5rem;
21
- }
22
- }
23
-
24
- h3 {
25
- padding: 2rem 0;
26
- text-align: center;
27
- font-weight: normal;
28
- }
29
-
30
- .login_tab {
31
- height: 3rem;
32
- display: flex;
33
-
34
- .item {
35
- flex: 1;
36
- text-align: center;
37
- line-height: 2.8rem;
38
- cursor: pointer;
39
- background: #ebf8ff;
40
- transition: all 0.3s ease;
41
- opacity: 0.5;
42
-
43
- &.active,
44
- &:hover {
45
- color: #fff;
46
- opacity: 0.8;
47
- background: linear-gradient(90deg, #2eb2ff, #6d71ff);
48
- }
49
- }
50
- }
51
- }
@@ -1,146 +0,0 @@
1
- html {
2
- overflow: auto;
3
- }
4
-
5
- #app {
6
- height: 100vh;
7
- width: 100vw;
8
- }
9
-
10
- .flex {
11
- display: flex;
12
- }
13
-
14
- .flex-center {
15
- display: flex;
16
- align-items: center;
17
- }
18
-
19
- .flex-colume {
20
- flex-direction: column;
21
- }
22
-
23
- .layout {
24
- .LayoutHeader {
25
- height: 55px;
26
- line-height: 55px;
27
- background: #fff;
28
- // background: #fff !important;
29
- display: flex;
30
-
31
- &.blue {
32
- background: linear-gradient(90deg, #3297ff 0%, #286be6 100%);
33
- .logo {
34
- color: #fff;
35
- font-size: 20px;
36
- font-weight: 900;
37
- }
38
- .ant-menu {
39
- color: rgba(255, 255, 255, 0.6);
40
- .ant-menu-item:hover,
41
- .ant-menu-submenu:hover,
42
- .ant-menu-item-active,
43
- .ant-menu-submenu-active,
44
- .ant-menu-item-open,
45
- .ant-menu-submenu-open,
46
- .ant-menu-item-selected,
47
- .ant-menu-submenu-selected {
48
- color: #fff;
49
- &::after {
50
- border-bottom: 0;
51
- }
52
- }
53
- .ant-menu-item.ant-menu-item-selected {
54
- background: rgba(255, 255, 255, 0.1);
55
- }
56
- }
57
- .avatarBox {
58
- .username {
59
- color: #fff;
60
- font-size: 16px;
61
- }
62
- }
63
- }
64
-
65
- .logo {
66
- width: 200px;
67
- }
68
-
69
- ul.topMenu {
70
- background: transparent;
71
- border-bottom: 0;
72
- line-height: 60px;
73
- flex: 1;
74
- li {
75
- border-bottom: 0;
76
-
77
- // &.ant-menu-item-selected {
78
- // color: #fff !important;
79
- // }
80
- }
81
- }
82
-
83
- .avatarBox {
84
- .ant-dropdown-trigger {
85
- font-size: 22px;
86
- height: 100%;
87
- .username {
88
- line-height: 30px;
89
- height: 30px;
90
- }
91
- .anticon {
92
- font-size: 20px;
93
- }
94
- }
95
-
96
- .avatar {
97
- margin-left: 10px;
98
- }
99
- }
100
- }
101
-
102
- .LayoutContent {
103
- padding: 14px;
104
- }
105
- }
106
-
107
- .ant-menu-root.ant-menu-inline {
108
- border-right: 0;
109
- overflow-x: hidden;
110
- }
111
-
112
- .ant-menu-horizontal > .ant-menu-item-active,
113
- .ant-menu-horizontal > .ant-menu-item-open,
114
- .ant-menu-horizontal > .ant-menu-item-selected,
115
- .ant-menu-horizontal > .ant-menu-item:hover,
116
- .ant-menu-horizontal > .ant-menu-submenu-active,
117
- .ant-menu-horizontal > .ant-menu-submenu-open,
118
- .ant-menu-horizontal > .ant-menu-submenu-selected,
119
- .ant-menu-horizontal > .ant-menu-submenu:hover {
120
- border-bottom: none;
121
- }
122
-
123
- .ant-menu-item .anticon,
124
- .ant-menu-submenu-title .anticon {
125
- margin-right: 0;
126
- }
127
-
128
- .ant-menu-root > li > .ant-menu-submenu-title,
129
- .ant-menu-root > li > .ant-menu-title-content {
130
- font-weight: 600;
131
- }
132
-
133
- .ant-tabs-top > .ant-tabs-nav::before,
134
- .ant-tabs-bottom > .ant-tabs-nav::before,
135
- .ant-tabs-top > div > .ant-tabs-nav::before,
136
- .ant-tabs-bottom > div > .ant-tabs-nav::before {
137
- display: block;
138
- }
139
-
140
- .ant-tabs-nav .ant-tabs-tab {
141
- margin: 0;
142
- }
143
-
144
- .ant-table .ant-table-thead > tr > th {
145
- font-weight: 600;
146
- }
@@ -1,56 +0,0 @@
1
- .about {
2
- display: flex;
3
- flex-direction: column;
4
- padding: 40px;
5
-
6
- .logoLine {
7
- justify-content: space-between;
8
- .logo {
9
- width: 600px;
10
- margin-bottom: 40px;
11
- }
12
- }
13
-
14
- .titleLine {
15
- display: flex;
16
- justify-content: space-between;
17
- margin-bottom: 10px;
18
- .title {
19
- font-weight: bolder;
20
- &::before {
21
- content: '';
22
- border-left: 2px solid #3377ff;
23
- height: 10px;
24
- margin-right: 12px;
25
- }
26
- }
27
- }
28
-
29
- .card {
30
- color: rgba(0, 0, 0, 0.45);
31
- margin: 0 0 20px 16px;
32
- background: #f8f7fc;
33
- }
34
-
35
- .litTitle {
36
- margin: 0 0 4px 20px;
37
- }
38
-
39
- .down {
40
- margin: 10px 0 20px 16px;
41
- }
42
-
43
- .info {
44
- width: 800px;
45
- }
46
-
47
- .infoBtn {
48
- margin: 10px 0;
49
- }
50
-
51
- .update {
52
- position: absolute;
53
- right: 65px;
54
- top: 220px;
55
- }
56
- }
@@ -1,89 +0,0 @@
1
- @import './menu-manager.less';
2
- @import './param-manager.less';
3
-
4
- .systemManager {
5
- width: 100%;
6
- height: 100%;
7
-
8
- .LayoutSider {
9
- background: #fff;
10
- overflow: auto;
11
- margin-right: 14px;
12
- }
13
- }
14
-
15
- .logManager,
16
- .userManager,
17
- .role-manager,
18
- .personalSetting,
19
- .depManager,
20
- .postManager {
21
- display: flex;
22
- flex-direction: column;
23
-
24
- .control {
25
- margin-bottom: 16px;
26
- }
27
-
28
- .titleLine {
29
- display: flex;
30
- justify-content: space-between;
31
- margin-bottom: 10px;
32
- .title {
33
- font-weight: bolder;
34
- }
35
- }
36
-
37
- .searchLine {
38
- justify-content: space-between;
39
- margin-bottom: 10px;
40
- }
41
- }
42
-
43
- .logModal {
44
- .col {
45
- display: flex;
46
- margin-bottom: 10px;
47
- .label {
48
- padding: 0 10px;
49
- text-align: right;
50
- min-width: 140px;
51
- color: gray;
52
- }
53
- }
54
- }
55
-
56
- .depManager {
57
- flex-direction: row;
58
- .left {
59
- width: 300px;
60
- margin-right: 20px;
61
- }
62
- .right {
63
- flex: 1;
64
- .basic-info {
65
- .basic-info-header {
66
- display: flex;
67
- justify-content: space-between;
68
- font-weight: 600;
69
- .basic-info-title {
70
- font-size: 18px;
71
- color: #31363c;
72
- font-weight: 600;
73
- }
74
- }
75
- }
76
- .employee-container {
77
- .title {
78
- font-size: 18px;
79
- color: #31363c;
80
- font-weight: 600;
81
- }
82
- .operation {
83
- display: flex;
84
- justify-content: space-between;
85
- margin-bottom: 16px;
86
- }
87
- }
88
- }
89
- }
@@ -1,52 +0,0 @@
1
- .menu-manager {
2
- display: flex;
3
- gap: 32px;
4
- height: 100%;
5
- .tree {
6
- width: 300px;
7
- .menu-select-tree {
8
- .utils-container {
9
- display: flex;
10
- justify-content: flex-end;
11
- gap: 8px;
12
- }
13
- .tree-container {
14
- padding: 8px;
15
- .ant-tree-show-line .ant-tree-indent-unit::before {
16
- border-right: 1px dashed #d9d9d9;
17
- }
18
- }
19
- }
20
- }
21
- .right-detail {
22
- flex: auto;
23
- .menu-detail {
24
- .header {
25
- display: flex;
26
- justify-content: space-between;
27
- align-items: center;
28
- margin-bottom: 16px;
29
- .header-text {
30
- font-size: 16px;
31
- font-weight: bold;
32
- }
33
- }
34
- .form {
35
- max-width: 500px;
36
- }
37
- }
38
- }
39
- }
40
- .tree-cotextmenu .context-utils {
41
- display: flex;
42
- gap: 8px;
43
- }
44
- .util-item {
45
- margin: 8px 0;
46
- padding: 4px;
47
- border-radius: 50%;
48
- border: 1px solid #ccc;
49
- line-height: 1;
50
- color: #ccc;
51
- cursor: pointer;
52
- }
@@ -1,44 +0,0 @@
1
- .param-manager {
2
- .tab-item {
3
- .operation {
4
- text-align: right;
5
- & > .ant-space {
6
- position: absolute;
7
- top: 0;
8
- right: 0;
9
- }
10
- }
11
- .group-container {
12
- .group-item {
13
- &-title {
14
- font-size: 14px;
15
- font-weight: 600;
16
- }
17
- }
18
- .collapse-container {
19
- margin: 16px 0;
20
- .header {
21
- position: relative;
22
- display: flex;
23
- // justify-content: space-between;
24
- align-items: center;
25
- padding-left: 16px;
26
- line-height: 1;
27
- .container-title {
28
- font-size: 14px;
29
- font-weight: 600;
30
- }
31
- &::before {
32
- content: ' ';
33
- position: absolute;
34
- left: 0;
35
- top: 0;
36
- bottom: 0;
37
- width: 2px;
38
- background-color: #4b7ff7;
39
- }
40
- }
41
- }
42
- }
43
- }
44
- }
@@ -1,134 +0,0 @@
1
- //! moment.js locale configuration
2
- //! locale : Chinese (China) [zh-cn]
3
- //! author : suupic : https://github.com/suupic
4
- //! author : Zeno Zeng : https://github.com/zenozeng
5
- //! author : uu109 : https://github.com/uu109
6
- (function (global, factory) {
7
- typeof exports === 'object' &&
8
- typeof module !== 'undefined' &&
9
- typeof require === 'function'
10
- ? factory(require('../moment'))
11
- : typeof define === 'function' && define.amd
12
- ? define(['../moment'], factory)
13
- : factory(global.moment);
14
- })(this, function (moment) {
15
- 'use strict';
16
-
17
- //! moment.js locale configuration
18
-
19
- var zhCn = moment.defineLocale('zh-cn', {
20
- months:
21
- '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
22
- '_',
23
- ),
24
- monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
25
- '_',
26
- ),
27
- weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
28
- weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
29
- weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
30
- longDateFormat: {
31
- LT: 'HH:mm',
32
- LTS: 'HH:mm:ss',
33
- L: 'YYYY/MM/DD',
34
- LL: 'YYYY年M月D日',
35
- LLL: 'YYYY年M月D日Ah点mm分',
36
- LLLL: 'YYYY年M月D日ddddAh点mm分',
37
- l: 'YYYY/M/D',
38
- ll: 'YYYY年M月D日',
39
- lll: 'YYYY年M月D日 HH:mm',
40
- llll: 'YYYY年M月D日dddd HH:mm',
41
- },
42
- meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
43
- meridiemHour: function (hour, meridiem) {
44
- if (hour === 12) {
45
- hour = 0;
46
- }
47
- if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
48
- return hour;
49
- } else if (meridiem === '下午' || meridiem === '晚上') {
50
- return hour + 12;
51
- } else {
52
- // '中午'
53
- return hour >= 11 ? hour : hour + 12;
54
- }
55
- },
56
- meridiem: function (hour, minute, isLower) {
57
- var hm = hour * 100 + minute;
58
- if (hm < 600) {
59
- return '凌晨';
60
- } else if (hm < 900) {
61
- return '早上';
62
- } else if (hm < 1130) {
63
- return '上午';
64
- } else if (hm < 1230) {
65
- return '中午';
66
- } else if (hm < 1800) {
67
- return '下午';
68
- } else {
69
- return '晚上';
70
- }
71
- },
72
- calendar: {
73
- sameDay: '[今天]LT',
74
- nextDay: '[明天]LT',
75
- nextWeek: function (now) {
76
- if (now.week() !== this.week()) {
77
- return '[下]dddLT';
78
- } else {
79
- return '[本]dddLT';
80
- }
81
- },
82
- lastDay: '[昨天]LT',
83
- lastWeek: function (now) {
84
- if (this.week() !== now.week()) {
85
- return '[上]dddLT';
86
- } else {
87
- return '[本]dddLT';
88
- }
89
- },
90
- sameElse: 'L',
91
- },
92
- dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
93
- ordinal: function (number, period) {
94
- switch (period) {
95
- case 'd':
96
- case 'D':
97
- case 'DDD':
98
- return number + '日';
99
- case 'M':
100
- return number + '月';
101
- case 'w':
102
- case 'W':
103
- return number + '周';
104
- default:
105
- return number;
106
- }
107
- },
108
- relativeTime: {
109
- future: '%s后',
110
- past: '%s前',
111
- s: '几秒',
112
- ss: '%d 秒',
113
- m: '1 分钟',
114
- mm: '%d 分钟',
115
- h: '1 小时',
116
- hh: '%d 小时',
117
- d: '1 天',
118
- dd: '%d 天',
119
- w: '1 周',
120
- ww: '%d 周',
121
- M: '1 个月',
122
- MM: '%d 个月',
123
- y: '1 年',
124
- yy: '%d 年',
125
- },
126
- week: {
127
- // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
128
- dow: 1, // Monday is the first day of the week.
129
- doy: 4, // The week that contains Jan 4th is the first week of the year.
130
- },
131
- });
132
-
133
- return zhCn;
134
- });