bfg-common 1.5.298 → 1.5.301
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 +13 -17
- package/assets/img/icons/icons-sprite-light-1.svg +12 -16
- package/assets/localization/local_be.json +1 -2
- package/assets/localization/local_en.json +1 -2
- package/assets/localization/local_hy.json +1 -2
- package/assets/localization/local_kk.json +1 -2
- package/assets/localization/local_ru.json +1 -2
- package/assets/localization/local_zh.json +1 -2
- 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/NewHardDisk.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/components/common/vm/actions/common/select/storage/new/New.vue +3 -21
- 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
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
:hard-disk-invalid="hardDiskInvalid"
|
|
18
18
|
:error-text="hardDiskLocalAndApiErrorsTexts"
|
|
19
19
|
:hard-disk-type-error-local-text="hardDiskTypeErrorLocalText"
|
|
20
|
-
:is-disabled-size="isDisabledSize"
|
|
20
|
+
:is-disabled-size="isDisabledSize || isRunning"
|
|
21
21
|
:hard-disk-type-options="hardDiskTypeOptions"
|
|
22
22
|
:max-hard-disk="maxHardDisk"
|
|
23
23
|
:location="location"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
:hard-disk-invalid="hardDiskInvalid"
|
|
59
59
|
:error-text="hardDiskLocalAndApiErrorsTexts"
|
|
60
60
|
:hard-disk-type-error-local-text="hardDiskTypeErrorLocalText"
|
|
61
|
-
:is-disabled-size="isDisabledSize"
|
|
61
|
+
:is-disabled-size="isDisabledSize || isRunning"
|
|
62
62
|
:hard-disk-type-options="hardDiskTypeOptions"
|
|
63
63
|
:max-hard-disk="maxHardDisk"
|
|
64
64
|
:location="location"
|
|
@@ -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
|
|
|
@@ -30,12 +30,7 @@
|
|
|
30
30
|
</h3></template
|
|
31
31
|
>
|
|
32
32
|
<template #name="{ item }">
|
|
33
|
-
<ui-icon
|
|
34
|
-
name="datastores"
|
|
35
|
-
width="18"
|
|
36
|
-
height="18"
|
|
37
|
-
class="mr-1 row-datastores-icon"
|
|
38
|
-
/>
|
|
33
|
+
<ui-icon name="datastores" width="18" height="18" class="mr-1" />
|
|
39
34
|
{{ item.text }}
|
|
40
35
|
</template>
|
|
41
36
|
<template #state="{ item }">
|
|
@@ -169,18 +164,8 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
|
|
|
169
164
|
--select-storage-compatibility-bg-color: #1b2a371f;
|
|
170
165
|
--select-storage-compatibility-description-color: #e9eaec;
|
|
171
166
|
--select-storage-compatibility-empty-description-color: #9da6ad;
|
|
172
|
-
--select-storage-compatibility-table-column-button-hover-bg:
|
|
173
|
-
|
|
174
|
-
rgba(233, 234, 236, 0.04) 0%,
|
|
175
|
-
rgba(233, 234, 236, 0.04) 100%
|
|
176
|
-
),
|
|
177
|
-
rgba(27, 42, 55, 0.24);
|
|
178
|
-
--select-storage-compatibility-table-column-button-active-hover-bg: linear-gradient(
|
|
179
|
-
0deg,
|
|
180
|
-
rgba(43, 162, 222, 0.08) 0%,
|
|
181
|
-
rgba(43, 162, 222, 0.08) 100%
|
|
182
|
-
),
|
|
183
|
-
rgba(27, 42, 55, 0.24);
|
|
167
|
+
--select-storage-compatibility-table-column-button-hover-bg: #b8bcc10a;
|
|
168
|
+
--select-storage-compatibility-table-column-button-active-hover-bg: #2785b614;
|
|
184
169
|
}
|
|
185
170
|
</style>
|
|
186
171
|
<style scoped lang="scss">
|
|
@@ -282,8 +267,5 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
|
|
|
282
267
|
}
|
|
283
268
|
}
|
|
284
269
|
}
|
|
285
|
-
.row-datastores-icon {
|
|
286
|
-
min-width: 18px;
|
|
287
|
-
}
|
|
288
270
|
}
|
|
289
271
|
</style>
|