imatrix-ui 2.8.592-dw → 2.9.0-dw-tmp2

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 (46) hide show
  1. package/.babelrc +17 -0
  2. package/build/components.json +4 -0
  3. package/build/gen-style.js +32 -0
  4. package/build/webpack.base.js +140 -0
  5. package/build/webpack.component.js +40 -0
  6. package/build/webpack.prod.js +35 -0
  7. package/lib/DepartmentTree.js +8 -0
  8. package/lib/SuperGrid.js +28 -0
  9. package/lib/super-ui.min.js +72 -0
  10. package/package.json +51 -24
  11. package/src/i18n/langs/cn.js +3 -1
  12. package/src/i18n/langs/en.js +3 -1
  13. package/src/index.js +93 -0
  14. package/src/permission.js +4 -0
  15. package/src/styles/display-layout.scss +34 -0
  16. package/src/styles/index.scss +32 -4
  17. package/src/styles/theme/dark-blue/button.scss +9 -0
  18. package/src/styles/theme/dark-blue/card.scss +64 -0
  19. package/src/styles/theme/dark-blue/checkbox.scss +10 -0
  20. package/src/styles/theme/dark-blue/dark-blue-var.scss +8 -0
  21. package/src/styles/theme/dark-blue/dialog.scss +21 -0
  22. package/src/styles/theme/dark-blue/element-variables.scss +7 -0
  23. package/src/styles/theme/dark-blue/font.scss +71 -0
  24. package/src/styles/theme/dark-blue/form.scss +51 -0
  25. package/src/styles/theme/dark-blue/index.scss +247 -0
  26. package/src/styles/theme/dark-blue/input.scss +15 -0
  27. package/src/styles/theme/dark-blue/pagination.scss +14 -0
  28. package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
  29. package/src/styles/theme/dark-blue/sidebar.scss +296 -0
  30. package/src/styles/theme/dark-blue/tab.scss +83 -0
  31. package/src/styles/theme/dark-blue/table.scss +60 -0
  32. package/src/styles/theme/dark-blue/tree.scss +31 -0
  33. package/src/styles/theme/dark-blue/var.scss +1028 -0
  34. package/src/utils/auth-api.js +115 -0
  35. package/src/utils/auth.js +34 -42
  36. package/src/utils/calculator/calculator-factory.js +2 -2
  37. package/src/utils/common-util.js +21 -0
  38. package/src/utils/jump-page-utils.js +28 -5
  39. package/src/utils/request.js +17 -1
  40. package/src/utils/util.js +7 -3
  41. package/src/views/dsc-component/Sidebar/Item.vue +4 -4
  42. package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -1
  43. package/src/views/dsc-component/Sidebar/index.vue +20 -12
  44. package/src/views/dsc-component/tabs/tab-content.vue +5 -1
  45. package/lib/super-ui.css +0 -1
  46. package/lib/super-ui.umd.min.js +0 -67
@@ -0,0 +1,60 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+
5
+ $table-cell-font-color: #313233;
6
+
7
+ // 表头背景颜色 包括组合表头 已经当表头有空白列表头
8
+ .el-table th {
9
+ background-color: $th-cell-background !important;
10
+ }
11
+
12
+ .el-table__header-wrapper {
13
+ background-color: $th-cell-background;
14
+ }
15
+
16
+ // .el-table th.el-table__cell {
17
+ // background-color: $th-cell-background;
18
+ // }
19
+
20
+ // .el-table thead.is-group th.el-table__cell {
21
+ // background-color: $th-cell-background;
22
+ // }
23
+
24
+ .el-table .el-table__cell {
25
+ padding: 0;
26
+ }
27
+
28
+ // 表头字体样式
29
+ .el-table th.el-table__cell>.cell {
30
+ color: $table-cell-font-color;
31
+ font-family: Source Han Sans CN;
32
+ font-weight: medium;
33
+ font-size: 14px;
34
+ line-height: 22px;
35
+ letter-spacing: 0px;
36
+ // text-align: left;
37
+ }
38
+
39
+ // 表格内容颜色
40
+ .el-table .cell {
41
+ color: $table-cell-font-color;
42
+ font-family: Source Han Sans CN;
43
+ font-weight: regular;
44
+ font-size: 14px;
45
+ line-height: 22px;
46
+ letter-spacing: 0px;
47
+ // text-align: left;
48
+
49
+ }
50
+
51
+ .el-button--text {
52
+ color: $--color-primary;
53
+ font-family: Source Han Sans CN;
54
+ font-weight: regular;
55
+ font-size: 14px;
56
+ line-height: 22px;
57
+ letter-spacing: 0px;
58
+ text-align: center;
59
+ }
60
+ }
@@ -0,0 +1,31 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+
5
+
6
+ .el-tree-node__content:hover {
7
+ background-color: $th-cell-background;
8
+ }
9
+
10
+ .el-tree-node__content>.el-checkbox {
11
+ margin-right: 8px;
12
+ }
13
+
14
+
15
+
16
+ .el-tree-node .is-checked {
17
+ background-color: $th-cell-background !important;
18
+ }
19
+
20
+ .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
21
+ background-color: transparent;
22
+ }
23
+
24
+ .el-tree-node .is-expanded .is-focusable .is-checked {
25
+ background-color: transparent;
26
+ }
27
+
28
+ .el-tree-node .is-current .is-focusable {
29
+ background-color: $th-cell-background !important;
30
+ }
31
+ }