bfg-common 1.3.124 → 1.3.125
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 +23 -1
- package/assets/localization/local_en.json +23 -1
- package/assets/localization/local_hy.json +23 -1
- package/assets/localization/local_kk.json +23 -1
- package/assets/localization/local_ru.json +24 -2
- package/assets/localization/local_zh.json +23 -1
- package/components/common/select/radio/RadioGroup.vue +12 -0
- package/components/common/vm/actions/add/Add.vue +575 -577
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +269 -269
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +682 -683
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces.ts +1 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +8 -14
- package/components/common/vm/actions/editSettings/EditSettings.vue +313 -318
- package/lib/models/store/vm/interfaces.ts +22 -1
- package/package.json +1 -1
|
@@ -105,9 +105,9 @@ export interface UI_I_SendDataNewCdDvdDrive {
|
|
|
105
105
|
}
|
|
106
106
|
export interface UI_I_SendDataNewPciDevice {
|
|
107
107
|
address: string
|
|
108
|
-
vendor_name: string
|
|
109
108
|
class_name: string
|
|
110
109
|
device_name: string
|
|
110
|
+
vendor_name: string
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
export interface UI_I_HardDisk {
|
|
@@ -116,10 +116,3 @@ export interface UI_I_HardDisk {
|
|
|
116
116
|
path: string
|
|
117
117
|
index: number
|
|
118
118
|
}
|
|
119
|
-
|
|
120
|
-
export interface UI_I_PciDevice {
|
|
121
|
-
id: string
|
|
122
|
-
vendor_name: string
|
|
123
|
-
class_name: string
|
|
124
|
-
device_name: string
|
|
125
|
-
}
|
|
@@ -49,23 +49,17 @@
|
|
|
49
49
|
</template>
|
|
50
50
|
|
|
51
51
|
<script setup lang="ts">
|
|
52
|
-
import { UI_I_Localization } from '~/lib/models/interfaces'
|
|
53
|
-
import { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
54
|
-
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from '~/lib/models/store/host/interfaces'
|
|
58
|
-
import {
|
|
59
|
-
UI_I_PciDevice,
|
|
60
|
-
UI_I_SendDataNewPciDevice,
|
|
61
|
-
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
62
|
-
import { UI_T_PciDeviceType } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
|
|
52
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
53
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
54
|
+
import type { UI_I_SendDataNewPciDevice } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
55
|
+
import type { UI_T_PciDeviceType } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
|
|
56
|
+
import type { UI_I_PciDevice } from '~/lib/models/store/vm/interfaces'
|
|
63
57
|
import { pciDeviceTypeOptionsConfig } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options'
|
|
64
58
|
|
|
65
59
|
const props = defineProps<{
|
|
66
60
|
index: number
|
|
67
|
-
pciDevice:
|
|
68
|
-
passthroughDevices:
|
|
61
|
+
pciDevice: UI_I_SendDataNewPciDevice
|
|
62
|
+
passthroughDevices: UI_I_PciDevice[]
|
|
69
63
|
type: UI_T_PciDeviceType
|
|
70
64
|
isEdit: boolean
|
|
71
65
|
state?: string | number
|
|
@@ -107,7 +101,7 @@ const selectedLabel = computed<string>(() => {
|
|
|
107
101
|
const pciDeviceTypeOptions = ref<UI_I_OptionItem[]>(pciDeviceTypeOptionsConfig)
|
|
108
102
|
const selectedType = ref<UI_I_OptionItem>(pciDeviceTypeOptionsConfig[0])
|
|
109
103
|
|
|
110
|
-
const directPathIo = ref<
|
|
104
|
+
const directPathIo = ref<UI_I_PciDevice>(
|
|
111
105
|
props.passthroughDevices[0]
|
|
112
106
|
)
|
|
113
107
|
const dynamicDirectPathIo = ref<string>('')
|