eoss-ui 0.5.71 → 0.5.73

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 (54) hide show
  1. package/lib/cascader.js +22 -3
  2. package/lib/data-table.js +26 -11
  3. package/lib/dialog.js +2 -3
  4. package/lib/eoss-ui.common.js +388 -109
  5. package/lib/icon.js +3 -2
  6. package/lib/icons.js +1 -1
  7. package/lib/index.js +1 -1
  8. package/lib/login.js +12 -2
  9. package/lib/main.js +101 -26
  10. package/lib/menu.js +3 -0
  11. package/lib/nav.js +172 -14
  12. package/lib/select.js +1 -2
  13. package/lib/selector.js +3 -3
  14. package/lib/theme-chalk/base.css +1 -1
  15. package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
  16. package/lib/theme-chalk/fonts/iconfont.woff +0 -0
  17. package/lib/theme-chalk/icon.css +1 -1
  18. package/lib/theme-chalk/index.css +1 -1
  19. package/lib/theme-chalk/main.css +1 -1
  20. package/lib/theme-chalk/menu.css +1 -1
  21. package/lib/theme-chalk/nav.css +1 -1
  22. package/lib/theme-chalk/sizer.css +1 -1
  23. package/lib/theme-chalk/upload.css +1 -1
  24. package/lib/tree.js +4 -4
  25. package/package.json +2 -2
  26. package/packages/cascader/src/main.vue +22 -3
  27. package/packages/data-table/src/main.vue +23 -13
  28. package/packages/dialog/src/main.vue +0 -1
  29. package/packages/icon/src/main.vue +1 -0
  30. package/packages/icons/src/icon.json +1 -1
  31. package/packages/login/src/main.vue +5 -0
  32. package/packages/main/src/main.vue +28 -14
  33. package/packages/main/src/settings.vue +13 -0
  34. package/packages/menu/src/main.vue +3 -0
  35. package/packages/nav/src/main.vue +113 -7
  36. package/packages/select/src/main.vue +1 -2
  37. package/packages/selector/src/main.vue +1 -1
  38. package/packages/theme-chalk/lib/base.css +1 -1
  39. package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
  40. package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
  41. package/packages/theme-chalk/lib/icon.css +1 -1
  42. package/packages/theme-chalk/lib/index.css +1 -1
  43. package/packages/theme-chalk/lib/main.css +1 -1
  44. package/packages/theme-chalk/lib/menu.css +1 -1
  45. package/packages/theme-chalk/lib/nav.css +1 -1
  46. package/packages/theme-chalk/lib/sizer.css +1 -1
  47. package/packages/theme-chalk/lib/upload.css +1 -1
  48. package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
  49. package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
  50. package/packages/theme-chalk/src/icon.scss +432 -437
  51. package/packages/theme-chalk/src/main.scss +19 -15
  52. package/packages/theme-chalk/src/nav.scss +31 -2
  53. package/packages/tree/src/main.vue +2 -2
  54. package/src/index.js +1 -1
@@ -105,7 +105,9 @@
105
105
  background-color: $--color-primary-light-10;
106
106
  .es-main-side {
107
107
  overflow: hidden;
108
- margin-top: -$--main-header-height;
108
+ &.es-main-topside {
109
+ margin-top: -$--main-header-height;
110
+ }
109
111
  .es-main-side-logo {
110
112
  height: $--main-header-height;
111
113
  display: block;
@@ -219,19 +221,6 @@
219
221
  }
220
222
  }
221
223
 
222
- .es-sets-button {
223
- position: fixed;
224
- top: 100px;
225
- right: -2px;
226
- z-index: 2;
227
- box-shadow: $--box-shadow-base;
228
-
229
- .el-button {
230
- font-size: 22px;
231
- padding: 8px;
232
- }
233
- }
234
-
235
224
  .es-sets-drawer {
236
225
  padding-top: 48px;
237
226
 
@@ -266,7 +255,9 @@
266
255
  .es-setting-navs-box {
267
256
  display: flex;
268
257
  flex-wrap: wrap;
269
- justify-content: space-around;
258
+ .es-setting-navs-item {
259
+ margin-left: 16px;
260
+ }
270
261
  }
271
262
  .es-setting-navs {
272
263
  width: 100px;
@@ -336,6 +327,19 @@
336
327
  background-color: $--color-primary-light-10;
337
328
  }
338
329
  }
330
+ &.es-setting-side-navs {
331
+ &::before {
332
+ content: '';
333
+ display: block;
334
+ position: absolute;
335
+ left: 0;
336
+ width: 20px;
337
+ top: 0;
338
+ bottom: 0;
339
+ z-index: 2;
340
+ background-color: $--color-primary-light-10;
341
+ }
342
+ }
339
343
  .es-icon-gou {
340
344
  position: absolute;
341
345
  z-index: 9;
@@ -14,7 +14,9 @@
14
14
  display: inline-block;
15
15
  height: 100%;
16
16
  background-color: $--color-primary-light-10;
17
- border-right: $--border-base;
17
+ &:not(.es-nav-overlap) {
18
+ border-right: $--border-base;
19
+ }
18
20
  .es-nav-title {
19
21
  width: 100%;
20
22
  height: 45px;
@@ -76,12 +78,25 @@
76
78
  background: $--color-primary-light-7;
77
79
  }
78
80
  }
81
+ .es-nav-overlap {
82
+ .es-menu {
83
+ display: flex;
84
+ flex-wrap: wrap;
85
+ .es-menu-item {
86
+ width: 90px;
87
+ height: 90px;
88
+ margin-bottom: 20px;
89
+ &:nth-child(2n) {
90
+ margin-left: 20px;
91
+ }
92
+ }
93
+ }
94
+ }
79
95
  }
80
96
  &.es-nav-biserial {
81
97
  position: relative;
82
98
  .es-nav-main {
83
99
  position: absolute;
84
- left: $--nav-initial-width;
85
100
  top: 0;
86
101
  bottom: 0;
87
102
  }
@@ -89,4 +104,18 @@
89
104
  margin-right: 0;
90
105
  }
91
106
  }
107
+ .es-sets-button {
108
+ position: fixed;
109
+ top: 100px;
110
+ left: 0;
111
+ z-index: 2;
112
+ border-radius: 50%;
113
+ box-shadow: $--box-shadow-base;
114
+
115
+ .el-button {
116
+ font-size: 22px;
117
+ padding: 8px;
118
+ cursor: move;
119
+ }
120
+ }
92
121
  }
@@ -376,7 +376,7 @@ export default {
376
376
  if (Object.prototype.hasOwnProperty.call(this.search, 'value')) {
377
377
  this.searchValue = this.search.value;
378
378
  }
379
- this.getTreeData(param);
379
+ this.getTreeData(this.param);
380
380
  },
381
381
  mounted() {},
382
382
  methods: {
@@ -393,9 +393,9 @@ export default {
393
393
  },
394
394
  //获取树节点
395
395
  getTreeDatas(param) {
396
- this.loading = true;
397
396
  let params = util.extend({}, this.param, this.where, param);
398
397
  if (!this.url || !this.isRemote) return;
398
+ this.loading = true;
399
399
  util
400
400
  .ajax({
401
401
  url: this.url,
package/src/index.js CHANGED
@@ -121,7 +121,7 @@ if (typeof window !== 'undefined' && window.Vue) {
121
121
  }
122
122
 
123
123
  export default {
124
- version: '0.5.71',
124
+ version: '0.5.73',
125
125
  install,
126
126
  Button,
127
127
  ButtonGroup,