bfg-common 1.0.12 → 1.0.14

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.
@@ -258,7 +258,8 @@ const props = defineProps<{
258
258
  validateSendDataFunc: UI_T_AddVmFinishFunc<
259
259
  [UI_T_SelectedNavItem, null | number] | null
260
260
  >
261
- passthroughDevices: UI_I_ConfigurePciDevicesTable
261
+ passthroughDevices: UI_I_ConfigurePciDevicesTable | null
262
+ vmNameInWizard: string
262
263
  dataCenter?: UI_I_TreeNode // для сферы
263
264
  computeResource?: UI_I_TreeNode // для сферы
264
265
  computeResourceTree?: UI_I_TreeNode[] // для сферы
@@ -419,9 +420,8 @@ const onChangeBootOrder = (data: UI_T_ChangeBootOrder): void => {
419
420
  virtualHardwareNetworks.value = data[2]
420
421
  }
421
422
 
422
- watch(() => props.readyCompleteTableInfo, (newValue) => {
423
- const localization: UI_I_Localization = useLocal()
424
- vmForm.value.name = newValue.find(item => item.label === localization.virtualMachineName)?.value || ''
423
+ watch(() => props.vmNameInWizard, (newValue) => {
424
+ vmForm.value.name = newValue
425
425
  })
426
426
 
427
427
  const loading = ref<boolean>(false)
@@ -126,7 +126,7 @@ const props = defineProps<{
126
126
  options?: UI_I_SendDataVmoptions
127
127
  isEdit?: boolean
128
128
  state?: string
129
- passthroughDevices?: UI_I_ConfigurePciDevicesTable
129
+ passthroughDevices?: UI_I_ConfigurePciDevicesTable | null
130
130
  }>()
131
131
  const emits = defineEmits<{
132
132
  (
@@ -198,7 +198,7 @@ const props = defineProps<{
198
198
  videoCard?: UI_I_SendDataVideoCard
199
199
  usbController?: string
200
200
  pciDevices?: UI_I_PciDevice[]
201
- passthroughDevices?: UI_I_ConfigurePciDevicesTable
201
+ passthroughDevices?: UI_I_ConfigurePciDevicesTable | null
202
202
  }>()
203
203
  const emits = defineEmits<{
204
204
  (event: 'send-data', value: UI_I_SendDataVirtualHardware): void
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.0.12",
4
+ "version": "1.0.14",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",