eoss-ui 0.5.37 → 0.5.39
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.
- package/CHANGELOG.md +929 -0
- package/lib/eoss-ui.common.js +89 -48
- package/lib/flow-group.js +33 -9
- package/lib/flow.js +18 -4
- package/lib/index.js +1 -1
- package/lib/theme-chalk/flow-group.css +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tree-group.js +22 -19
- package/package.json +1 -1
- package/packages/flow/src/main.vue +18 -2
- package/packages/flow-group/src/main.vue +28 -7
- package/packages/theme-chalk/lib/flow-group.css +1 -1
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/flow-group.scss +3 -1
- package/packages/theme-chalk/src/flow.scss +10 -9
- package/packages/tree-group/src/main.vue +23 -21
- package/src/index.js +1 -1
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
flex-direction: column;
|
|
24
24
|
padding-bottom: 12px;
|
|
25
25
|
justify-content: space-between;
|
|
26
|
-
|
|
26
|
+
position: relative;
|
|
27
|
+
.em-flow-more-btn {
|
|
27
28
|
display: block;
|
|
28
29
|
width: 100%;
|
|
29
30
|
}
|
|
@@ -38,12 +39,12 @@
|
|
|
38
39
|
.es-flow-top {
|
|
39
40
|
height: 350px;
|
|
40
41
|
.es-flow-title {
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
align-items: center;
|
|
44
42
|
height: 40px;
|
|
43
|
+
line-height: 40px;
|
|
45
44
|
.es-icon {
|
|
46
|
-
|
|
45
|
+
position: absolute;
|
|
46
|
+
right: 8px;
|
|
47
|
+
top: 4px;
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
.es-opinion {
|
|
@@ -84,10 +85,10 @@
|
|
|
84
85
|
height: 24px;
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
.es-flow-btn:hover{
|
|
88
|
-
background-color: #
|
|
89
|
-
color
|
|
90
|
-
|
|
88
|
+
.es-flow-btn:hover {
|
|
89
|
+
background-color: #f5f5f5;
|
|
90
|
+
color: $--color-primary;
|
|
91
|
+
::v-deep .el-popover {
|
|
91
92
|
padding: 12px 0px !important;
|
|
92
93
|
}
|
|
93
94
|
}
|
|
@@ -231,28 +231,31 @@ export default {
|
|
|
231
231
|
return this.name ? this.name : util.uuid(16);
|
|
232
232
|
},
|
|
233
233
|
method() {
|
|
234
|
+
let src = this.src;
|
|
234
235
|
this.refresh = false;
|
|
235
|
-
if (src
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
236
|
+
if (src) {
|
|
237
|
+
if (src.indexOf('//:') === 0) {
|
|
238
|
+
return 'wujie';
|
|
239
|
+
} else if (
|
|
240
|
+
src.indexOf('dhtml') > -1 ||
|
|
241
|
+
(src.indexOf('html') > -1 && src.indexOf('html#') === -1)
|
|
242
|
+
) {
|
|
243
|
+
return 'iframe';
|
|
244
|
+
} else {
|
|
245
|
+
const routes = this.$router.options.routes;
|
|
246
|
+
if (routes) {
|
|
247
|
+
let path = this.hasRouter(routes, src);
|
|
248
|
+
if (path) {
|
|
249
|
+
this.refresh = true;
|
|
250
|
+
let index = decodeURI(src).indexOf('?');
|
|
251
|
+
path = path + (index > -1 ? src.slice(index) : '');
|
|
252
|
+
this.$router.push(path);
|
|
253
|
+
return 'router';
|
|
254
|
+
}
|
|
252
255
|
}
|
|
256
|
+
this.refresh = true;
|
|
257
|
+
return 'wujie';
|
|
253
258
|
}
|
|
254
|
-
this.refresh = true;
|
|
255
|
-
return 'wujie';
|
|
256
259
|
}
|
|
257
260
|
},
|
|
258
261
|
param() {
|
|
@@ -309,7 +312,6 @@ export default {
|
|
|
309
312
|
if (oldVal && val && val.url !== oldVal.url) {
|
|
310
313
|
this.count++;
|
|
311
314
|
}
|
|
312
|
-
|
|
313
315
|
},
|
|
314
316
|
deep: true,
|
|
315
317
|
immediate: true
|
|
@@ -354,7 +356,7 @@ export default {
|
|
|
354
356
|
return null;
|
|
355
357
|
}
|
|
356
358
|
if (
|
|
357
|
-
this.enterprise ||
|
|
359
|
+
(this.enterprise && JSON.stringify(this.enterprise) != '{}') ||
|
|
358
360
|
(this.tabs &&
|
|
359
361
|
this.tabs.length &&
|
|
360
362
|
this.tabs[Number(this.active)].enterprise)
|