bfg-common 1.5.54 → 1.5.55
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/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +9 -1
- package/assets/localization/local_en.json +9 -1
- package/assets/localization/local_hy.json +9 -1
- package/assets/localization/local_kk.json +9 -1
- package/assets/localization/local_ru.json +13 -3
- package/assets/localization/local_zh.json +9 -1
- package/components/common/browse/blocks/lib/models/types.ts +1 -1
- package/components/common/browse/lib/models/interfaces.ts +5 -5
- package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
- package/components/common/diagramMain/lib/config/initial.ts +50 -50
- package/components/common/diagramMain/lib/models/types.ts +21 -21
- package/components/common/diagramMain/lib/utils/utils.ts +331 -331
- package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
- package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
- package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
- package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
- package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
- package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
- package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
- package/components/common/diagramMain/port/Ports.vue +47 -47
- package/components/common/layout/theHeader/TheHeaderNew.vue +2 -2
- package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1040 -1040
- package/components/common/pages/home/StatusContent.vue +4 -1
- package/components/common/pages/home/resource/ResourceOld.vue +8 -2
- package/components/common/split/horizontal/HorizontalNew.vue +4 -4
- package/lib/models/interfaces.ts +1 -0
- package/lib/models/types.ts +1 -0
- package/package.json +1 -1
- package/plugins/recursion.ts +17 -3
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="entity-status-content">
|
|
3
3
|
<div v-for="(text, value) in props.items" :key="value" class="item">
|
|
4
|
-
<h3
|
|
4
|
+
<h3
|
|
5
|
+
class="entity-status-item-value"
|
|
6
|
+
:data-id="`entity-status-item-${value}`"
|
|
7
|
+
>
|
|
5
8
|
{{ text }}
|
|
6
9
|
</h3>
|
|
7
10
|
<div class="entity-status-item-status">
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
{{ localization.common[item.type] }}
|
|
13
13
|
</h3>
|
|
14
14
|
<div class="capacity-entity-metrics-content">
|
|
15
|
-
<h4
|
|
15
|
+
<h4
|
|
16
|
+
class="capacity-entity-free"
|
|
17
|
+
:data-id="`capacity-entity-free-${item.type}`"
|
|
18
|
+
>
|
|
16
19
|
{{ item.free.text }} {{ localization.common.free }}
|
|
17
20
|
</h4>
|
|
18
21
|
<progress
|
|
@@ -20,7 +23,10 @@
|
|
|
20
23
|
:max="item.capacity.value"
|
|
21
24
|
:value="item.used.value"
|
|
22
25
|
/>
|
|
23
|
-
<div
|
|
26
|
+
<div
|
|
27
|
+
class="capacity-entity-used"
|
|
28
|
+
:data-id="`capacity-entity-used-${item.type}`"
|
|
29
|
+
>
|
|
24
30
|
{{ item.used.text }}
|
|
25
31
|
{{ localization.common.used?.toLowerCase() }} |
|
|
26
32
|
{{ item.capacity.text }}
|
|
@@ -337,10 +337,10 @@ onUnmounted(() => {
|
|
|
337
337
|
z-index: calc(var(--z-default) + 2);
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
}
|
|
340
|
+
//&:focus {
|
|
341
|
+
//background-color: var(--gutter-active-bg-color);
|
|
342
|
+
//outline: none;
|
|
343
|
+
//}
|
|
344
344
|
|
|
345
345
|
&:hover {
|
|
346
346
|
background-color: var(--new-gutter-hover-bg-color);
|
package/lib/models/interfaces.ts
CHANGED
|
@@ -44,6 +44,7 @@ export interface UI_I_Localization {
|
|
|
44
44
|
feedback: UI_I_ArbitraryObject<string>
|
|
45
45
|
vsphereHa: UI_I_ArbitraryObject<string>
|
|
46
46
|
adapter: UI_I_ArbitraryObject<string>
|
|
47
|
+
bottomPanel: UI_I_ArbitraryObject<string>
|
|
47
48
|
}
|
|
48
49
|
export interface UI_I_SendTaskParams {
|
|
49
50
|
method: string
|
package/lib/models/types.ts
CHANGED
package/package.json
CHANGED
package/plugins/recursion.ts
CHANGED
|
@@ -317,16 +317,30 @@ export default defineNuxtPlugin(() => {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
self.calcCount = function (
|
|
320
|
+
self.calcCount = function (
|
|
321
|
+
arr: any[],
|
|
322
|
+
itemsProp: string,
|
|
323
|
+
value?: any[],
|
|
324
|
+
valueProps?: string[]
|
|
325
|
+
): number {
|
|
321
326
|
if (!arr) return 0
|
|
322
327
|
let res = 0
|
|
323
328
|
|
|
324
329
|
for (let i = 0; i < arr.length; i++) {
|
|
325
330
|
const item: any = arr[i]
|
|
326
|
-
|
|
331
|
+
|
|
332
|
+
if (value && valueProps) {
|
|
333
|
+
valueProps.forEach((valueProp) => {
|
|
334
|
+
if (value.includes(item[valueProp])) {
|
|
335
|
+
res++
|
|
336
|
+
}
|
|
337
|
+
})
|
|
338
|
+
} else {
|
|
339
|
+
res++
|
|
340
|
+
}
|
|
327
341
|
|
|
328
342
|
if (item[itemsProp]?.length) {
|
|
329
|
-
res += self.calcCount(item[itemsProp], itemsProp)
|
|
343
|
+
res += self.calcCount(item[itemsProp], itemsProp, value, valueProps)
|
|
330
344
|
}
|
|
331
345
|
}
|
|
332
346
|
return res
|