bfg-common 1.6.66 → 1.6.67
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_be.json +9 -263
- package/assets/localization/local_en.json +27 -282
- package/assets/localization/local_hy.json +11 -265
- package/assets/localization/local_kk.json +9 -263
- package/assets/localization/local_ru.json +23 -277
- package/assets/localization/local_zh.json +9 -263
- package/assets/scss/common/global.scss +0 -11
- package/assets/scss/common/theme.scss +2 -2
- package/components/atoms/dropdown/dropdown/Dropdown.vue +170 -170
- package/components/atoms/dropdown/dropdown/lib/models/interfaces.ts +10 -10
- package/components/atoms/stack/StackBlock.vue +1 -1
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -2
- package/components/atoms/tooltip/TooltipError.vue +0 -3
- package/components/common/adapterManager/AdapterManagerNew.vue +0 -86
- package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +1 -1
- package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +1 -0
- package/components/common/adapterManager/ui/actions/bar/Bar.vue +0 -2
- package/components/common/adapterManager/ui/actions/bar/BarNew.vue +2 -3
- package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +0 -1
- package/components/common/certificate/CertificateInfo.vue +1 -7
- package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +0 -6
- package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +192 -219
- package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +4 -6
- package/components/common/configure/physicalAdapters/buttons/Buttons.vue +0 -1
- package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +1 -26
- package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +1 -30
- package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +0 -5
- package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +1 -12
- package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
- package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +5 -12
- package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +1 -4
- package/components/common/diagramMain/Diagram.vue +85 -167
- package/components/common/diagramMain/DiagramMain.vue +10 -34
- package/components/common/diagramMain/{header/HeaderOld.vue → Header.vue} +67 -78
- package/components/common/diagramMain/modals/Modals.vue +0 -4
- package/components/common/diagramMain/modals/editSettings/{confirmTeamingSettingsModal/ConfirmTeamingSettingsModalOld.vue → ConfirmTeamingSettingsModal.vue} +5 -2
- package/components/common/diagramMain/modals/editSettings/EditSettings.vue +102 -104
- package/components/common/diagramMain/modals/editSettings/{modal/EditSettingsModalOld.vue → EditSettingsModal.vue} +51 -12
- package/components/common/diagramMain/modals/editSettings/lib/models/interfaces.ts +0 -6
- package/components/common/diagramMain/modals/editSettings/tabs/{networkProperties/NetworkPropertiesOld.vue → NetworkProperties.vue} +113 -12
- package/components/common/diagramMain/modals/editSettings/tabs/{security/SecurityOld.vue → Security.vue} +48 -25
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +164 -0
- package/components/common/diagramMain/modals/editSettings/tabs/{teamingFailover/TeamingFailoverOld.vue → TeamingFailover.vue} +48 -11
- package/components/common/diagramMain/modals/editSettings/tabs/{trafficShaping/TrafficShapingOld.vue → TrafficShaping.vue} +134 -12
- package/components/common/diagramMain/modals/editSettings/tabs/port/{ipvFourSettings/IpvFourSettingsOld.vue → IpvFourSettings.vue} +152 -11
- package/components/common/diagramMain/modals/editSettings/tabs/port/{portProperties/PortPropertiesOld.vue → PortProperties.vue} +103 -12
- package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +2 -43
- package/components/common/diagramMain/modals/lib/config/index.ts +1 -2
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
- package/components/common/diagramMain/modals/lib/utils/index.ts +4 -34
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +1 -1
- package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
- package/components/common/layout/theHeader/modals/reconnect/New.vue +30 -38
- package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +9 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +0 -4
- package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +2 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +7 -11
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +1 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +5 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +5 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/lib/config/formatOptions.ts +1 -1
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +9 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +6 -9
- package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -3
- package/components/common/modals/Rename.vue +1 -3
- package/components/common/monitor/utilization/Old.vue +5 -5
- package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +253 -184
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +1 -1
- package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +0 -9
- package/components/common/pages/scheduledTasks/table/new/New.vue +10 -12
- package/components/common/pages/tasks/Tasks.vue +1 -4
- package/components/common/pages/tasks/table/Table.vue +23 -25
- package/components/common/readyToComplete/New.vue +0 -1
- package/components/common/split/vertical/New.vue +8 -42
- package/components/common/split/vertical/Old.vue +2 -31
- package/components/common/split/vertical/Vertical.vue +0 -4
- package/components/common/vm/actions/add/New.vue +6 -21
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +1 -14
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +0 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Old.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +0 -2
- package/components/common/vm/actions/common/select/options/New.vue +12 -14
- package/components/common/vm/actions/common/select/options/Old.vue +15 -16
- package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +15 -13
- package/components/common/vm/actions/confirm/Confirm.vue +0 -3
- package/components/common/vm/actions/rename/Old.vue +0 -1
- package/components/common/vm/snapshots/DetailView.vue +6 -6
- package/components/common/wizards/datastore/add/New.vue +0 -6
- package/components/common/wizards/datastore/add/lib/config/steps.ts +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
- package/components/common/wizards/network/add/Add.vue +2 -13
- package/components/common/wizards/network/add/AddNew.vue +26 -22
- package/components/common/wizards/network/add/lib/config/initialData.ts +4 -6
- package/components/common/wizards/network/add/lib/config/steps.ts +1 -1
- package/components/common/wizards/network/add/lib/models/interfaces.ts +0 -1
- package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
- package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue +1 -5
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +8 -2
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsOld.vue +0 -3
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +8 -2
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesOld.vue +2 -6
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +3 -10
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue +0 -4
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +1 -5
- package/components/common/wizards/network/add/validations/common.ts +1 -1
- package/components/common/wizards/vm/migrate/New.vue +3 -13
- package/components/common/wizards/vm/migrate/lib/config/constructDataReady.ts +0 -5
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +2 -3
- package/components/common/wizards/vm/migrate/steps/computeResource/New.vue +1 -2
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +21 -40
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +14 -44
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/models/enums.ts +0 -4
- package/components/common/wizards/vm/migrate/steps/priority/New.vue +2 -7
- package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +7 -22
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +0 -6
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +1 -4
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/lib/config/datastoreTable.ts +16 -12
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/New.vue +5 -10
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +11 -16
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +1 -7
- package/components/common/wizards/vm/migrate/steps/selectStorage/selectedPerDisk/New.vue +10 -17
- package/components/common/wizards/vm/migrate/steps/type/TypeNew.vue +0 -1
- package/components/common/wizards/vm/migrate/vmOrigin/New.vue +15 -35
- package/lib/models/store/tasks/enums.ts +0 -3
- package/lib/models/store/tasks/types.ts +6 -7
- package/package.json +2 -2
- package/plugins/directives.ts +5 -3
- package/public/spice-console/application/agent.js +17 -18
- package/store/tasks/actions.ts +8 -26
- package/store/tasks/mappers/recentTasks.ts +0 -1
- package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +0 -19
- package/components/common/diagramMain/header/Header.vue +0 -49
- package/components/common/diagramMain/header/HeaderNew.vue +0 -155
- package/components/common/diagramMain/modals/UnsavedChangesModal.vue +0 -32
- package/components/common/diagramMain/modals/editSettings/EditSettingsNew.vue +0 -285
- package/components/common/diagramMain/modals/editSettings/EditSettingsOld.vue +0 -254
- package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModal.vue +0 -31
- package/components/common/diagramMain/modals/editSettings/confirmTeamingSettingsModal/ConfirmTeamingSettingsModalNew.vue +0 -82
- package/components/common/diagramMain/modals/editSettings/lib/config/config.ts +0 -15
- package/components/common/diagramMain/modals/editSettings/lib/utils/utils.ts +0 -177
- package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModal.vue +0 -137
- package/components/common/diagramMain/modals/editSettings/modal/EditSettingsModalNew.vue +0 -91
- package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkProperties.vue +0 -158
- package/components/common/diagramMain/modals/editSettings/tabs/networkProperties/NetworkPropertiesNew.vue +0 -262
- package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettings.vue +0 -192
- package/components/common/diagramMain/modals/editSettings/tabs/port/ipvFourSettings/IpvFourSettingsNew.vue +0 -388
- package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortProperties.vue +0 -139
- package/components/common/diagramMain/modals/editSettings/tabs/port/portProperties/PortPropertiesNew.vue +0 -286
- package/components/common/diagramMain/modals/editSettings/tabs/security/Security.vue +0 -209
- package/components/common/diagramMain/modals/editSettings/tabs/security/SecurityNew.vue +0 -233
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchProperties.vue +0 -128
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesNew.vue +0 -235
- package/components/common/diagramMain/modals/editSettings/tabs/switchProperties/SwitchPropertiesOld.vue +0 -87
- package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailover.vue +0 -99
- package/components/common/diagramMain/modals/editSettings/tabs/teamingFailover/TeamingFailoverNew.vue +0 -319
- package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShaping.vue +0 -173
- package/components/common/diagramMain/modals/editSettings/tabs/trafficShaping/TrafficShapingNew.vue +0 -348
- package/components/common/diagramMain/skeleton/Header.vue +0 -31
- package/components/common/diagramMain/skeleton/Switch.vue +0 -75
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +0 -340
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
>
|
|
8
8
|
<tbody>
|
|
9
9
|
<tr>
|
|
10
|
-
<td class="left"
|
|
10
|
+
<td class="left">{{ localization.common.name }}</td>
|
|
11
11
|
<td class="left snapshot-name-label" data-id="vm-snapshot-name">
|
|
12
12
|
{{ detailData.name }}
|
|
13
13
|
</td>
|
|
14
14
|
</tr>
|
|
15
15
|
<tr>
|
|
16
|
-
<td class="left"
|
|
16
|
+
<td class="left">{{ localization.common.description }}</td>
|
|
17
17
|
<td
|
|
18
18
|
class="left snapshot-name-label"
|
|
19
19
|
data-id="vm-snapshot-description"
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
</td>
|
|
23
23
|
</tr>
|
|
24
24
|
<tr>
|
|
25
|
-
<td class="left"
|
|
25
|
+
<td class="left">{{ localization.snapshots.timestamp }}</td>
|
|
26
26
|
<td class="left snapshot-name-label" data-id="vm-snapshot-timestamp">
|
|
27
27
|
{{ detailData.timestamp }}
|
|
28
28
|
</td>
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
|
-
<td class="left"
|
|
31
|
+
<td class="left">{{ localization.common.size }}</td>
|
|
32
32
|
<td class="left snapshot-name-label">{{ detailData.size }}</td>
|
|
33
33
|
</tr>
|
|
34
34
|
<tr>
|
|
35
|
-
<td class="left"
|
|
35
|
+
<td class="left">
|
|
36
36
|
{{ localization.common.snapshotTheVirtualMachinesMemory }}
|
|
37
37
|
</td>
|
|
38
38
|
<td class="left snapshot-name-label" data-id="vm-snapshot-of-memory">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</td>
|
|
41
41
|
</tr>
|
|
42
42
|
<tr>
|
|
43
|
-
<td class="left"
|
|
43
|
+
<td class="left">
|
|
44
44
|
{{ localization.common.quiesceGuestFileSystem }}
|
|
45
45
|
</td>
|
|
46
46
|
<td
|
|
@@ -256,10 +256,4 @@ const onCreateDatastore = (): void => emits('submit')
|
|
|
256
256
|
padding: 10px 12px;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
:deep(.ui-wizard-content-right-container) {
|
|
260
|
-
padding: 0 30px;
|
|
261
|
-
}
|
|
262
|
-
:deep(.ui-wizard-subtitle-container) + *, :deep(.ui-wizard-subtitle-container) {
|
|
263
|
-
padding-left: 2px;
|
|
264
|
-
}
|
|
265
259
|
</style>
|
|
@@ -130,7 +130,7 @@ export const stepsFunc = (
|
|
|
130
130
|
// },
|
|
131
131
|
{
|
|
132
132
|
id: dynamicSteps.readyComplete,
|
|
133
|
-
title: localization.
|
|
133
|
+
title: localization.common.readyComplete,
|
|
134
134
|
subTitle: localization.common.readyCompleteDatastoreDesc,
|
|
135
135
|
status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
136
136
|
fields: {},
|
|
@@ -618,20 +618,9 @@ const finalValidationFunc = async (
|
|
|
618
618
|
const stepId = wizard.getStepIdByFieldName(fieldName)
|
|
619
619
|
|
|
620
620
|
if (stepId !== -1) {
|
|
621
|
-
let message = ''
|
|
622
|
-
|
|
623
|
-
if (validationFields[fieldName]) {
|
|
624
|
-
message = `${validationFields[
|
|
625
|
-
fieldName
|
|
626
|
-
][0].toUpperCase()}${validationFields[fieldName].substring(1)}`
|
|
627
|
-
|
|
628
|
-
message =
|
|
629
|
-
message.charAt(message.length - 1) !== '.' ? message + '.' : message
|
|
630
|
-
}
|
|
631
|
-
|
|
632
621
|
stepHasError = wizard.setValidation(stepId, fieldName, {
|
|
633
|
-
fieldMessage:
|
|
634
|
-
alertMessage:
|
|
622
|
+
fieldMessage: validationFields[fieldName],
|
|
623
|
+
alertMessage: validationFields[fieldName],
|
|
635
624
|
})
|
|
636
625
|
}
|
|
637
626
|
}
|
|
@@ -44,21 +44,22 @@
|
|
|
44
44
|
>
|
|
45
45
|
<template #subTitle>
|
|
46
46
|
<div ref="selectTargetDeviceBlock">
|
|
47
|
-
<div class="
|
|
47
|
+
<div class="subtitle-block flex flex-col">
|
|
48
48
|
<template
|
|
49
49
|
v-for="(message, field, key) in selectedStep.fields"
|
|
50
50
|
:key="key"
|
|
51
51
|
>
|
|
52
52
|
<ui-alert
|
|
53
|
-
v-if="!!message.alert"
|
|
54
53
|
:messages="[message.alert]"
|
|
55
54
|
test-id="select-target-device-alert"
|
|
55
|
+
:class="{
|
|
56
|
+
'mb-4':
|
|
57
|
+
props.alertMessages[selectedStep.id].length - 1 === key,
|
|
58
|
+
}"
|
|
56
59
|
size="md"
|
|
57
60
|
@hide="emits('hide-alert', selectedStep.id, field)"
|
|
58
61
|
/>
|
|
59
62
|
</template>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="subtitle-block flex flex-col">
|
|
62
63
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
63
64
|
<ui-line margin="12px 0 0" />
|
|
64
65
|
</div>
|
|
@@ -88,21 +89,22 @@
|
|
|
88
89
|
>
|
|
89
90
|
<template #subTitle>
|
|
90
91
|
<div ref="createStandardSwitchBlock">
|
|
91
|
-
<div class="
|
|
92
|
+
<div class="subtitle-block flex flex-col">
|
|
92
93
|
<template
|
|
93
94
|
v-for="(message, field, key) in selectedStep.fields"
|
|
94
95
|
:key="key"
|
|
95
96
|
>
|
|
96
97
|
<ui-alert
|
|
97
|
-
v-if="!!message.alert"
|
|
98
98
|
:messages="[message.alert]"
|
|
99
99
|
test-id="create-standard-switch-alert"
|
|
100
|
+
:class="{
|
|
101
|
+
'mb-4':
|
|
102
|
+
props.alertMessages[selectedStep.id].length - 1 === key,
|
|
103
|
+
}"
|
|
100
104
|
size="md"
|
|
101
105
|
@hide="emits('hide-alert', selectedStep.id, field)"
|
|
102
106
|
/>
|
|
103
107
|
</template>
|
|
104
|
-
</div>
|
|
105
|
-
<div class="subtitle-block flex flex-col">
|
|
106
108
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
107
109
|
<ui-line margin="12px 0 0" />
|
|
108
110
|
</div>
|
|
@@ -144,21 +146,22 @@
|
|
|
144
146
|
>
|
|
145
147
|
<template #subTitle>
|
|
146
148
|
<div ref="portPropertiesBlock">
|
|
147
|
-
<div class="
|
|
149
|
+
<div class="subtitle-block flex flex-col">
|
|
148
150
|
<template
|
|
149
151
|
v-for="(message, field, key) in selectedStep.fields"
|
|
150
152
|
:key="key"
|
|
151
153
|
>
|
|
152
154
|
<ui-alert
|
|
153
|
-
v-if="!!message.alert"
|
|
154
155
|
:messages="[message.alert]"
|
|
155
156
|
test-id="port-properties-alert"
|
|
157
|
+
:class="{
|
|
158
|
+
'mb-4':
|
|
159
|
+
props.alertMessages[selectedStep.id].length - 1 === key,
|
|
160
|
+
}"
|
|
156
161
|
size="md"
|
|
157
162
|
@hide="emits('hide-alert', selectedStep.id, field)"
|
|
158
163
|
/>
|
|
159
164
|
</template>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="subtitle-block flex flex-col">
|
|
162
165
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
163
166
|
<ui-line margin="12px 0 0" />
|
|
164
167
|
</div>
|
|
@@ -187,21 +190,22 @@
|
|
|
187
190
|
>
|
|
188
191
|
<template #subTitle>
|
|
189
192
|
<div ref="ipFourSettingsBlock">
|
|
190
|
-
<div class="
|
|
193
|
+
<div class="subtitle-block flex flex-col">
|
|
191
194
|
<template
|
|
192
195
|
v-for="(message, field, key) in selectedStep.fields"
|
|
193
196
|
:key="key"
|
|
194
197
|
>
|
|
195
198
|
<ui-alert
|
|
196
|
-
v-if="!!message.alert"
|
|
197
199
|
:messages="[message.alert]"
|
|
198
200
|
test-id="ip-four-settings-alert"
|
|
201
|
+
:class="{
|
|
202
|
+
'mb-4':
|
|
203
|
+
props.alertMessages[selectedStep.id].length - 1 === key,
|
|
204
|
+
}"
|
|
199
205
|
size="md"
|
|
200
206
|
@hide="emits('hide-alert', selectedStep.id, field)"
|
|
201
207
|
/>
|
|
202
208
|
</template>
|
|
203
|
-
</div>
|
|
204
|
-
<div class="subtitle-block flex flex-col">
|
|
205
209
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
206
210
|
<ui-line margin="12px 0 0" />
|
|
207
211
|
</div>
|
|
@@ -229,21 +233,22 @@
|
|
|
229
233
|
>
|
|
230
234
|
<template #subTitle>
|
|
231
235
|
<div ref="connectionSettingsBlock">
|
|
232
|
-
<div class="
|
|
236
|
+
<div class="subtitle-block flex flex-col">
|
|
233
237
|
<template
|
|
234
238
|
v-for="(message, field, key) in selectedStep.fields"
|
|
235
239
|
:key="key"
|
|
236
240
|
>
|
|
237
241
|
<ui-alert
|
|
238
|
-
v-if="!!message.alert"
|
|
239
242
|
:messages="[message.alert]"
|
|
240
243
|
test-id="connection-settings-alert"
|
|
244
|
+
:class="{
|
|
245
|
+
'mb-4':
|
|
246
|
+
props.alertMessages[selectedStep.id].length - 1 === key,
|
|
247
|
+
}"
|
|
241
248
|
size="md"
|
|
242
249
|
@hide="emits('hide-alert', selectedStep.id, field)"
|
|
243
250
|
/>
|
|
244
251
|
</template>
|
|
245
|
-
</div>
|
|
246
|
-
<div class="subtitle-block flex flex-col">
|
|
247
252
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
248
253
|
<ui-line margin="12px 0 0" />
|
|
249
254
|
</div>
|
|
@@ -458,7 +463,6 @@ const onChangeSteps = async (value: UI_I_WizardStep[]): Promise<void> => {
|
|
|
458
463
|
}
|
|
459
464
|
:deep(.ui-wizard-content-with-subtitle) {
|
|
460
465
|
padding-right: 0;
|
|
461
|
-
scrollbar-gutter: unset;
|
|
462
466
|
}
|
|
463
467
|
}
|
|
464
468
|
|
|
@@ -473,7 +477,7 @@ const onChangeSteps = async (value: UI_I_WizardStep[]): Promise<void> => {
|
|
|
473
477
|
:deep(.ui-alert-item) {
|
|
474
478
|
margin-bottom: 12px;
|
|
475
479
|
|
|
476
|
-
|
|
480
|
+
&.mb-4 {
|
|
477
481
|
margin-bottom: 16px;
|
|
478
482
|
}
|
|
479
483
|
}
|
|
@@ -37,7 +37,7 @@ export const portPropertiesInitial = (
|
|
|
37
37
|
localization: UI_I_Localization
|
|
38
38
|
): UI_I_PortProperties => ({
|
|
39
39
|
networkLabel: '',
|
|
40
|
-
vlanId: `${localization.common.
|
|
40
|
+
vlanId: `${localization.common.none} (0)`,
|
|
41
41
|
mtu: {
|
|
42
42
|
option: '0',
|
|
43
43
|
size: 1500,
|
|
@@ -62,21 +62,19 @@ export const connectionSettingsInitial = (
|
|
|
62
62
|
localization: UI_I_Localization
|
|
63
63
|
): UI_I_ConnectionSettings => ({
|
|
64
64
|
networkLabel: 'VM Network',
|
|
65
|
-
vlanId: `${localization.common.
|
|
65
|
+
vlanId: `${localization.common.none} (0)`,
|
|
66
66
|
})
|
|
67
67
|
|
|
68
68
|
export const vlanIdSelectDataFunc = (
|
|
69
69
|
localization: UI_I_Localization
|
|
70
70
|
): UI_I_VlanIdData[] => [
|
|
71
71
|
{
|
|
72
|
-
text: `${localization.common.
|
|
73
|
-
value: `${localization.common.
|
|
74
|
-
testId: 'vlan-id-start'
|
|
72
|
+
text: `${localization.common.none} (0)`,
|
|
73
|
+
value: `${localization.common.none} (0)`,
|
|
75
74
|
},
|
|
76
75
|
{
|
|
77
76
|
text: `${localization.common.all} (4095)`,
|
|
78
77
|
value: `${localization.common.all} (4095)`,
|
|
79
|
-
testId: 'vlan-id-end'
|
|
80
78
|
},
|
|
81
79
|
]
|
|
82
80
|
|
|
@@ -145,7 +145,7 @@ export const stepsFunc = (
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
id: 7,
|
|
148
|
-
title: localization.
|
|
148
|
+
title: localization.common.readyComplete,
|
|
149
149
|
subTitle: localization.common.addNetworkingReadyCompleteSubtitle,
|
|
150
150
|
status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
151
151
|
fields: {},
|
package/components/common/wizards/network/add/steps/connectionSettings/ConnectionSettingsOld.vue
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
<fieldset>
|
|
19
19
|
<atoms-tooltip-error
|
|
20
20
|
:has-error="!!props.messagesFields.name.field"
|
|
21
|
-
test-id="network-label-error"
|
|
22
21
|
>
|
|
23
22
|
<template #elem>
|
|
24
23
|
<input
|
|
@@ -73,10 +72,7 @@
|
|
|
73
72
|
class="is-error tooltip-trigger"
|
|
74
73
|
name="info"
|
|
75
74
|
/>
|
|
76
|
-
<div
|
|
77
|
-
class="tooltip-top-left tooltip-content error"
|
|
78
|
-
data-id="vlan-id-error"
|
|
79
|
-
>
|
|
75
|
+
<div class="tooltip-top-left tooltip-content error">
|
|
80
76
|
{{ props.messagesFields.vlan.field }}
|
|
81
77
|
</div>
|
|
82
78
|
</div>
|
|
@@ -281,8 +281,14 @@ const fields = computed({
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
:deep(.ui-checkbox-label) {
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
text-overflow: ellipsis;
|
|
285
|
+
white-space: nowrap;
|
|
286
|
+
overflow: hidden;
|
|
287
|
+
|
|
288
|
+
.ui-checkbox-label-text {
|
|
289
|
+
text-overflow: ellipsis;
|
|
290
|
+
white-space: nowrap;
|
|
291
|
+
overflow: hidden;
|
|
286
292
|
}
|
|
287
293
|
}
|
|
288
294
|
.tooltip-text {
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
:has-error="
|
|
54
54
|
!!props.messagesFields['ipv4_settings.ipv4'].field
|
|
55
55
|
"
|
|
56
|
-
test-id="address-error"
|
|
57
56
|
>
|
|
58
57
|
<template #elem>
|
|
59
58
|
<input
|
|
@@ -89,7 +88,6 @@
|
|
|
89
88
|
:has-error="
|
|
90
89
|
!!props.messagesFields['ipv4_settings.mask'].field
|
|
91
90
|
"
|
|
92
|
-
test-id="mask-error"
|
|
93
91
|
>
|
|
94
92
|
<template #elem>
|
|
95
93
|
<input
|
|
@@ -144,7 +142,6 @@
|
|
|
144
142
|
:has-error="
|
|
145
143
|
!!props.messagesFields['ipv4_settings.gateway'].field
|
|
146
144
|
"
|
|
147
|
-
test-id="gateway-error"
|
|
148
145
|
>
|
|
149
146
|
<template #elem>
|
|
150
147
|
<input
|
|
@@ -299,8 +299,14 @@ const portPropertiesEnabledServices = computed<
|
|
|
299
299
|
padding: 0 8px 0 12px;
|
|
300
300
|
}
|
|
301
301
|
:deep(.ui-checkbox-label) {
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
text-overflow: ellipsis;
|
|
303
|
+
white-space: nowrap;
|
|
304
|
+
overflow: hidden;
|
|
305
|
+
|
|
306
|
+
.ui-checkbox-label-text {
|
|
307
|
+
text-overflow: ellipsis;
|
|
308
|
+
white-space: nowrap;
|
|
309
|
+
overflow: hidden;
|
|
304
310
|
}
|
|
305
311
|
}
|
|
306
312
|
</style>
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
<fieldset>
|
|
23
23
|
<atoms-tooltip-error
|
|
24
24
|
:has-error="!!props.messagesFields.network_name.field"
|
|
25
|
-
test-id="network-label-error"
|
|
26
25
|
>
|
|
27
26
|
<template #elem>
|
|
28
27
|
<input
|
|
@@ -78,7 +77,7 @@
|
|
|
78
77
|
class="is-error tooltip-trigger"
|
|
79
78
|
name="info"
|
|
80
79
|
/>
|
|
81
|
-
<div class="tooltip-top-left tooltip-content error"
|
|
80
|
+
<div class="tooltip-top-left tooltip-content error">
|
|
82
81
|
{{ props.messagesFields['new_network.vlan'].field }}
|
|
83
82
|
</div>
|
|
84
83
|
</div>
|
|
@@ -112,7 +111,6 @@
|
|
|
112
111
|
</div>
|
|
113
112
|
<atoms-tooltip-error
|
|
114
113
|
:has-error="!!props.messagesFields.mtu.field"
|
|
115
|
-
test-id="invalid-mtu-error"
|
|
116
114
|
>
|
|
117
115
|
<template #elem>
|
|
118
116
|
<input
|
|
@@ -241,9 +239,7 @@ const emits = defineEmits<{
|
|
|
241
239
|
}>()
|
|
242
240
|
|
|
243
241
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
244
|
-
const vlanIdSelectDataLocal = computed<UI_I_Localization>(() =>
|
|
245
|
-
vlanIdSelectDataFunc(localization.value)
|
|
246
|
-
)
|
|
242
|
+
const vlanIdSelectDataLocal = computed<UI_I_Localization>(() => vlanIdSelectDataFunc(localization.value))
|
|
247
243
|
|
|
248
244
|
const fields = computed({
|
|
249
245
|
get(): UI_I_PortProperties {
|
package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue
CHANGED
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
<template #row="{ item }">
|
|
104
104
|
<div v-if="item.iconName" class="browse-btn">
|
|
105
105
|
<ui-button
|
|
106
|
-
test-id="
|
|
106
|
+
test-id="button-1"
|
|
107
107
|
type="primary"
|
|
108
108
|
variant="text"
|
|
109
109
|
size="lg"
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
<template #row="{ item }">
|
|
155
155
|
<div v-if="item.iconName" class="browse-btn">
|
|
156
156
|
<ui-button
|
|
157
|
-
test-id="
|
|
157
|
+
test-id="button-1"
|
|
158
158
|
type="primary"
|
|
159
159
|
variant="text"
|
|
160
160
|
size="lg"
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
<template #row="{ item }">
|
|
204
204
|
<div v-if="item.iconName" class="browse-btn">
|
|
205
205
|
<ui-button
|
|
206
|
-
test-id="
|
|
206
|
+
test-id="button-1"
|
|
207
207
|
type="primary"
|
|
208
208
|
variant="text"
|
|
209
209
|
size="lg"
|
|
@@ -357,17 +357,10 @@ watch(
|
|
|
357
357
|
:deep(.ui-btn) {
|
|
358
358
|
justify-content: flex-start;
|
|
359
359
|
height: 32px;
|
|
360
|
-
overflow: hidden;
|
|
361
|
-
text-overflow: ellipsis;
|
|
362
|
-
white-space: nowrap;
|
|
363
|
-
width: 100%;
|
|
364
360
|
|
|
365
361
|
span {
|
|
366
362
|
text-align: left;
|
|
367
363
|
color: var(--select-text);
|
|
368
|
-
overflow: hidden;
|
|
369
|
-
text-overflow: ellipsis;
|
|
370
|
-
white-space: nowrap;
|
|
371
364
|
}
|
|
372
365
|
|
|
373
366
|
&:hover {
|
package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceOld.vue
CHANGED
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
fieldsLocal.selected === '0' &&
|
|
35
35
|
!!props.messagesFields.network.field
|
|
36
36
|
"
|
|
37
|
-
test-id="existing-network-error"
|
|
38
37
|
>
|
|
39
38
|
<template #elem>
|
|
40
39
|
<fieldset class="fieldset-block">
|
|
@@ -98,7 +97,6 @@
|
|
|
98
97
|
fieldsLocal.selected === '1' &&
|
|
99
98
|
!!props.messagesFields.switch.field
|
|
100
99
|
"
|
|
101
|
-
test-id="existing-standard-switch-error"
|
|
102
100
|
>
|
|
103
101
|
<template #elem>
|
|
104
102
|
<fieldset class="fieldset-block">
|
|
@@ -162,7 +160,6 @@
|
|
|
162
160
|
fieldsLocal.selected === '2' &&
|
|
163
161
|
!!props.messagesFields.switch2.field
|
|
164
162
|
"
|
|
165
|
-
test-id="standard-switch-error"
|
|
166
163
|
>
|
|
167
164
|
<template #elem>
|
|
168
165
|
<fieldset class="fieldset-block">
|
|
@@ -232,7 +229,6 @@
|
|
|
232
229
|
:has-error="
|
|
233
230
|
!!props.messagesFields['new_switch.mtu'].field
|
|
234
231
|
"
|
|
235
|
-
test-id="invalid-mtu-error"
|
|
236
232
|
>
|
|
237
233
|
<template #elem>
|
|
238
234
|
<input
|
package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue
CHANGED
|
@@ -46,7 +46,7 @@ import type {
|
|
|
46
46
|
UI_I_DataTable,
|
|
47
47
|
UI_I_DataTableHeader,
|
|
48
48
|
UI_I_DataTableBody,
|
|
49
|
-
UI_I_TableTexts
|
|
49
|
+
UI_I_TableTexts
|
|
50
50
|
} from '~/node_modules/bfg-uikit/components/ui/dataTable/lib/models/interfaces'
|
|
51
51
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
52
52
|
import type {
|
|
@@ -147,10 +147,6 @@ const onSelectNetwork = (): void => {
|
|
|
147
147
|
<style scoped lang="scss">
|
|
148
148
|
:deep(.table-container) {
|
|
149
149
|
padding: 8px 32px !important;
|
|
150
|
-
|
|
151
|
-
.column-manager-button span {
|
|
152
|
-
font-weight: 500;
|
|
153
|
-
}
|
|
154
150
|
}
|
|
155
151
|
|
|
156
152
|
.row-container {
|
|
@@ -21,7 +21,7 @@ export const checkVlanId = (
|
|
|
21
21
|
vlanId: string,
|
|
22
22
|
localization: UI_I_Localization
|
|
23
23
|
): boolean =>
|
|
24
|
-
vlanId !== `${localization.common.
|
|
24
|
+
vlanId !== `${localization.common.none} (0)` &&
|
|
25
25
|
vlanId !== `${localization.common.all} (4095)` &&
|
|
26
26
|
(isIntegerNumberInRange(vlanId, 0, 4095) || vlanId.trim() === '')
|
|
27
27
|
|
|
@@ -187,13 +187,8 @@
|
|
|
187
187
|
>
|
|
188
188
|
<template #subTitle>
|
|
189
189
|
<div ref="subTitleBlock6">
|
|
190
|
-
<div class="subtitle-block
|
|
190
|
+
<div class="subtitle-block">
|
|
191
191
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
192
|
-
|
|
193
|
-
<common-wizards-vm-migrate-vm-origin
|
|
194
|
-
v-if="props.vmOrigin"
|
|
195
|
-
:vm-origin="props.vmOrigin"
|
|
196
|
-
/>
|
|
197
192
|
</div>
|
|
198
193
|
</div>
|
|
199
194
|
</template>
|
|
@@ -212,13 +207,8 @@
|
|
|
212
207
|
>
|
|
213
208
|
<template #subTitle>
|
|
214
209
|
<div ref="subTitleBlock7">
|
|
215
|
-
<div class="subtitle-block
|
|
210
|
+
<div class="subtitle-block">
|
|
216
211
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
217
|
-
|
|
218
|
-
<common-wizards-vm-migrate-vm-origin
|
|
219
|
-
v-if="props.vmOrigin"
|
|
220
|
-
:vm-origin="props.vmOrigin"
|
|
221
|
-
/>
|
|
222
212
|
</div>
|
|
223
213
|
</div>
|
|
224
214
|
</template>
|
|
@@ -303,7 +293,7 @@ const texts = computed<UI_I_WizardTexts>(() => ({
|
|
|
303
293
|
back: localization.value.common.backCap,
|
|
304
294
|
processing: localization.value.common.processing,
|
|
305
295
|
next: localization.value.common.next,
|
|
306
|
-
finish: localization.value.common.
|
|
296
|
+
finish: localization.value.common.create,
|
|
307
297
|
incompleteTitle: localization.value.common.incompleteProcess,
|
|
308
298
|
incompleteMessage: localization.value.common.incompleteProcessMessage,
|
|
309
299
|
incompleteCancel: localization.value.common.cancel,
|
|
@@ -26,7 +26,6 @@ const migrateOnlyStorageDataView = (
|
|
|
26
26
|
label: localization.common.storage,
|
|
27
27
|
value: storage?.name,
|
|
28
28
|
permissions: ['batch-configure'],
|
|
29
|
-
iconClassName: 'vsphere-icon-datastore',
|
|
30
29
|
},
|
|
31
30
|
{
|
|
32
31
|
label: localization.common.diskFormat,
|
|
@@ -125,7 +124,6 @@ const storageDetailsFunc = (
|
|
|
125
124
|
label: localization.common.virtualMachine,
|
|
126
125
|
value: name,
|
|
127
126
|
permissions: ['batch-configure', 'configure-disk'],
|
|
128
|
-
iconClassName: 'vsphere-icon-vm',
|
|
129
127
|
},
|
|
130
128
|
]
|
|
131
129
|
|
|
@@ -150,7 +148,6 @@ const storageDetailsFunc = (
|
|
|
150
148
|
label: localization.common[key],
|
|
151
149
|
value: value.name,
|
|
152
150
|
permissions: [],
|
|
153
|
-
iconClassName: `vsphere-icon-${key}`,
|
|
154
151
|
})
|
|
155
152
|
}
|
|
156
153
|
})
|
|
@@ -168,7 +165,6 @@ const storageDetailsFunc = (
|
|
|
168
165
|
label: localization.common.host,
|
|
169
166
|
value: '', //selectedComputeResource.selectedNode.name,
|
|
170
167
|
permissions: [],
|
|
171
|
-
iconClassName: 'vsphere-icon-host',
|
|
172
168
|
},
|
|
173
169
|
{
|
|
174
170
|
label: localization.migrateVm.migrationStrategy,
|
|
@@ -180,7 +176,6 @@ const storageDetailsFunc = (
|
|
|
180
176
|
label: localization.common.networks,
|
|
181
177
|
value: setSelectNetworkDataView(localization, form),
|
|
182
178
|
permissions: [],
|
|
183
|
-
iconClassName: 'vsphere-icon-network',
|
|
184
179
|
},
|
|
185
180
|
]
|
|
186
181
|
const storageResult = migrateOnlyStorageDataView(localization, form, name)
|
|
@@ -30,8 +30,7 @@ export const stepsFunc = (
|
|
|
30
30
|
{
|
|
31
31
|
id: dynamicSteps.selectMigrationType,
|
|
32
32
|
title: localization.common.selectMigrationType,
|
|
33
|
-
subTitle:
|
|
34
|
-
localization.migrateVm.changeComputeResourceStorageVirtualMachine,
|
|
33
|
+
subTitle: localization.migrateVm.changeComputeResourceStorageVirtualMachine,
|
|
35
34
|
status: UI_E_WIZARD_STATUS[!isScheduledTasks ? 'SELECTED' : 'INACTIVE'],
|
|
36
35
|
fields: {},
|
|
37
36
|
isValid: true,
|
|
@@ -100,7 +99,7 @@ export const stepsFunc = (
|
|
|
100
99
|
{
|
|
101
100
|
id: dynamicSteps.readyComplete,
|
|
102
101
|
title: localization.common.readyComplete,
|
|
103
|
-
subTitle:
|
|
102
|
+
subTitle: '',
|
|
104
103
|
status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
105
104
|
fields: {},
|
|
106
105
|
isValid: true,
|
|
@@ -88,9 +88,8 @@ const onTabChange = (name: keyof UI_I_SelectedTableDataKeys): void => {
|
|
|
88
88
|
@import 'assets/scss/common/mixins';
|
|
89
89
|
.compute-resource {
|
|
90
90
|
@include flex($dir: column);
|
|
91
|
+
top: 16px;
|
|
91
92
|
height: inherit;
|
|
92
|
-
margin-top: 16px;
|
|
93
|
-
margin-bottom: 16px;
|
|
94
93
|
.tree-view-wrap {
|
|
95
94
|
max-height: 250px;
|
|
96
95
|
min-height: 200px;
|