bfg-common 1.3.235 → 1.3.236
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/components/common/diagramMain/DiagramMain.vue +2 -1
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +1 -1
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +1 -1
- package/components/common/diagramMain/port/Port.vue +16 -0
- package/package.json +1 -1
|
@@ -713,10 +713,11 @@ const countNetworksPositions = (): UI_I_NetworksWithPositions[] => {
|
|
|
713
713
|
{
|
|
714
714
|
id: network.sysx?.id,
|
|
715
715
|
name: `${network.sysx?.id} ${
|
|
716
|
-
|
|
716
|
+
network.sysx.ipv4_settings.ipv4
|
|
717
717
|
? `: ${network.sysx.ipv4_settings.ipv4}`
|
|
718
718
|
: ''
|
|
719
719
|
}`,
|
|
720
|
+
state: network.sysx.state,
|
|
720
721
|
portPosition:
|
|
721
722
|
portsPosition + UI_E_PositionsY.SINGLE_PORT_HEIGHT,
|
|
722
723
|
},
|
|
@@ -166,7 +166,7 @@ const setMessageOnChangedField = (
|
|
|
166
166
|
name: UI_T_PortPropertiesFieldName,
|
|
167
167
|
text: string
|
|
168
168
|
) => {
|
|
169
|
-
if (values[index] >= 1280 && values[index] <=
|
|
169
|
+
if (values[index] >= 1280 && values[index] <= 65535) {
|
|
170
170
|
changeErrorMessage('', name)
|
|
171
171
|
} else {
|
|
172
172
|
changeErrorMessage(text, name)
|
|
@@ -39,6 +39,13 @@
|
|
|
39
39
|
:id="`port_${props.port.id}`"
|
|
40
40
|
>
|
|
41
41
|
{{ props.port.name }}
|
|
42
|
+
<span
|
|
43
|
+
v-if="props.port.state.state === 3"
|
|
44
|
+
class="port-state-icon-container"
|
|
45
|
+
:title="props.port.state.errors?.[0] || ''"
|
|
46
|
+
>
|
|
47
|
+
<atoms-the-icon name="warning" width="15" height="15" />
|
|
48
|
+
</span>
|
|
42
49
|
</span>
|
|
43
50
|
</foreignObject>
|
|
44
51
|
</a>
|
|
@@ -367,4 +374,13 @@ const onSelectPort = (networkId: string, portId: string): void => {
|
|
|
367
374
|
text-decoration: solid underline #565656 1px;
|
|
368
375
|
}
|
|
369
376
|
}
|
|
377
|
+
|
|
378
|
+
.port-state-icon-container {
|
|
379
|
+
position: absolute;
|
|
380
|
+
top: 4px;
|
|
381
|
+
|
|
382
|
+
//&:hover {
|
|
383
|
+
// transform: scale(1.2);
|
|
384
|
+
//}
|
|
385
|
+
}
|
|
370
386
|
</style>
|