bfg-common 1.3.277 → 1.3.278
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.
|
@@ -20,25 +20,24 @@
|
|
|
20
20
|
:hide="!isSelectedAdapter"
|
|
21
21
|
/>
|
|
22
22
|
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
<foreignObject
|
|
24
|
+
dy="11px"
|
|
25
|
+
height="20"
|
|
26
|
+
width="198"
|
|
27
|
+
x="482"
|
|
28
|
+
:y="props.adapter.adapterPosition"
|
|
29
|
+
class="diagram__values"
|
|
30
30
|
>
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class="diagram__values"
|
|
31
|
+
<span
|
|
32
|
+
:id="`adapter-${props.adapter.id}`"
|
|
33
|
+
:data-id="`${props.adapter.testId}-select`"
|
|
34
|
+
data-title="adapter-name"
|
|
35
|
+
class="adapter-name text-ellipsis"
|
|
36
|
+
@click="onSelectAdapter(props.adapter.id)"
|
|
38
37
|
>
|
|
39
38
|
{{ adapterName }}
|
|
40
|
-
</
|
|
41
|
-
</
|
|
39
|
+
</span>
|
|
40
|
+
</foreignObject>
|
|
42
41
|
|
|
43
42
|
<foreignObject
|
|
44
43
|
v-if="!props.adapter.carrier"
|
|
@@ -218,6 +217,31 @@ const onShowModal = (
|
|
|
218
217
|
.adapter-name {
|
|
219
218
|
fill: #c1cdd4;
|
|
220
219
|
}
|
|
220
|
+
|
|
221
|
+
.text-ellipsis {
|
|
222
|
+
color: #c1cdd4;
|
|
223
|
+
|
|
224
|
+
&:hover {
|
|
225
|
+
color: #c1cdd4;
|
|
226
|
+
text-decoration: solid underline #c1cdd4 1px;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.text-ellipsis {
|
|
232
|
+
display: block;
|
|
233
|
+
max-width: 198px;
|
|
234
|
+
text-overflow: ellipsis;
|
|
235
|
+
overflow: hidden;
|
|
236
|
+
white-space: nowrap;
|
|
237
|
+
font-weight: 400;
|
|
238
|
+
font-size: 12px;
|
|
239
|
+
color: #565656;
|
|
240
|
+
|
|
241
|
+
&:hover {
|
|
242
|
+
color: #565656;
|
|
243
|
+
text-decoration: solid underline #565656 1px;
|
|
244
|
+
}
|
|
221
245
|
}
|
|
222
246
|
|
|
223
247
|
.diagram {
|
|
@@ -242,5 +266,9 @@ const onShowModal = (
|
|
|
242
266
|
|
|
243
267
|
.adapter-name {
|
|
244
268
|
fill: #565656;
|
|
269
|
+
font-size: 12px;
|
|
270
|
+
font-weight: 400;
|
|
271
|
+
cursor: pointer;
|
|
272
|
+
line-height: normal;
|
|
245
273
|
}
|
|
246
274
|
</style>
|
|
@@ -35,18 +35,22 @@
|
|
|
35
35
|
{{ localization.physicalAdapters }}
|
|
36
36
|
</text>
|
|
37
37
|
|
|
38
|
-
<
|
|
38
|
+
<foreignObject
|
|
39
39
|
v-if="!hasAdapters"
|
|
40
40
|
data-title="no-adapter-text"
|
|
41
41
|
dy="11px"
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
height="20"
|
|
43
|
+
width="230"
|
|
44
44
|
x="462"
|
|
45
45
|
y="53"
|
|
46
|
-
class="no-physical-adapters"
|
|
47
46
|
>
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
<span
|
|
48
|
+
data-title="no-physical-adapters"
|
|
49
|
+
class="no-physical-adapters text-ellipsis"
|
|
50
|
+
>
|
|
51
|
+
{{ localization.noPhysicalNetworkAdapters }}
|
|
52
|
+
</span>
|
|
53
|
+
</foreignObject>
|
|
50
54
|
</g>
|
|
51
55
|
</template>
|
|
52
56
|
|
|
@@ -86,6 +90,20 @@ const onToggleAdapters = (networkId: string, portId: string): void => {
|
|
|
86
90
|
.no-physical-adapters {
|
|
87
91
|
fill: #c1cdd4;
|
|
88
92
|
}
|
|
93
|
+
.text-ellipsis {
|
|
94
|
+
color: #c1cdd4;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.text-ellipsis {
|
|
99
|
+
display: block;
|
|
100
|
+
max-width: 230px;
|
|
101
|
+
text-overflow: ellipsis;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
white-space: nowrap;
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
color: #565656;
|
|
89
107
|
}
|
|
90
108
|
|
|
91
109
|
.virtual-switch__arrow-icon {
|
|
@@ -108,5 +126,8 @@ const onToggleAdapters = (networkId: string, portId: string): void => {
|
|
|
108
126
|
}
|
|
109
127
|
.no-physical-adapters {
|
|
110
128
|
fill: #565656;
|
|
129
|
+
font-size: 13px;
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
line-height: normal;
|
|
111
132
|
}
|
|
112
133
|
</style>
|
|
@@ -29,37 +29,35 @@
|
|
|
29
29
|
<foreignObject
|
|
30
30
|
data-title="network-name-text"
|
|
31
31
|
height="20"
|
|
32
|
-
width="
|
|
33
|
-
x="
|
|
32
|
+
width="226"
|
|
33
|
+
x="22"
|
|
34
34
|
:y="portTitlePosition"
|
|
35
35
|
class="diagram__values"
|
|
36
36
|
>
|
|
37
37
|
<span
|
|
38
|
-
|
|
38
|
+
v-if="props.port.state?.state === 2 || props.port.state?.state === 3"
|
|
39
|
+
class="port-state-icon-container"
|
|
40
|
+
:title="props.port.state?.errors?.[0] || ''"
|
|
41
|
+
>
|
|
42
|
+
<atoms-the-icon
|
|
43
|
+
v-if="props.port.state?.state === 2"
|
|
44
|
+
name="warning"
|
|
45
|
+
width="15"
|
|
46
|
+
height="15"
|
|
47
|
+
/>
|
|
48
|
+
<atoms-the-icon
|
|
49
|
+
v-if="props.port.state?.state === 3"
|
|
50
|
+
name="error-outline"
|
|
51
|
+
width="15"
|
|
52
|
+
height="15"
|
|
53
|
+
/>
|
|
54
|
+
</span>
|
|
55
|
+
<span
|
|
56
|
+
class="port-text text-ellipsis"
|
|
39
57
|
:title="props.port.name"
|
|
40
58
|
:id="`port_${props.port.id}`"
|
|
41
59
|
>
|
|
42
60
|
{{ props.port.name }}
|
|
43
|
-
<span
|
|
44
|
-
v-if="
|
|
45
|
-
props.port.state?.state === 2 || props.port.state?.state === 3
|
|
46
|
-
"
|
|
47
|
-
class="port-state-icon-container"
|
|
48
|
-
:title="props.port.state?.errors?.[0] || ''"
|
|
49
|
-
>
|
|
50
|
-
<atoms-the-icon
|
|
51
|
-
v-if="props.port.state?.state === 2"
|
|
52
|
-
name="warning"
|
|
53
|
-
width="15"
|
|
54
|
-
height="15"
|
|
55
|
-
/>
|
|
56
|
-
<atoms-the-icon
|
|
57
|
-
v-if="props.port.state?.state === 3"
|
|
58
|
-
name="error-outline"
|
|
59
|
-
width="15"
|
|
60
|
-
height="15"
|
|
61
|
-
/>
|
|
62
|
-
</span>
|
|
63
61
|
</span>
|
|
64
62
|
</foreignObject>
|
|
65
63
|
</a>
|
|
@@ -398,9 +396,10 @@ const onSelectPort = (networkId: string, portId: string): void => {
|
|
|
398
396
|
.port-state-icon-container {
|
|
399
397
|
position: absolute;
|
|
400
398
|
top: 4px;
|
|
399
|
+
left: 3px;
|
|
400
|
+
}
|
|
401
401
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
//}
|
|
402
|
+
.port-text {
|
|
403
|
+
padding-left: 20px;
|
|
405
404
|
}
|
|
406
405
|
</style>
|