bfg-common 1.5.48 → 1.5.50
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 +1 -2
- package/assets/localization/local_en.json +1 -2
- package/assets/localization/local_hy.json +1 -2
- package/assets/localization/local_kk.json +1 -2
- package/assets/localization/local_ru.json +2 -3
- package/assets/localization/local_zh.json +1 -2
- package/assets/scss/clarity/local_ar.json +1 -1
- package/assets/scss/common/global.scss +14 -12
- 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/mainNavigationPanel/MainNavigationPanelNew.vue +0 -9
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1040 -1040
- package/components/common/split/horizontal/HorizontalNew.vue +4 -4
- package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +11 -4
- package/package.json +2 -2
- package/plugins/recursion.ts +3 -17
|
@@ -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);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="select-compatibility">
|
|
3
3
|
<p class="select-compatibility-block">
|
|
4
|
-
{{
|
|
5
|
-
localization.common.hostSupportsMoreVirtualMachineVersionSelectCompatibilityVirtualMachine
|
|
6
|
-
}}
|
|
4
|
+
{{ description }}
|
|
7
5
|
</p>
|
|
8
6
|
<div class="select-compatibility-block version-select-wrap">
|
|
9
|
-
<label for="version-select"
|
|
7
|
+
<label for="version-select"
|
|
8
|
+
>{{ localization.common.compatibleWith }}:</label
|
|
9
|
+
>
|
|
10
10
|
|
|
11
11
|
<atoms-tooltip-error
|
|
12
12
|
:has-error="!!apiError"
|
|
@@ -86,6 +86,13 @@ watch(
|
|
|
86
86
|
{ immediate: true }
|
|
87
87
|
)
|
|
88
88
|
|
|
89
|
+
const config = useRuntimeConfig()
|
|
90
|
+
const description = computed<string>(() => {
|
|
91
|
+
return localization.value.common.hostSupportsMoreVirtualMachineVersionSelectCompatibilityVirtualMachine.replaceAll(
|
|
92
|
+
'{trademark}',
|
|
93
|
+
config.public[`TRADEMARK_${useEnvLanguage()}`]
|
|
94
|
+
)
|
|
95
|
+
})
|
|
89
96
|
const versionDescription = computed<string>(() => {
|
|
90
97
|
if (!selectedVersion.value) return ''
|
|
91
98
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bfg-common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.50",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "nuxt build",
|
|
7
7
|
"dev": "nuxt dev --port=3002",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@vueuse/components": "^10.1.2",
|
|
36
36
|
"date-fns": "^2.29.3",
|
|
37
37
|
"bfg-nuxt-3-graph": "1.0.22",
|
|
38
|
-
"bfg-uikit": "1.0.
|
|
38
|
+
"bfg-uikit": "1.0.403",
|
|
39
39
|
"html2canvas": "^1.4.1",
|
|
40
40
|
"prettier-eslint": "^15.0.1"
|
|
41
41
|
}
|
package/plugins/recursion.ts
CHANGED
|
@@ -317,30 +317,16 @@ export default defineNuxtPlugin(() => {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
self.calcCount = function (
|
|
321
|
-
arr: any[],
|
|
322
|
-
itemsProp: string,
|
|
323
|
-
value?: any[],
|
|
324
|
-
valueProps?: string[]
|
|
325
|
-
): number {
|
|
320
|
+
self.calcCount = function (arr: any[], itemsProp: string): number {
|
|
326
321
|
if (!arr) return 0
|
|
327
322
|
let res = 0
|
|
328
323
|
|
|
329
324
|
for (let i = 0; i < arr.length; i++) {
|
|
330
325
|
const item: any = arr[i]
|
|
331
|
-
|
|
332
|
-
if (value && valueProps) {
|
|
333
|
-
valueProps.forEach((valueProp) => {
|
|
334
|
-
if (value.includes(item[valueProp])) {
|
|
335
|
-
res++
|
|
336
|
-
}
|
|
337
|
-
})
|
|
338
|
-
} else {
|
|
339
|
-
res++
|
|
340
|
-
}
|
|
326
|
+
res++
|
|
341
327
|
|
|
342
328
|
if (item[itemsProp]?.length) {
|
|
343
|
-
res += self.calcCount(item[itemsProp], itemsProp
|
|
329
|
+
res += self.calcCount(item[itemsProp], itemsProp)
|
|
344
330
|
}
|
|
345
331
|
}
|
|
346
332
|
return res
|