bfg-common 1.5.442 → 1.5.443
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 -3
- package/assets/localization/local_en.json +17 -11
- package/assets/localization/local_hy.json +9 -3
- package/assets/localization/local_kk.json +9 -3
- package/assets/localization/local_ru.json +9 -3
- package/assets/localization/local_zh.json +9 -3
- package/components/atoms/wizard/Wizard.vue +2 -2
- package/components/atoms/wizard/step/Step.vue +1 -1
- package/components/common/backup/storage/actions/add/Add.vue +5 -5
- package/components/common/backup/storage/actions/add/Old.vue +1 -1
- package/components/common/backup/storage/actions/add/lib/config/steps.ts +2 -2
- package/components/common/backup/storage/actions/add/lib/validations.ts +4 -4
- package/components/common/backup/storage/actions/add/steps/name/Name.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/name/New.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/name/Old.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigure.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +1 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureOld.vue +1 -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/countdownTimer/CountdownTimer.vue +26 -15
- 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/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/MigrateVmkernelAdapter.vue +5 -5
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +5 -5
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +2 -2
- 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/modals/{reconnect/Reconnect.vue → Reconnect.vue} +56 -43
- package/components/common/pages/backups/modals/Modals.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/CreateBackup.vue +5 -2
- package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +2 -2
- package/components/common/pages/backups/modals/restore/Restore.vue +3 -3
- package/components/common/pages/backups/modals/restore/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/add/Add.vue +5 -5
- package/components/common/vm/actions/add/New.vue +2 -2
- package/components/common/vm/actions/add/Old.vue +2 -2
- package/components/common/vm/actions/add/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/clone/Clone.vue +5 -5
- package/components/common/vm/actions/clone/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/clone/toTemplate/ToTemplate.vue +5 -5
- package/components/common/vm/actions/clone/toTemplate/lib/config/steps.ts +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -23
- package/components/common/vmt/actions/add/Add.vue +5 -5
- package/components/common/vmt/actions/add/New.vue +2 -3
- package/components/common/vmt/actions/add/Old.vue +2 -2
- package/components/common/vmt/actions/add/lib/config/steps.ts +2 -2
- package/components/common/wizards/datastore/add/Add.vue +2 -2
- package/components/common/wizards/datastore/add/Old.vue +2 -2
- package/components/common/wizards/datastore/add/lib/config/steps.ts +2 -2
- package/components/common/wizards/datastore/add/lib/utils.ts +1 -1
- package/components/common/wizards/datastore/add/lib/validations.ts +3 -3
- package/components/common/wizards/datastore/add/steps/_local/Local.vue +1 -1
- package/components/common/wizards/datastore/add/steps/_local/createName/CreateName.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigure.vue +2 -1
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndConfigure/NameAndConfigureOld.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDevice.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceOld.vue +1 -1
- package/components/common/wizards/network/add/Add.vue +109 -333
- package/components/common/wizards/network/add/AddNew.vue +514 -0
- package/components/common/wizards/network/add/AddOld.vue +457 -0
- package/components/common/wizards/network/add/lib/config/config.ts +11 -1
- package/components/common/wizards/network/add/lib/config/selectConnectionTypeStep.ts +31 -0
- package/components/common/wizards/network/add/lib/config/selectSwitch.ts +217 -0
- package/components/common/wizards/network/add/lib/config/steps.ts +5 -5
- package/components/common/wizards/network/add/lib/models/interfaces.ts +9 -0
- package/components/common/wizards/network/add/steps/ConnectionSettings.vue +2 -2
- package/components/common/wizards/network/add/steps/IpFourSettings.vue +2 -2
- package/components/common/wizards/network/add/steps/PortProperties.vue +2 -2
- package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionType.vue +35 -0
- package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionTypeNew.vue +104 -0
- package/components/common/wizards/network/add/steps/selectConnectionType/SelectConnectionTypeOld.vue +80 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDevice.vue +183 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +393 -0
- package/components/common/wizards/network/add/steps/{SelectedTargetDevice.vue → selectTargetDevice/SelectTargetDeviceOld.vue} +42 -139
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/Modals.vue +55 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectNetwork.vue +64 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectStandardSwitch.vue +64 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/SelectSwitch.vue +64 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +163 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectStandardSwitch.vue +163 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectSwitch.vue +163 -0
- package/components/common/wizards/network/add/{modals → steps/selectTargetDevice/modals/old}/SelectNetwork.vue +53 -56
- package/components/common/wizards/network/add/{modals → steps/selectTargetDevice/modals/old}/SelectStandardSwitch.vue +37 -52
- package/components/common/wizards/network/add/{modals → steps/selectTargetDevice/modals/old}/SelectSwitch.vue +38 -42
- package/components/common/wizards/network/add/validations/connectionSettings.ts +5 -5
- package/components/common/wizards/network/add/validations/createStandardSwitch.ts +4 -4
- package/components/common/wizards/network/add/validations/ipFourSettings.ts +5 -5
- package/components/common/wizards/network/add/validations/networkValidation.ts +4 -4
- package/components/common/wizards/network/add/validations/physicalAdapter.ts +4 -4
- package/components/common/wizards/network/add/validations/portProperties.ts +2 -2
- package/components/common/wizards/network/add/validations/targetDevice.ts +11 -10
- package/components/common/wizards/vm/migrate/Migrate.vue +2 -2
- package/components/common/wizards/vm/migrate/lib/config/steps.ts +2 -2
- package/components/common/wizards/vm/migrate/lib/validations.ts +3 -3
- package/components/common/wizards/vm/migrate/select/targetServer/new/New.vue +1 -1
- package/components/common/wizards/vm/migrate/select/targetServer/targetServer.vue +1 -1
- package/package.json +2 -2
- package/components/atoms/wizard/lib/models/enums.ts +0 -8
- package/components/atoms/wizard/lib/models/interfaces.ts +0 -59
- package/components/atoms/wizard/lib/utils/utils.ts +0 -954
- package/components/common/countdownTimer/CountdownTimerNew.vue +0 -53
- package/components/common/countdownTimer/CountdownTimerOld.vue +0 -33
- package/components/common/layout/theHeader/modals/reconnect/ReconnectNew.vue +0 -74
- package/components/common/layout/theHeader/modals/reconnect/ReconnectOld.vue +0 -67
- package/components/common/wizards/network/add/steps/SelectConnectionType.vue +0 -112
@@ -0,0 +1,457 @@
|
|
1
|
+
<template>
|
2
|
+
<atoms-wizard
|
3
|
+
v-model:show="props.show"
|
4
|
+
:wizard="props.wizard"
|
5
|
+
:selected-scheme="props.selectedScheme"
|
6
|
+
:title="props.title"
|
7
|
+
:localization="localization"
|
8
|
+
:class="[
|
9
|
+
'add-networking-wizard',
|
10
|
+
{
|
11
|
+
'is-dark': props.isDarkMode,
|
12
|
+
},
|
13
|
+
]"
|
14
|
+
max-height="551px"
|
15
|
+
test-id="add-networking-wizard"
|
16
|
+
@change-steps="onChangeSteps"
|
17
|
+
@hide="emits('hide')"
|
18
|
+
@submit="emits('submit')"
|
19
|
+
>
|
20
|
+
<template #modalBody="{ selectedStep }">
|
21
|
+
<common-wizards-network-add-steps-select-connection-type
|
22
|
+
v-if="selectedStep.id === 0"
|
23
|
+
v-model="connectionTypeLocal"
|
24
|
+
/>
|
25
|
+
<common-wizards-network-add-steps-select-target-device
|
26
|
+
v-if="selectedStep.id === 1"
|
27
|
+
:wizard="props.wizard"
|
28
|
+
:target-device="props.targetDevice"
|
29
|
+
:connection-type="connectionTypeLocal"
|
30
|
+
:standard-switches-initial="props.standardSwitchesInitial"
|
31
|
+
:messages-fields="selectedStep.fields"
|
32
|
+
:alert-messages="props.alertMessages[1]"
|
33
|
+
:selected-standard-switch-id="props.selectedStandardSwitchId"
|
34
|
+
:selected-switch-id="props.selectedSwitchId"
|
35
|
+
@hide-alert="onHideAlert"
|
36
|
+
@change-target-device="onChangeTargetDevice"
|
37
|
+
/>
|
38
|
+
<common-wizards-network-add-steps-create-standard-switch
|
39
|
+
v-if="selectedStep.id === 2 || selectedStep.id === 6"
|
40
|
+
:free-adapters="props.freeAdapters"
|
41
|
+
:added-adapters="props.addedAdapters"
|
42
|
+
:core-adapters="props.coreAdapters"
|
43
|
+
:adapter-status="props.adapterStatus"
|
44
|
+
:adapters="props.adapters"
|
45
|
+
:is-show-no-connected-active-adapters-modal="
|
46
|
+
props.isShowNoConnectedActiveAdaptersModal
|
47
|
+
"
|
48
|
+
:is-show-no-active-adapters-modal="props.isShowNoActiveAdaptersModal"
|
49
|
+
:is-dark-mode="props.isDarkMode"
|
50
|
+
@get-free-adapters="onGetFreeAdapters"
|
51
|
+
@change-added-adapters="onChangeAddedAdapters"
|
52
|
+
@change-adapter-status="onChangeAdapterStatus"
|
53
|
+
@confirm-no-active-adapters-modal="emits('confirm-no-active-adapters-modal')"
|
54
|
+
@hide-no-connected-active-adapters-modal="
|
55
|
+
emits('hide-no-connected-active-adapters-modal')
|
56
|
+
"
|
57
|
+
@hide-no-active-adapters-modal="emits('hide-no-active-adapters-modal')"
|
58
|
+
/>
|
59
|
+
<common-wizards-network-add-steps-port-properties
|
60
|
+
v-if="selectedStep.id === 3"
|
61
|
+
:wizard="props.wizard"
|
62
|
+
:port-properties="props.portProperties"
|
63
|
+
:mtu-from-switch="props.mtuFromSwitch"
|
64
|
+
:project="props.project"
|
65
|
+
:messages-fields="selectedStep.fields"
|
66
|
+
:alert-messages="props.alertMessages[3]"
|
67
|
+
:tcp-stacks="props.tcpStacks"
|
68
|
+
@change-gateway-flag="onChangeGatewayFlag"
|
69
|
+
@change-port-properties="onChangePortProperties"
|
70
|
+
@hide-alert="onHideAlert"
|
71
|
+
/>
|
72
|
+
<common-wizards-network-add-steps-ip-four-settings
|
73
|
+
v-if="selectedStep.id === 4"
|
74
|
+
:wizard="props.wizard"
|
75
|
+
:ip-four-settings="props.ipFourSettings"
|
76
|
+
:messages-fields="selectedStep.fields"
|
77
|
+
:alert-messages="props.alertMessages[4]"
|
78
|
+
:tcp-stacks="props.tcpStacks"
|
79
|
+
:tcp="props.portProperties.tcp"
|
80
|
+
:gateway-flag="props.gatewayFlag"
|
81
|
+
@change-gateway-flag="onChangeGatewayFlag"
|
82
|
+
@change-ip-four-settings="onChangeIpFourSettings"
|
83
|
+
@hide-alert="onHideAlert"
|
84
|
+
/>
|
85
|
+
<common-wizards-network-add-steps-connection-settings
|
86
|
+
v-if="selectedStep.id === 5"
|
87
|
+
:wizard="props.wizard"
|
88
|
+
:connection-settings="props.connectionSettings"
|
89
|
+
:messages-fields="selectedStep.fields"
|
90
|
+
:alert-messages="props.alertMessages[5]"
|
91
|
+
@change-connection-settings="onChangeConnectionSettings"
|
92
|
+
@hide-alert="onHideAlert"
|
93
|
+
/>
|
94
|
+
<!-- <common-wizards-network-add-steps-physical-adapter-->
|
95
|
+
<!-- v-if="selectedStep.id === 6"-->
|
96
|
+
<!-- />-->
|
97
|
+
<common-wizards-network-add-steps-ready-complete
|
98
|
+
v-if="selectedStep.id === 7"
|
99
|
+
:ready-complete-fields="props.readyCompleteFields"
|
100
|
+
/>
|
101
|
+
</template>
|
102
|
+
</atoms-wizard>
|
103
|
+
</template>
|
104
|
+
|
105
|
+
<script setup lang="ts">
|
106
|
+
import type {
|
107
|
+
UI_I_Localization,
|
108
|
+
UI_I_ItemsWithTotalCounts,
|
109
|
+
} from '~/lib/models/interfaces'
|
110
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
111
|
+
import type {
|
112
|
+
UI_I_PortProperties,
|
113
|
+
UI_I_IpFourSettings,
|
114
|
+
UI_I_ConnectionSettings,
|
115
|
+
UI_I_TargetDevice,
|
116
|
+
UI_I_Switch,
|
117
|
+
UI_I_ReadyCompleteFields,
|
118
|
+
UI_I_TCPStack,
|
119
|
+
} from '~/components/common/wizards/network/add/lib/models/interfaces'
|
120
|
+
import type {
|
121
|
+
UI_I_Adapter,
|
122
|
+
UI_I_AdapterStatus,
|
123
|
+
UI_I_SwitchAdapterItem,
|
124
|
+
} from '~/components/common/diagramMain/lib/models/interfaces'
|
125
|
+
import type { UI_I_WizardStep } from '~/components/atoms/wizard/lib/models/interfaces'
|
126
|
+
import type Wizard from '~/components/atoms/wizard/lib/utils/utils'
|
127
|
+
|
128
|
+
const props = defineProps<{
|
129
|
+
show: boolean
|
130
|
+
wizard: Wizard
|
131
|
+
selectedScheme: number[]
|
132
|
+
title: string
|
133
|
+
project: UI_T_Project
|
134
|
+
connectionType: string
|
135
|
+
targetDevice: UI_I_TargetDevice
|
136
|
+
standardSwitchesInitial: UI_I_Switch[]
|
137
|
+
alertMessages: string[][]
|
138
|
+
selectedStandardSwitchId?: string
|
139
|
+
selectedSwitchId: string
|
140
|
+
freeAdapters: UI_I_Adapter[]
|
141
|
+
addedAdapters: string[]
|
142
|
+
coreAdapters: string[]
|
143
|
+
adapterStatus: UI_I_AdapterStatus
|
144
|
+
adapters: UI_I_ItemsWithTotalCounts<UI_I_SwitchAdapterItem>
|
145
|
+
isShowNoConnectedActiveAdaptersModal: boolean
|
146
|
+
isShowNoActiveAdaptersModal: boolean
|
147
|
+
isDarkMode: boolean
|
148
|
+
portProperties: UI_I_PortProperties
|
149
|
+
mtuFromSwitch: number
|
150
|
+
tcpStacks: UI_I_TCPStack[]
|
151
|
+
ipFourSettings: UI_I_IpFourSettings
|
152
|
+
gatewayFlag: boolean
|
153
|
+
connectionSettings: UI_I_ConnectionSettings
|
154
|
+
readyCompleteFields: UI_I_ReadyCompleteFields[]
|
155
|
+
}>()
|
156
|
+
|
157
|
+
const emits = defineEmits<{
|
158
|
+
(event: 'update:connection-type', value: string): void
|
159
|
+
(event: 'change-connection-settings', value: UI_I_ConnectionSettings): void
|
160
|
+
(event: 'hide-alert', value: number): void
|
161
|
+
(event: 'change-gateway-flag', value: boolean): void
|
162
|
+
(event: 'change-ip-four-settings', value: UI_I_IpFourSettings): void
|
163
|
+
(event: 'change-port-properties', value: UI_I_PortProperties): void
|
164
|
+
(event: 'get-free-adapters', cb: () => void): void
|
165
|
+
(event: 'change-added-adapters', value: string[]): void
|
166
|
+
(event: 'change-adapter-status', value: UI_I_AdapterStatus): void
|
167
|
+
(event: 'confirm-no-active-adapters-modal'): void
|
168
|
+
(event: 'hide-no-connected-active-adapters-modal'): void
|
169
|
+
(event: 'hide-no-active-adapters-modal'): void
|
170
|
+
(event: 'change-target-device', value: UI_I_TargetDevice): void
|
171
|
+
(event: 'change-steps', value: UI_I_WizardStep[]): void
|
172
|
+
(event: 'hide'): void
|
173
|
+
(event: 'submit'): void
|
174
|
+
}>()
|
175
|
+
|
176
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
177
|
+
|
178
|
+
const connectionTypeLocal = computed<string>({
|
179
|
+
get() {
|
180
|
+
return props.connectionType
|
181
|
+
},
|
182
|
+
set(newValue: string) {
|
183
|
+
emits('update:connection-type', newValue)
|
184
|
+
},
|
185
|
+
})
|
186
|
+
|
187
|
+
const onChangeAddedAdapters = (addedAdaptersNew: string[]): void => {
|
188
|
+
emits('change-added-adapters', addedAdaptersNew)
|
189
|
+
}
|
190
|
+
|
191
|
+
const onChangeAdapterStatus = (adapterStatusNew: UI_I_AdapterStatus): void => {
|
192
|
+
emits('change-adapter-status', adapterStatusNew)
|
193
|
+
}
|
194
|
+
|
195
|
+
const onChangeTargetDevice = (newTargetDevice: UI_I_TargetDevice): void => {
|
196
|
+
emits('change-target-device', newTargetDevice)
|
197
|
+
}
|
198
|
+
|
199
|
+
const onChangePortProperties = (newFields: UI_I_PortProperties): void => {
|
200
|
+
emits('change-port-properties', newFields)
|
201
|
+
}
|
202
|
+
|
203
|
+
const onChangeIpFourSettings = (newFields: UI_I_IpFourSettings): void => {
|
204
|
+
emits('change-ip-four-settings', newFields)
|
205
|
+
}
|
206
|
+
|
207
|
+
const onChangeGatewayFlag = (newValue: boolean) => {
|
208
|
+
emits('change-gateway-flag', newValue)
|
209
|
+
}
|
210
|
+
|
211
|
+
const onChangeConnectionSettings = (
|
212
|
+
newFields: UI_I_ConnectionSettings
|
213
|
+
): void => {
|
214
|
+
emits('change-connection-settings', newFields)
|
215
|
+
}
|
216
|
+
|
217
|
+
const onHideAlert = (stepId: number): void => {
|
218
|
+
emits('hide-alert', stepId)
|
219
|
+
}
|
220
|
+
|
221
|
+
const onGetFreeAdapters = (showModal: () => void): void => {
|
222
|
+
emits('get-free-adapters', showModal)
|
223
|
+
}
|
224
|
+
|
225
|
+
const onChangeSteps = async (value: UI_I_WizardStep[]): Promise<void> => {
|
226
|
+
emits('change-steps', value)
|
227
|
+
}
|
228
|
+
</script>
|
229
|
+
|
230
|
+
<style scoped lang="scss">
|
231
|
+
:deep(.modal) {
|
232
|
+
& > .modal-dialog > .modal-content > .modal-body {
|
233
|
+
height: calc(100% - 110px);
|
234
|
+
.disabled-on-time {
|
235
|
+
opacity: 0.4;
|
236
|
+
pointer-events: none;
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
:deep(.disabled-on-time) {
|
241
|
+
opacity: 0.4;
|
242
|
+
pointer-events: none;
|
243
|
+
}
|
244
|
+
:deep(.wizard-content-container.add-networking-step) {
|
245
|
+
padding: 0px 15px 10px 10px;
|
246
|
+
|
247
|
+
.danger-not-valid {
|
248
|
+
border: 2px solid red;
|
249
|
+
border-bottom: 1px solid #db2100;
|
250
|
+
}
|
251
|
+
.tooltip-field {
|
252
|
+
margin-right: 12px;
|
253
|
+
}
|
254
|
+
|
255
|
+
.horizontal-flex-container {
|
256
|
+
margin-bottom: 5px;
|
257
|
+
min-height: 36px;
|
258
|
+
display: flex;
|
259
|
+
flex-direction: row;
|
260
|
+
}
|
261
|
+
.property-label-group {
|
262
|
+
width: 140px;
|
263
|
+
}
|
264
|
+
.disabled {
|
265
|
+
opacity: 0.4;
|
266
|
+
pointer-events: none;
|
267
|
+
}
|
268
|
+
.wizard-content-port {
|
269
|
+
.margin-left-property-value-group {
|
270
|
+
margin-left: 10px;
|
271
|
+
}
|
272
|
+
|
273
|
+
.property-value-group {
|
274
|
+
padding-left: 23px;
|
275
|
+
}
|
276
|
+
.horizontal-flex-container {
|
277
|
+
min-height: 24px;
|
278
|
+
margin-bottom: 0;
|
279
|
+
}
|
280
|
+
.radio {
|
281
|
+
min-height: 39px;
|
282
|
+
margin: 10px 0;
|
283
|
+
}
|
284
|
+
.form-block {
|
285
|
+
margin: 12px 0 24px 0;
|
286
|
+
padding-left: 23px;
|
287
|
+
|
288
|
+
&.form-block-ipv {
|
289
|
+
input[type='text'] {
|
290
|
+
width: 143px;
|
291
|
+
}
|
292
|
+
.horizontal-flex-container > label {
|
293
|
+
margin-right: 50px;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
.edit-vmkernel-adapter-section {
|
298
|
+
padding-top: 12px;
|
299
|
+
|
300
|
+
label {
|
301
|
+
input[type='checkbox'] {
|
302
|
+
margin-right: 4px;
|
303
|
+
transform: translateY(1px);
|
304
|
+
}
|
305
|
+
}
|
306
|
+
.horizontal-flex-container {
|
307
|
+
margin-bottom: 5px;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
.port-properties-network-label {
|
311
|
+
width: 280px;
|
312
|
+
}
|
313
|
+
.port-properties-padding {
|
314
|
+
padding-top: 8px;
|
315
|
+
}
|
316
|
+
.port-properties-mtu-selector {
|
317
|
+
margin-right: 12px;
|
318
|
+
}
|
319
|
+
.port-properties-mtu-container {
|
320
|
+
display: flex;
|
321
|
+
}
|
322
|
+
select {
|
323
|
+
height: 24px;
|
324
|
+
}
|
325
|
+
}
|
326
|
+
.nw-property-value-group {
|
327
|
+
display: inline;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
:deep(.modal-body-content.modal-body-content__confirmation) {
|
332
|
+
display: flex;
|
333
|
+
.confirm-icon-container {
|
334
|
+
margin-right: 20px;
|
335
|
+
}
|
336
|
+
.preserve-newlines {
|
337
|
+
white-space: pre-line;
|
338
|
+
font-size: 15px;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
.add-networking-wizard.is-dark {
|
343
|
+
:deep(.wizard-content-container.add-networking-step) {
|
344
|
+
.ready-complete-container {
|
345
|
+
background-color: var(--pannel-bg-color);
|
346
|
+
margin-top: 12px;
|
347
|
+
|
348
|
+
span {
|
349
|
+
color: var(--description-color);
|
350
|
+
}
|
351
|
+
}
|
352
|
+
|
353
|
+
.add-networking-radio-button-description {
|
354
|
+
color: var(--description-color);
|
355
|
+
}
|
356
|
+
|
357
|
+
.property-label-group {
|
358
|
+
color: var(--main-color-mode2);
|
359
|
+
}
|
360
|
+
.flex-property-label-group {
|
361
|
+
color: var(--main-color-mode2);
|
362
|
+
}
|
363
|
+
.flex-property-value-group {
|
364
|
+
select {
|
365
|
+
color: #fff;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
.failover-order-master {
|
369
|
+
.secondary-title label {
|
370
|
+
color: #fff;
|
371
|
+
}
|
372
|
+
}
|
373
|
+
.k-grid-content {
|
374
|
+
background-color: var(--modal-bg-color);
|
375
|
+
}
|
376
|
+
.vui-action-bar {
|
377
|
+
background-color: var(--pannel-bg-color);
|
378
|
+
color: var(--title-color);
|
379
|
+
padding: 8px 0 3px;
|
380
|
+
|
381
|
+
.action-link-container:not(.disabled) {
|
382
|
+
&:hover {
|
383
|
+
background-color: #29414e;
|
384
|
+
border: 1px solid #c7e9ff;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
|
388
|
+
svg {
|
389
|
+
fill: #fff;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
|
393
|
+
.k-grid.k-widget .k-grid-content {
|
394
|
+
border-left: 1px solid #485764;
|
395
|
+
border-right: 1px solid #485764;
|
396
|
+
border-top: 1px solid #ddd;
|
397
|
+
border-bottom: 1px solid #ddd;
|
398
|
+
|
399
|
+
tbody tr {
|
400
|
+
background-color: var(--modal-bg-color);
|
401
|
+
|
402
|
+
td {
|
403
|
+
border-bottom: 1px solid #666666;
|
404
|
+
border-color: #666666;
|
405
|
+
}
|
406
|
+
|
407
|
+
&:hover {
|
408
|
+
background-color: #324f61;
|
409
|
+
color: var(--title-color);
|
410
|
+
|
411
|
+
td {
|
412
|
+
border-bottom: 1px solid #ffffff;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
|
416
|
+
&.k-state-selected {
|
417
|
+
background-color: #d8e3e9;
|
418
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
419
|
+
|
420
|
+
td span {
|
421
|
+
color: #000;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}
|
425
|
+
}
|
426
|
+
|
427
|
+
.failover-order-details {
|
428
|
+
&.relative-container .absolute-container {
|
429
|
+
background-color: var(--pannel-bg-color);
|
430
|
+
color: var(--main-color-mode2);
|
431
|
+
|
432
|
+
&:has(.no-items-selected-container) {
|
433
|
+
background-color: transparent;
|
434
|
+
}
|
435
|
+
}
|
436
|
+
|
437
|
+
td span {
|
438
|
+
color: var(--main-color-mode2);
|
439
|
+
}
|
440
|
+
button span {
|
441
|
+
color: var(--main-color-mode2);
|
442
|
+
|
443
|
+
&:hover:not(.disabled) {
|
444
|
+
background-color: transparent;
|
445
|
+
}
|
446
|
+
}
|
447
|
+
button.active span {
|
448
|
+
color: #fff;
|
449
|
+
}
|
450
|
+
}
|
451
|
+
}
|
452
|
+
|
453
|
+
.select-adapter-info span {
|
454
|
+
color: var(--main-color-mode2);
|
455
|
+
}
|
456
|
+
}
|
457
|
+
</style>
|
@@ -3,6 +3,7 @@ import * as initialData from './initialData'
|
|
3
3
|
import * as portProperties from './portPropertiesStep'
|
4
4
|
import * as selectSwitches from './selectSwitch'
|
5
5
|
import * as sendData from './sendData'
|
6
|
+
import * as selectConnectionType from './selectConnectionTypeStep'
|
6
7
|
|
7
8
|
export const {
|
8
9
|
stepsFunc,
|
@@ -12,7 +13,7 @@ export const {
|
|
12
13
|
createFirstSchemeReadyCompleteFunc,
|
13
14
|
createThirdSchemeReadyCompleteFunc,
|
14
15
|
createFourthSchemeReadyCompleteFunc,
|
15
|
-
createFifthSchemeReadyCompleteFunc
|
16
|
+
createFifthSchemeReadyCompleteFunc,
|
16
17
|
} = addNetworkingStepsConfig
|
17
18
|
export const {
|
18
19
|
servicesInitial,
|
@@ -25,6 +26,14 @@ export const {
|
|
25
26
|
export const { portPropertiesEnabledServicesFunc } = portProperties
|
26
27
|
export const {
|
27
28
|
selectStandardSwitchTableHeadFunc,
|
29
|
+
selectStandardSwitchTableHeadNewFunc,
|
30
|
+
selectStandardSwitchTableBodyNewFunc,
|
31
|
+
selectSwitchTableHeadNewFunc,
|
32
|
+
selectSwitchTableBodyNewFunc,
|
33
|
+
selectNetworkTableHeadNewFunc,
|
34
|
+
selectNetworkTableBodyNewFunc,
|
35
|
+
tableOptionsNew,
|
36
|
+
tableNetworkOptionsNew,
|
28
37
|
selectNetworkTableHeadFunc,
|
29
38
|
selectSwitchTableHeadFunc,
|
30
39
|
} = selectSwitches
|
@@ -34,3 +43,4 @@ export const {
|
|
34
43
|
addNetworkingSecondOrThirdSchemeDataFunc,
|
35
44
|
addNetworkingFourthOrFifthSchemeDataFunc,
|
36
45
|
} = sendData
|
46
|
+
export const { selectConnectionTypeFunc } = selectConnectionType
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
2
|
+
import type { UI_I_SelectConnectionTypeItem } from '~/components/common/wizards/network/add/lib/models/interfaces'
|
3
|
+
|
4
|
+
export const selectConnectionTypeFunc = (
|
5
|
+
localization: UI_I_Localization
|
6
|
+
): UI_I_SelectConnectionTypeItem[] => [
|
7
|
+
{
|
8
|
+
label: localization.common.vmKernelNetworkAdapter,
|
9
|
+
description: localization.common.vMKernelTcpIpStackHandlesTraffic,
|
10
|
+
value: '0',
|
11
|
+
testId: 'vmkernel-adapter-radio',
|
12
|
+
id: 'vmkernel-adapter',
|
13
|
+
permission: 'Networks.CreateSysx',
|
14
|
+
},
|
15
|
+
{
|
16
|
+
label: localization.common.virtualMachinePortGroupStandardSwitch,
|
17
|
+
description: localization.common.portGroupHandlesVirtualMachineTraffic,
|
18
|
+
value: '1',
|
19
|
+
testId: 'virtual-radio',
|
20
|
+
id: 'virtual',
|
21
|
+
permission: 'Networks.CreatePortGroup',
|
22
|
+
},
|
23
|
+
{
|
24
|
+
label: localization.common.physicalNetworkAdapter,
|
25
|
+
description:
|
26
|
+
localization.common.physicalNetworkAdapterHandlesNetworkTraffic,
|
27
|
+
value: '2',
|
28
|
+
testId: 'physical-adapter-radio',
|
29
|
+
id: 'physical-adapter',
|
30
|
+
},
|
31
|
+
]
|