bfg-common 1.2.78 → 1.2.80
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/localization/local_en.json +5 -1
- package/components/atoms/collapse/CollapseNav.vue +14 -9
- package/components/common/diagramMain/Header.vue +2 -1
- package/components/common/diagramMain/modals/config/networkModal.ts +5 -3
- package/components/common/wizards/vm/migrate/Migrate.vue +10 -0
- package/package.json +1 -1
|
@@ -2080,5 +2080,9 @@
|
|
|
2080
2080
|
"browserOutDateDesc": "This may cause {0} to work slowly or experience errors. Update your browser or install one of the following:",
|
|
2081
2081
|
"browserOutDateDesc2": "You can also use the",
|
|
2082
2082
|
"browserOutDateDesc3": "mobile version of the website",
|
|
2083
|
-
"theDateOnHostAndBrowserDifferent": "The date on the host and in the web browser is different"
|
|
2083
|
+
"theDateOnHostAndBrowserDifferent": "The date on the host and in the web browser is different",
|
|
2084
|
+
"selectMigrationType": "Select a migration type",
|
|
2085
|
+
"selectNetworks": "Select Networks",
|
|
2086
|
+
"selectVMotionPriority": "Select vMotion priority",
|
|
2087
|
+
"selectTargetVCenterSer": "Select a target vCenter Ser"
|
|
2084
2088
|
}
|
|
@@ -53,14 +53,19 @@
|
|
|
53
53
|
<script setup lang="ts">
|
|
54
54
|
import { UI_I_CollapseNavItem } from '~/components/atoms/collapse/models/interfaces'
|
|
55
55
|
|
|
56
|
-
const props =
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
const props = withDefaults(
|
|
57
|
+
defineProps<{
|
|
58
|
+
items: UI_I_CollapseNavItem[]
|
|
59
|
+
isLink?: boolean
|
|
60
|
+
value?: number | string
|
|
61
|
+
popupClass?: string
|
|
62
|
+
closeAfterClick?: boolean
|
|
63
|
+
testId?: string
|
|
64
|
+
}>(),
|
|
65
|
+
{
|
|
66
|
+
testId: '',
|
|
67
|
+
}
|
|
68
|
+
)
|
|
64
69
|
const emits = defineEmits<{
|
|
65
70
|
(event: 'change', value: number): void
|
|
66
71
|
(event: 'select-file', value1: Event, value2: string): void
|
|
@@ -95,7 +100,7 @@ const showMenu = (): void => {
|
|
|
95
100
|
|
|
96
101
|
open.value = true
|
|
97
102
|
|
|
98
|
-
const btn = document.querySelector(`#${collapsedBtnId.value}`)
|
|
103
|
+
const btn = document.querySelector(`#${props.testId || collapsedBtnId.value}`)
|
|
99
104
|
const { top, height, right } = btn!.getBoundingClientRect()
|
|
100
105
|
dropdownMenuStyles.value = {
|
|
101
106
|
top: `${top + height}px`,
|
|
@@ -101,6 +101,7 @@ const onShowModal = (modalName: string) => emits('show-modal', modalName)
|
|
|
101
101
|
&-left {
|
|
102
102
|
display: flex;
|
|
103
103
|
flex-wrap: nowrap;
|
|
104
|
+
color: #49AFD9;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
&__arrow-icon {
|
|
@@ -130,7 +131,7 @@ const onShowModal = (modalName: string) => emits('show-modal', modalName)
|
|
|
130
131
|
white-space: nowrap;
|
|
131
132
|
text-align: center;
|
|
132
133
|
text-transform: uppercase;
|
|
133
|
-
color: #
|
|
134
|
+
color: #49AFD9;
|
|
134
135
|
line-height: 20px;
|
|
135
136
|
max-height: 16.8px;
|
|
136
137
|
padding: 0 14px;
|
|
@@ -253,11 +253,13 @@ export const networkPopupFieldsFunc = (
|
|
|
253
253
|
id: string,
|
|
254
254
|
inPortlet = false
|
|
255
255
|
) => {
|
|
256
|
+
const formattedId = id.replace(' ', '_')
|
|
257
|
+
|
|
256
258
|
const inPortletConfig = [
|
|
257
259
|
{
|
|
258
260
|
text: localization.viewSettings,
|
|
259
261
|
value: 'network-view-settings',
|
|
260
|
-
testId: `network-view-${
|
|
262
|
+
testId: `network-view-${formattedId}`,
|
|
261
263
|
},
|
|
262
264
|
// {
|
|
263
265
|
// text: localization.editSettings,
|
|
@@ -269,13 +271,13 @@ export const networkPopupFieldsFunc = (
|
|
|
269
271
|
{
|
|
270
272
|
text: localization.editSettings,
|
|
271
273
|
value: 'network-edit-settings',
|
|
272
|
-
testId: `network-edit-${
|
|
274
|
+
testId: `network-edit-${formattedId}`,
|
|
273
275
|
},
|
|
274
276
|
{ separate: true },
|
|
275
277
|
{
|
|
276
278
|
text: localization.remove,
|
|
277
279
|
value: 'network-port-remove',
|
|
278
|
-
testId: `network-remove-${
|
|
280
|
+
testId: `network-remove-${formattedId}`,
|
|
279
281
|
// networkType === '1' ? 'network-vkernel-remove' : 'network-port-remove',
|
|
280
282
|
},
|
|
281
283
|
]
|