agilebuilder-ui 1.1.24 → 1.1.25

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 (51) hide show
  1. package/index.html +10 -4
  2. package/lib/{401-4a0b2ff3.js → 401-c1ecc1a9.js} +1 -1
  3. package/lib/{404-675a2b11.js → 404-a507cf9c.js} +1 -1
  4. package/lib/favicon.svg +29 -0
  5. package/lib/{iframe-page-38a9c584.js → iframe-page-32671903.js} +1 -1
  6. package/lib/{index-e23f840f.js → index-ce3ae297.js} +4171 -4174
  7. package/lib/super-ui.css +1 -1
  8. package/lib/super-ui.js +1 -1
  9. package/lib/super-ui.umd.cjs +54 -54
  10. package/lib/{tab-content-iframe-index-e6bc24b5.js → tab-content-iframe-index-55b69efd.js} +1 -1
  11. package/lib/{tab-content-index-5a36eab4.js → tab-content-index-f8882314.js} +1 -1
  12. package/lib/{tache-subprocess-history-59bda1ed.js → tache-subprocess-history-a2d815d2.js} +1 -1
  13. package/package.json +2 -2
  14. package/packages/hamburger/src/hamburger.vue +23 -21
  15. package/packages/super-grid/src/search-form-open.vue +1 -1
  16. package/packages/super-grid/src/super-grid.vue +4 -5
  17. package/packages/svg-icon/src/svg-icon.vue +1 -1
  18. package/public/favicon.svg +29 -0
  19. package/src/store/modules/system.js +4 -3
  20. package/src/styles/_layout-custom-properties.scss +1 -1
  21. package/src/styles/theme/black/index.scss +5 -5
  22. package/src/styles/theme/black/sidebar.scss +25 -26
  23. package/src/styles/theme/blue/index.scss +2 -2
  24. package/src/styles/theme/blue/sidebar.scss +25 -26
  25. package/src/styles/theme/blue2/index.scss +2 -2
  26. package/src/styles/theme/blue2/sidebar.scss +23 -31
  27. package/src/styles/theme/dark-blue/index.scss +2 -2
  28. package/src/styles/theme/dark-blue/sidebar.scss +33 -34
  29. package/src/styles/theme/default.scss +2 -1
  30. package/src/styles/theme/gray/index.scss +2 -2
  31. package/src/styles/theme/gray/sidebar.scss +23 -33
  32. package/src/styles/theme/green/index.scss +2 -2
  33. package/src/styles/theme/green/sidebar.scss +25 -30
  34. package/src/styles/theme/ocean-blue/index.scss +2 -2
  35. package/src/styles/theme/ocean-blue/sidebar.scss +33 -35
  36. package/src/styles/theme/tiffany-blue-mobile/index.scss +2 -2
  37. package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +33 -33
  38. package/src/utils/common-util.js +28 -24
  39. package/src/utils/iframe-communicator.js +10 -10
  40. package/src/views/dsc-component/Sidebar/Item.vue +14 -30
  41. package/src/views/dsc-component/Sidebar/SidebarItem.vue +41 -1
  42. package/src/views/layout/components/AppMain.vue +7 -6
  43. package/src/views/layout/components/Menubar/Item.vue +12 -38
  44. package/src/views/layout/components/Menubar/SidebarItem.vue +41 -3
  45. package/src/views/layout/components/Menubar/index.vue +1 -6
  46. package/src/views/layout/components/Sidebar/Item.vue +5 -28
  47. package/src/views/layout/components/Sidebar/SidebarItem.vue +41 -1
  48. package/src/views/layout/components/Sidebar/index.vue +1 -1
  49. package/src/views/svg-icon/src/svg-icon.vue +1 -1
  50. package/lib/vite.svg +0 -1
  51. package/public/vite.svg +0 -1
