bfg-common 1.5.299 → 1.5.300
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-1.svg +456 -456
- package/assets/img/icons/icons-sprite-light-1.svg +456 -456
- package/components/common/vm/actions/clone/Clone.vue +817 -817
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +2 -2
- package/components/common/vm/actions/common/lib/config/capabilities.ts +0 -8
- package/components/common/vm/actions/common/lib/utils/capabilities.ts +7 -3
- package/package.json +1 -1
|
@@ -237,7 +237,7 @@ const sharesType = ref<string>('2000')
|
|
|
237
237
|
// const iommu = ref<boolean>(false)
|
|
238
238
|
|
|
239
239
|
// const cpuModel = ref<string>(props.cpuModels[0]?.value || '')
|
|
240
|
-
const cpuModel = ref<string>('
|
|
240
|
+
const cpuModel = ref<string>('') // PNCWEB-389
|
|
241
241
|
watch(
|
|
242
242
|
() => props.cpuModels,
|
|
243
243
|
(newValue) => {
|
|
@@ -245,7 +245,7 @@ watch(
|
|
|
245
245
|
}
|
|
246
246
|
)
|
|
247
247
|
const passthroughHostCpu = ref<boolean>(false)
|
|
248
|
-
const hostModelCpu = ref<boolean>(
|
|
248
|
+
const hostModelCpu = ref<boolean>(true)
|
|
249
249
|
|
|
250
250
|
// const isShowCpuHelp = ref<boolean>(false)
|
|
251
251
|
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
:id="`vm-wizard-hard-disk-${props.index}`"
|
|
64
64
|
v-model.number="size"
|
|
65
65
|
:test-id="`vm-wizard-hard-disk-${props.index}`"
|
|
66
|
-
:disabled="props.isDisabledSize"
|
|
66
|
+
:disabled="props.isDisabledSize || props.isRunning"
|
|
67
67
|
:class="[
|
|
68
68
|
'spinfree edit-setting-input input-text-color',
|
|
69
69
|
{ 'has-error': props.hardDiskTypeErrorLocalText },
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
:id="`hard-disk-type-select-${props.index}`"
|
|
80
80
|
v-model="hardDiskType"
|
|
81
81
|
:items="props.hardDiskTypeOptions"
|
|
82
|
-
:disabled="props.type === 'exist'"
|
|
82
|
+
:disabled="props.type === 'exist' || props.isRunning"
|
|
83
83
|
:test-id="`hard-disk-type-select-${props.index}`"
|
|
84
84
|
width="auto"
|
|
85
85
|
class="unit"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
'spinfree edit-setting-input input-text-color',
|
|
72
72
|
{ 'has-error': props.hardDiskTypeErrorLocalText },
|
|
73
73
|
]"
|
|
74
|
-
:disabled="props.isDisabledSize"
|
|
74
|
+
:disabled="props.isDisabledSize || props.isRunning"
|
|
75
75
|
type="number"
|
|
76
76
|
@blur="emits('validate-size')"
|
|
77
77
|
@click.stop
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
:id="`hard-disk-type-select-${props.index}`"
|
|
87
87
|
v-model="hardDiskType"
|
|
88
88
|
:data-id="`hard-disk-type-select-${props.index}`"
|
|
89
|
-
:disabled="props.type === 'exist'"
|
|
89
|
+
:disabled="props.type === 'exist' || props.isRunning"
|
|
90
90
|
class="input-text-color"
|
|
91
91
|
@change="emits('validate-size')"
|
|
92
92
|
@click.stop
|
|
@@ -123,14 +123,6 @@ export const capabilities = ref<UI_I_Compatibility>({
|
|
|
123
123
|
text: 'Skylake-Client',
|
|
124
124
|
value: 'Skylake-Client',
|
|
125
125
|
},
|
|
126
|
-
{
|
|
127
|
-
text: 'Host Model',
|
|
128
|
-
value: 'host-model',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
text: 'Host Passthrough',
|
|
132
|
-
value: 'host-passthrough',
|
|
133
|
-
},
|
|
134
126
|
],
|
|
135
127
|
guestOsVersions: {
|
|
136
128
|
windows: [
|
|
@@ -17,12 +17,16 @@ export const mapCapabilities = (
|
|
|
17
17
|
}
|
|
18
18
|
})
|
|
19
19
|
// CPU Models
|
|
20
|
-
capabilities.value.cpuModels =
|
|
20
|
+
capabilities.value.cpuModels = []
|
|
21
|
+
|
|
22
|
+
Object.keys(capabilitiesFromApi.cpu_models).forEach(
|
|
21
23
|
(key) => {
|
|
22
|
-
return
|
|
24
|
+
if(key === 'host-model' || key === 'host-passthrough') return
|
|
25
|
+
|
|
26
|
+
capabilities.value.cpuModels.push({
|
|
23
27
|
text: capabilitiesFromApi.cpu_models[key],
|
|
24
28
|
value: key,
|
|
25
|
-
}
|
|
29
|
+
})
|
|
26
30
|
}
|
|
27
31
|
)
|
|
28
32
|
|