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.
@@ -713,10 +713,11 @@ const countNetworksPositions = (): UI_I_NetworksWithPositions[] => {
713
713
  {
714
714
  id: network.sysx?.id,
715
715
  name: `${network.sysx?.id} ${
716
- !network.sysx.ipv4_settings.auto
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
  },
@@ -128,7 +128,7 @@ const setMessageOnChangedField = (
128
128
  name: UI_T_PortPropertiesFieldName,
129
129
  text: string
130
130
  ) => {
131
- if (values < 1280 || values > 9000) {
131
+ if (values < 1280 || values > 65535) {
132
132
  changeErrorMessage(text, name)
133
133
  return
134
134
  }
@@ -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] <= 9000) {
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>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.235",
4
+ "version": "1.3.236",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",