@@ -6,7 +6,7 @@
6
6
  .main-container {
7
7
  height: 100%;
8
8
  transition: margin-left .28s;
9
- margin-left: 224px;
9
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
10
10
  // padding-left: 24px;
11
11
  position: relative;
12
12
  background: #F8F9FA;
@@ -15,7 +15,7 @@
15
15
  // 侧边栏
16
16
  .sidebar-container {
17
17
  transition: width 0.28s;
18
- width: 224px !important;
18
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
19
19
  height: 100%;
20
20
  position: fixed;
21
21
  top: 0;
@@ -31,6 +31,18 @@
31
31
  color: rgba(0, 13, 31, 0.85);
32
32
  background: #FFF;
33
33
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
34
+
35
+ & {
36
+ display: flex;
37
+ flex-direction: column;
38
+
39
+ & > .el-scrollbar {
40
+ flex: 1 1 auto;
41
+ .el-menu {
42
+ margin-top: 5px;
43
+ }
44
+ }
45
+ }
34
46
 
35
47
  //reset element-ui css
36
48
  .horizontal-collapse-transition {
@@ -44,10 +56,6 @@
44
56
  .scrollbar-wrapper {
45
57
  overflow-x: hidden !important;
46
58
 
47
- .el-scrollbar__view {
48
- height: calc(100vh - 70px);
49
- }
50
-
51
59
  .system-item {
52
60
  padding-left: 10px;
53
61
  font-size: medium;
@@ -58,15 +66,12 @@
58
66
  }
59
67
 
60
68
  .hamburger-container {
61
- position: absolute;
62
- bottom: 0px;
63
69
  width: 100%;
64
70
  line-height: 48px;
65
71
  height: 48px;
66
72
  background: #FFFFFF;
67
73
  box-shadow: 0px 1px 8px 0px #00000019;
68
74
  border: 1px solid #EAEAEA;
69
- padding: 0 24px;
70
75
  }
71
76
 
72
77
  .is-horizontal {
@@ -79,15 +84,10 @@
79
84
  overflow: hidden;
80
85
  }
81
86
 
82
- .svg-icon {
83
- margin-right: 16px;
84
- }
85
-
86
87
  .el-menu {
87
88
  border: none;
88
89
  height: 100%;
89
90
  width: 100% !important;
90
- margin-top: 5px;
91
91
  background-color: #FFF;
92
92
  color: #000D1F;
93
93
  font-weight: 400;
@@ -95,6 +95,7 @@
95
95
 
96
96
 
97
97
  .el-menu-item {
98
+ position: relative;
98
99
  height: 46px;
99
100
  color: #525A6C;
100
101
  line-height: 46px;
@@ -109,7 +110,15 @@
109
110
  letter-spacing: 0px;
110
111
  text-align: left;
111
112
  box-sizing: border-box;
112
- border-left: 4px solid #1A6BF3
113
+ &::after {
114
+ content: " ";
115
+ position: absolute;
116
+ left: 0;
117
+ top: 0;
118
+ bottom: 0;
119
+ width: 4px;
120
+ background-color: #1A6BF3;
121
+ }
113
122
  }
114
123
 
115
124
  .el-submenu__title {
@@ -121,20 +130,18 @@
121
130
 
122
131
  .hideSidebar {
123
132
  .sidebar-container {
124
- width: 54px !important;
133
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
134
+ .smb-sidebar-menu-item {
135
+ .smb-sidebar-menu-item-icon {
136
+ & ~ * {
137
+ display: none !important;
138
+ }
139
+ }
140
+ }
125
141
  }
126
142
 
127
143
  .main-container {
128
- margin-left: 54px;
129
- }
130
-
131
- .submenu-title-noDropdown {
132
- padding-left: 20px !important;
133
- position: relative;
134
-
135
- .el-tooltip {
136
- padding: 0 20px !important;
137
- }
144
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
138
145
  }
139
146
 
140
147
  .el-submenu {
@@ -253,14 +260,6 @@
253
260
  text-align: left;
254
261
  }
255
262
 
256
- .el-menu--vertical {
257
- & > .el-menu {
258
- .svg-icon {
259
- margin-right: 16px;
260
- }
261
- }
262
- }
263
-
264
263
  运行时工具栏样式
265
264
  .amb-widget-tools-parent{
266
265
  margin-bottom: 20px;
@@ -1,6 +1,7 @@
1
1
  // 主题基础 默认样式
2
2
 
3
- .app-container:not(:has( > .three-column-layout, > .el-container)) {
3
+ // :not(:has( > .three-column-layout, > .el-container))
4
+ .app-container {
4
5
  padding: var(--app-container-padding, 20px);
5
6
  border-radius: 6px;
6
7
  box-shadow: 0px 1px 8px 0px #00000019;
@@ -71,8 +71,8 @@
71
71
 
72
72
  //main-container全局样式
73
73
  .app-main {
74
- padding: var(--app-main-padding, 20px);
75
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
74
+ padding: var(--app-main-padding, 15px);
75
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
76
76
  background: #f7f7f8;
77
77
  }
78
78
 
@@ -6,14 +6,14 @@
6
6
  .main-container {
7
7
  height: 100%;
8
8
  transition: margin-left .28s;
9
- margin-left: 224px;
9
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
10
10
  position: relative;
11
11
  }
12
12
 
13
13
  // 侧边栏
14
14
  .sidebar-container {
15
15
  transition: width 0.28s;
16
- width: 224px !important;
16
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
17
17
  height: 100%;
18
18
  position: fixed;
19
19
  top: 0;
@@ -27,6 +27,18 @@
27
27
  line-height: 14px;
28
28
  background: #FFF;
29
29
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
30
+
31
+ & {
32
+ display: flex;
33
+ flex-direction: column;
34
+
35
+ & > .el-scrollbar {
36
+ flex: 1 1 auto;
37
+ .el-menu {
38
+ margin-top: 5px;
39
+ }
40
+ }
41
+ }
30
42
 
31
43
  //reset element-ui css
32
44
  .horizontal-collapse-transition {
@@ -40,10 +52,6 @@
40
52
  .scrollbar-wrapper {
41
53
  overflow-x: hidden !important;
42
54
 
43
- .el-scrollbar__view {
44
- height: calc(100vh - 70px);
45
- }
46
-
47
55
  .system-item {
48
56
  padding-left: 10px;
49
57
  font-size: medium;
@@ -54,14 +62,10 @@
54
62
  }
55
63
 
56
64
  .hamburger-container {
57
- position: absolute;
58
- bottom: 0px;
59
65
  width: 100%;
60
66
  line-height: 48px;
61
67
  height: 48px;
62
68
  background-color: #F9F9F9;
63
- // float: left;
64
- padding: 0 24px;
65
69
  }
66
70
 
67
71
  .is-horizontal {
@@ -74,10 +78,6 @@
74
78
  overflow: hidden;
75
79
  }
76
80
 
77
- .svg-icon {
78
- margin-right: 16px;
79
- }
80
-
81
81
  .el-menu {
82
82
  position: static;
83
83
  border: none;
@@ -92,20 +92,18 @@
92
92
 
93
93
  .hideSidebar {
94
94
  .sidebar-container {
95
- width: 54px !important;
95
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
96
+ .smb-sidebar-menu-item {
97
+ .smb-sidebar-menu-item-icon {
98
+ & ~ * {
99
+ display: none !important;
100
+ }
101
+ }
102
+ }
96
103
  }
97
104
 
98
105
  .main-container {
99
- margin-left: 54px;
100
- }
101
-
102
- .submenu-title-noDropdown {
103
- padding-left: 20px !important;
104
- position: relative;
105
-
106
- .el-tooltip {
107
- padding: 0 20px !important;
108
- }
106
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
109
107
  }
110
108
 
111
109
  .el-submenu {
@@ -227,12 +225,4 @@
227
225
  .sidebar-container-popper .el-menu--collapse {
228
226
  text-align: left;
229
227
  }
230
-
231
- .el-menu--vertical {
232
- &>.el-menu {
233
- .svg-icon {
234
- margin-right: 16px;
235
- }
236
- }
237
- }
238
228
  }
@@ -87,8 +87,8 @@
87
87
 
88
88
  //main-container全局样式
89
89
  .app-main {
90
- padding: var(--app-main-padding, 20px);
91
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
90
+ padding: var(--app-main-padding, 15px);
91
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
92
92
  background: #f7f7f8;
93
93
  }
94
94
 
@@ -7,7 +7,7 @@
7
7
  .main-container {
8
8
  height: 100%;
9
9
  transition: margin-left .28s;
10
- margin-left: 224px;
10
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
11
11
  // padding-left: 24px;
12
12
  position: relative;
13
13
  background: #F8F9FA;
@@ -16,7 +16,7 @@
16
16
  // 侧边栏
17
17
  .sidebar-container {
18
18
  transition: width 0.28s;
19
- width: 224px !important;
19
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
20
20
  height: 100%;
21
21
  position: fixed;
22
22
  top: 0;
@@ -32,6 +32,18 @@
32
32
  color: #fff;
33
33
  background: $--menu-background-color;
34
34
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
35
+
36
+ & {
37
+ display: flex;
38
+ flex-direction: column;
39
+
40
+ & > .el-scrollbar {
41
+ flex: 1 1 auto;
42
+ .el-menu {
43
+ margin-top: 5px;
44
+ }
45
+ }
46
+ }
35
47
 
36
48
  //reset element-ui css
37
49
  .horizontal-collapse-transition {
@@ -45,10 +57,6 @@
45
57
  .scrollbar-wrapper {
46
58
  overflow-x: hidden !important;
47
59
  background-color: $--menu-background-color;
48
- .el-scrollbar__view {
49
- height: calc(100vh - 70px);
50
- }
51
-
52
60
  .system-item {
53
61
  padding-left: 10px;
54
62
  font-size: medium;
@@ -58,6 +66,7 @@
58
66
  }
59
67
 
60
68
  .el-menu-item {
69
+ position: relative;
61
70
  height: 46px;
62
71
  color: #fff;
63
72
  line-height: 46px;
@@ -73,15 +82,12 @@
73
82
  }
74
83
 
75
84
  .hamburger-container {
76
- position: absolute;
77
- bottom: 0px;
78
85
  width: 100%;
79
86
  line-height: 48px;
80
87
  height: 48px;
81
88
  background: $--menu-background-color;
82
89
  box-shadow: 0px 1px 8px 0px #00000019;
83
90
  border: 1px solid $--menu-background-color;
84
- padding: 0 24px;
85
91
  }
86
92
 
87
93
  .is-horizontal {
@@ -94,15 +100,10 @@
94
100
  overflow: hidden;
95
101
  }
96
102
 
97
- .svg-icon {
98
- margin-right: 16px;
99
- }
100
-
101
103
  .el-menu {
102
104
  border: none;
103
105
  height: 100%;
104
106
  width: 100% !important;
105
- margin-top: 5px;
106
107
  background-color: $--menu-background-color;
107
108
  color: #fff;
108
109
  font-weight: 400;
@@ -110,6 +111,7 @@
110
111
 
111
112
 
112
113
  .el-menu-item {
114
+ position: relative;
113
115
  height: 46px;
114
116
  color: #fff;
115
117
  line-height: 46px;
@@ -134,20 +136,18 @@
134
136
 
135
137
  .hideSidebar {
136
138
  .sidebar-container {
137
- width: 54px !important;
139
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
140
+ .smb-sidebar-menu-item {
141
+ .smb-sidebar-menu-item-icon {
142
+ & ~ * {
143
+ display: none !important;
144
+ }
145
+ }
146
+ }
138
147
  }
139
148
 
140
149
  .main-container {
141
- margin-left: 54px;
142
- }
143
-
144
- .submenu-title-noDropdown {
145
- padding-left: 20px !important;
146
- position: relative;
147
-
148
- .el-tooltip {
149
- padding: 0 20px !important;
150
- }
150
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
151
151
  }
152
152
 
153
153
  .el-submenu {
@@ -265,11 +265,6 @@
265
265
  }
266
266
 
267
267
  .el-menu--vertical {
268
- & > .el-menu {
269
- .svg-icon {
270
- margin-right: 16px;
271
- }
272
- }
273
268
 
274
269
  .el-menu--popup{
275
270
  background-color: $--menu-background-color;
@@ -87,8 +87,8 @@
87
87
 
88
88
  //main-container全局样式
89
89
  .app-main {
90
- padding: var(--app-main-padding, 20px);
91
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
90
+ padding: var(--app-main-padding, 15px);
91
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
92
92
  background: #f7f7f8;
93
93
  }
94
94
 
@@ -7,7 +7,7 @@
7
7
  .main-container {
8
8
  height: 100%;
9
9
  transition: margin-left .28s;
10
- margin-left: 224px;
10
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
11
11
  // padding-left: 24px;
12
12
  position: relative;
13
13
  background: #F8F9FA;
@@ -16,7 +16,7 @@
16
16
  // 侧边栏
17
17
  .sidebar-container {
18
18
  transition: width 0.28s;
19
- width: 224px !important;
19
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
20
20
  height: 100%;
21
21
  position: fixed;
22
22
  top: 0;
@@ -32,6 +32,18 @@
32
32
  color: rgba(0, 13, 31, 0.85);
33
33
  background: #FFF;
34
34
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
35
+
36
+ & {
37
+ display: flex;
38
+ flex-direction: column;
39
+
40
+ & > .el-scrollbar {
41
+ flex: 1 1 auto;
42
+ .el-menu {
43
+ margin-top: 5px;
44
+ }
45
+ }
46
+ }
35
47
 
36
48
  //reset element-ui css
37
49
  .horizontal-collapse-transition {
@@ -44,11 +56,6 @@
44
56
 
45
57
  .scrollbar-wrapper {
46
58
  overflow-x: hidden !important;
47
-
48
- .el-scrollbar__view {
49
- height: calc(100vh - 70px);
50
- }
51
-
52
59
  .system-item {
53
60
  padding-left: 10px;
54
61
  font-size: medium;
@@ -59,15 +66,12 @@
59
66
  }
60
67
 
61
68
  .hamburger-container {
62
- position: absolute;
63
- bottom: 0px;
64
69
  width: 100%;
65
70
  line-height: 48px;
66
71
  height: 48px;
67
72
  background: #FFFFFF;
68
73
  box-shadow: 0px 1px 8px 0px #00000019;
69
74
  border: 1px solid #EAEAEA;
70
- padding: 0 24px;
71
75
  }
72
76
 
73
77
  .is-horizontal {
@@ -79,16 +83,10 @@
79
83
  width: 100%;
80
84
  overflow: hidden;
81
85
  }
82
-
83
- .svg-icon {
84
- margin-right: 16px;
85
- }
86
-
87
86
  .el-menu {
88
87
  border: none;
89
88
  height: 100%;
90
89
  width: 100% !important;
91
- margin-top: 5px;
92
90
  background-color: #FFF;
93
91
  color: #000D1F;
94
92
  font-weight: 400;
@@ -96,6 +94,7 @@
96
94
 
97
95
 
98
96
  .el-menu-item {
97
+ position: relative;
99
98
  height: 46px;
100
99
  color: #525A6C;
101
100
  line-height: 46px;
@@ -108,7 +107,15 @@
108
107
  letter-spacing: 0px;
109
108
  text-align: left;
110
109
  box-sizing: border-box;
111
- border-left: 4px solid #1A6BF3
110
+ &::after {
111
+ content: " ";
112
+ position: absolute;
113
+ left: 0;
114
+ top: 0;
115
+ bottom: 0;
116
+ width: 4px;
117
+ background-color: #1A6BF3;
118
+ }
112
119
  }
113
120
 
114
121
  .el-submenu__title {
@@ -120,20 +127,18 @@
120
127
 
121
128
  .hideSidebar {
122
129
  .sidebar-container {
123
- width: 54px !important;
130
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
131
+ .smb-sidebar-menu-item {
132
+ .smb-sidebar-menu-item-icon {
133
+ & ~ * {
134
+ display: none !important;
135
+ }
136
+ }
137
+ }
124
138
  }
125
139
 
126
140
  .main-container {
127
- margin-left: 54px;
128
- }
129
-
130
- .submenu-title-noDropdown {
131
- padding-left: 20px !important;
132
- position: relative;
133
-
134
- .el-tooltip {
135
- padding: 0 20px !important;
136
- }
141
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
137
142
  }
138
143
 
139
144
  .el-submenu {
@@ -251,13 +256,6 @@
251
256
  text-align: left;
252
257
  }
253
258
 
254
- .el-menu--vertical {
255
- & > .el-menu {
256
- .svg-icon {
257
- margin-right: 16px;
258
- }
259
- }
260
- }
261
259
  .router-link-active >.is-active{
262
260
  color: $--menu-dont-color;
263
261
  }
@@ -91,8 +91,8 @@
91
91
 
92
92
  //main-container全局样式
93
93
  .app-main {
94
- padding: var(--app-main-padding, 20px);
95
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
94
+ padding: var(--app-main-padding, 15px);
95
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
96
96
  background: #fcfcfc;
97
97
  }
98
98