bfg-common 1.3.409 → 1.3.411
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/components/atoms/wizard/Wizard.vue +26 -176
- package/components/atoms/wizard/lib/utils/utils.ts +189 -1
- package/components/atoms/wizard/step/Step.vue +3 -29
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +190 -194
- package/components/common/vm/actions/add/Add.vue +598 -602
- package/components/common/vm/actions/clone/Clone.vue +514 -518
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +1 -0
- package/components/common/wizards/network/add/Add.vue +4 -11
- package/package.json +1 -1
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<atoms-wizard
|
|
3
3
|
v-model:show="props.show"
|
|
4
|
-
:
|
|
4
|
+
:wizard="wizard"
|
|
5
5
|
:selected-scheme="selectedScheme"
|
|
6
|
-
:is-loading="wizard.wizardLoader.status"
|
|
7
|
-
:loader-messages="wizard.wizardLoader.messages"
|
|
8
6
|
:title="title"
|
|
9
7
|
max-height="551px"
|
|
10
|
-
:was-completed="wasCompleted"
|
|
11
8
|
:localization="localization"
|
|
12
9
|
:class="[
|
|
13
10
|
'add-networking-wizard',
|
|
@@ -168,8 +165,8 @@ const props = withDefaults(
|
|
|
168
165
|
defineProps<{
|
|
169
166
|
show: boolean
|
|
170
167
|
adapters: UI_I_ItemsWithTotalCounts<UI_I_SwitchAdapterItem>
|
|
171
|
-
standardSwitchesInitial
|
|
172
|
-
freeAdapters
|
|
168
|
+
standardSwitchesInitial?: UI_I_Switch[]
|
|
169
|
+
freeAdapters?: UI_I_Adapter[]
|
|
173
170
|
project?: UI_T_Project
|
|
174
171
|
isDarkMode?: boolean
|
|
175
172
|
selectedStandardSwitchId?: string
|
|
@@ -204,7 +201,7 @@ const wizard: Wizard = new Wizard(
|
|
|
204
201
|
stepsFunc(localization.value),
|
|
205
202
|
stepsSchemeInitial
|
|
206
203
|
)
|
|
207
|
-
|
|
204
|
+
|
|
208
205
|
const selectedScheme = computed<number[]>(() => wizard.selectedScheme.value)
|
|
209
206
|
const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
|
|
210
207
|
|
|
@@ -543,14 +540,10 @@ const finalValidationFunc = async (
|
|
|
543
540
|
): Promise<UI_I_ValidationReturn> => {
|
|
544
541
|
let stepHasError = false
|
|
545
542
|
|
|
546
|
-
// wizard.setLoader(true)
|
|
547
|
-
|
|
548
543
|
const validationFields: {
|
|
549
544
|
[key: string]: string
|
|
550
545
|
} = await checkFinal()
|
|
551
546
|
|
|
552
|
-
// wizard.setLoader(false)
|
|
553
|
-
|
|
554
547
|
for (const fieldName in validationFields) {
|
|
555
548
|
const stepId = wizard.getStepIdByFieldName(fieldName)
|
|
556
549
|
|