bfg-common 1.4.732 → 1.4.734

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.
Files changed (84) hide show
  1. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  2. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  3. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  4. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  5. package/assets/localization/local_be.json +16 -2
  6. package/assets/localization/local_en.json +16 -2
  7. package/assets/localization/local_hy.json +16 -2
  8. package/assets/localization/local_kk.json +16 -2
  9. package/assets/localization/local_ru.json +16 -2
  10. package/assets/localization/local_zh.json +16 -2
  11. package/components/atoms/select/TheSelect.vue +10 -1
  12. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  13. package/components/common/browse/lib/models/interfaces.ts +5 -5
  14. package/components/common/diagramMain/Header.vue +211 -211
  15. package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
  16. package/components/common/diagramMain/lib/config/initial.ts +50 -50
  17. package/components/common/diagramMain/lib/models/types.ts +21 -21
  18. package/components/common/diagramMain/lib/utils/utils.ts +331 -331
  19. package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +330 -330
  20. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
  21. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +497 -497
  22. package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +812 -812
  23. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
  24. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
  25. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
  26. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
  27. package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +398 -398
  28. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
  29. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
  30. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +23 -23
  31. package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
  32. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
  33. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
  34. package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
  35. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
  36. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
  37. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
  38. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
  39. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
  40. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
  41. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
  42. package/components/common/diagramMain/port/Ports.vue +47 -47
  43. package/components/common/monitor/advanced/Advanced.vue +0 -5
  44. package/components/common/monitor/advanced/tools/Tools.vue +2 -9
  45. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +2 -9
  46. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +0 -2
  47. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +93 -95
  48. package/components/common/{chartOptionsModal → monitor/advanced/tools/chartOptionsModal}/counters/timespan/form/Form.vue +539 -544
  49. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +114 -0
  50. package/components/common/monitor/overview/filters/Filters.vue +0 -3
  51. package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +5 -15
  52. package/components/common/monitor/overview/filters/customIntervalModal/lib/config/dateChecker.ts +14 -24
  53. package/components/common/pages/hardwareHealth/HardwareHealth.vue +5 -12
  54. package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +451 -456
  55. package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +380 -387
  56. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +6 -13
  57. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +94 -94
  58. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +66 -66
  59. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +539 -0
  60. package/components/common/{chartOptionsModal → pages/hardwareHealth/historyTestimony/tools/chartOptionsModal}/counters/timespan/form/lib/config/dateForm.ts +115 -116
  61. package/components/common/pages/tasks/Tasks.vue +9 -0
  62. package/components/common/pages/tasks/table/Table.vue +0 -1
  63. package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +10 -6
  64. package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +8 -8
  65. package/components/common/vm/actions/add/Add.vue +2 -0
  66. package/components/common/vm/actions/clone/Clone.vue +2 -0
  67. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +3 -0
  68. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +2 -0
  69. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +2 -0
  70. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +9 -1
  71. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +5 -2
  72. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +3 -1
  73. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +6 -4
  74. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +52 -10
  75. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +31 -5
  76. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +31 -5
  77. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +9 -2
  78. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +11 -4
  79. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +1 -1
  80. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionOld.vue +1 -1
  81. package/components/common/vm/actions/editSettings/EditSettings.vue +3 -0
  82. package/components/common/vm/actions/editSettings/EditSettingsOld.vue +2 -0
  83. package/components/common/vm/actions/editSettings/new/New.vue +2 -0
  84. package/package.json +3 -3
@@ -7,6 +7,7 @@
7
7
  v-model:nvidia-grid-profile="nvidiaGridProfile"
8
8
  :index="props.index"
9
9
  :passthrough-devices="props.passthroughDevices"
10
+ :mediated-devices="props.mediatedDevices"
10
11
  :type="props.type"
11
12
  :is-removable="isRemovable"
12
13
  :label="label"
@@ -22,6 +23,7 @@
22
23
  v-model:nvidia-grid-profile="nvidiaGridProfile"
23
24
  :index="props.index"
24
25
  :passthrough-devices="props.passthroughDevices"
26
+ :mediated-devices="props.mediatedDevices"
25
27
  :type="props.type"
26
28
  :is-removable="isRemovable"
27
29
  :label="label"
@@ -37,12 +39,13 @@ import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
37
39
  import type { UI_I_SendDataNewPciDevice } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
38
40
  import type { UI_T_PciDeviceType } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
39
41
  import type { UI_I_PciDevice } from '~/lib/models/store/vm/interfaces'
40
- import { pciDeviceTypeOptionsConfig } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options'
42
+ import { pciDeviceTypeOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options'
41
43
 
42
44
  const props = defineProps<{
43
45
  index: number
44
46
  pciDevice: UI_I_SendDataNewPciDevice
45
47
  passthroughDevices: UI_I_PciDevice[]
48
+ mediatedDevices: any[]
46
49
  type: UI_T_PciDeviceType
47
50
  isEdit: boolean
48
51
  state?: string | number
@@ -84,26 +87,54 @@ const selectedLabel = computed<string>(() => {
84
87
  }
85
88
  })
86
89
 
87
- const pciDeviceTypeOptions = ref<UI_I_OptionItem[]>(pciDeviceTypeOptionsConfig)
88
- const selectedType = ref<UI_I_OptionItem>(pciDeviceTypeOptionsConfig[0])
90
+ const pciDeviceTypeOptions = ref<UI_I_OptionItem[]>(
91
+ pciDeviceTypeOptionsFunc(
92
+ !props.passthroughDevices.length,
93
+ !props.mediatedDevices.length
94
+ )
95
+ )
96
+ const selectedType = ref<UI_I_OptionItem>(pciDeviceTypeOptions.value[0])
97
+ pciDeviceTypeOptions.value.forEach((option) => {
98
+ if (!option.disabled) selectedType.value = option
99
+ })
89
100
 
90
101
  const directPathIo = ref<UI_I_PciDevice>(props.passthroughDevices[0])
91
102
  const dynamicDirectPathIo = ref<string>('')
92
- const nvidiaGridProfile = ref<string>('')
103
+ const nvidiaGridProfile = ref<any>(props.mediatedDevices[0]?.value)
93
104
 
94
105
  watch(
95
- props.pciDevice,
96
- (newValue) => {
106
+ [() => props.pciDevice, () => props.mediatedDevices],
107
+ ([newValue1]) => {
97
108
  // const passthroughDevice = props.passthroughDevices.find(
98
109
  // (item) => item.address === newValue.address
99
110
  // )
100
111
  // passthroughDevice && (directPathIo.value = passthroughDevice) // Todo change
101
- newValue && (directPathIo.value = newValue)
112
+ if (newValue1) {
113
+ directPathIo.value = newValue1
114
+ const mediatedDevice = props.mediatedDevices.find((device) => {
115
+ return (
116
+ device.profile_name + '_' + device.root_device ===
117
+ newValue1.class_name + '_' + newValue1.address
118
+ )
119
+ })
120
+ if (mediatedDevice) {
121
+ nvidiaGridProfile.value = mediatedDevice.profile_name + '_' + mediatedDevice.root_device
122
+
123
+ selectedType.value =
124
+ pciDeviceTypeOptions.value.find(
125
+ (option) => option.value === 'nvidia_grid'
126
+ ) || selectedType.value
127
+ }
128
+ }
102
129
  },
103
- { immediate: true }
130
+ { immediate: true, deep: true }
104
131
  )
105
132
 
106
133
  const sendData = computed<UI_I_SendDataNewPciDevice>(() => {
134
+ const nvidea = props.mediatedDevices.find(
135
+ (device) =>
136
+ nvidiaGridProfile.value === device.profile_name + '_' + device.root_device
137
+ )
107
138
  switch (selectedType.value.value) {
108
139
  case 'direct_path_io':
109
140
  return {
@@ -111,6 +142,7 @@ const sendData = computed<UI_I_SendDataNewPciDevice>(() => {
111
142
  vendor_name: directPathIo.value.vendor_name,
112
143
  class_name: directPathIo.value.class_name,
113
144
  device_name: directPathIo.value.device_name,
145
+ mediated_devices: false,
114
146
  }
115
147
  case 'dynamic_direct_path_io':
116
148
  return {
@@ -118,6 +150,16 @@ const sendData = computed<UI_I_SendDataNewPciDevice>(() => {
118
150
  vendor_name: '',
119
151
  class_name: '',
120
152
  device_name: '',
153
+ mediated_devices: false,
154
+ }
155
+ case 'nvidia_grid':
156
+ return {
157
+ address: nvidea?.root_device || '',
158
+ vendor_name: '',
159
+ class_name: nvidea?.profile_name || '',
160
+ device_name: nvidea?.name || '',
161
+ mediated_devices: true,
162
+ mediated_devices_uuid: '',
121
163
  }
122
164
  default:
123
165
  return {
@@ -125,6 +167,7 @@ const sendData = computed<UI_I_SendDataNewPciDevice>(() => {
125
167
  vendor_name: '',
126
168
  class_name: '',
127
169
  device_name: '',
170
+ mediated_devices: false,
128
171
  }
129
172
  }
130
173
  })
@@ -138,5 +181,4 @@ watch(
138
181
  )
139
182
  </script>
140
183
 
141
- <style scoped lang="scss">
142
- </style>
184
+ <style scoped lang="scss"></style>
@@ -27,22 +27,47 @@
27
27
  :pci-device-index="props.index"
28
28
  />
29
29
 
30
- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-direct-path-io
30
+ <!-- v-show="selectedType.value === 'dynamic_direct_path_io'" -->
31
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-dynamic-direct-path-io
32
+ v-show="selectedType.value === 'nvidia_grid'"
33
+ v-model="nvidiaGridProfile"
34
+ :pci-device-index="props.index"
35
+ :mediated-devices="props.mediatedDevices"
36
+ />
37
+ <!-- v-show="selectedType.value === 'nvidia_grid'" -->
38
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-nvidia-grid
31
39
  v-show="selectedType.value === 'direct_path_io'"
32
40
  v-model="directPathIo"
33
41
  :pci-device-index="props.index"
34
- :passthrough-devices="props.passthroughDevices"
35
42
  />
36
- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-dynamic-direct-path-io
43
+ <!-- v-show="selectedType.value === 'direct_path_io'" -->
44
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-direct-path-io
37
45
  v-show="selectedType.value === 'dynamic_direct_path_io'"
38
46
  v-model="dynamicDirectPathIo"
39
47
  :pci-device-index="props.index"
48
+ :passthrough-devices="props.passthroughDevices"
40
49
  />
41
- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-nvidia-grid
50
+
51
+ <!-- v-show="selectedType.value === 'dynamic_direct_path_io'" -->
52
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-dynamic-direct-path-io
42
53
  v-show="selectedType.value === 'nvidia_grid'"
54
+ v-model="dynamicDirectPathIo"
55
+ :pci-device-index="props.index"
56
+ :mediated-devices="props.mediatedDevices"
57
+ /> -->
58
+ <!-- v-show="selectedType.value === 'nvidia_grid'" -->
59
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-nvidia-grid
60
+ v-show="selectedType.value === 'direct_path_io'"
43
61
  v-model="nvidiaGridProfile"
44
62
  :pci-device-index="props.index"
45
- />
63
+ /> -->
64
+ <!-- v-show="selectedType.value === 'direct_path_io'" -->
65
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-direct-path-io
66
+ v-show="selectedType.value === 'dynamic_direct_path_io'"
67
+ v-model="directPathIo"
68
+ :pci-device-index="props.index"
69
+ :passthrough-devices="props.passthroughDevices"
70
+ /> -->
46
71
  </template>
47
72
 
48
73
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-note />
@@ -71,6 +96,7 @@ const nvidiaGridProfile = defineModel<string>('nvidiaGridProfile', {
71
96
  const props = defineProps<{
72
97
  index: number
73
98
  passthroughDevices: UI_I_PciDevice[]
99
+ mediatedDevices: any[]
74
100
  type: UI_T_PciDeviceType
75
101
  isRemovable: boolean
76
102
  label: string
@@ -28,22 +28,47 @@
28
28
  :pci-device-index="props.index"
29
29
  />
30
30
 
31
- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-direct-path-io
31
+ <!-- v-show="selectedType.value === 'dynamic_direct_path_io'" -->
32
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-dynamic-direct-path-io
33
+ v-show="selectedType.value === 'nvidia_grid'"
34
+ v-model="nvidiaGridProfile"
35
+ :pci-device-index="props.index"
36
+ :mediated-devices="props.mediatedDevices"
37
+ />
38
+ <!-- v-show="selectedType.value === 'nvidia_grid'" -->
39
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-nvidia-grid
32
40
  v-show="selectedType.value === 'direct_path_io'"
33
41
  v-model="directPathIo"
34
42
  :pci-device-index="props.index"
35
- :passthrough-devices="props.passthroughDevices"
36
43
  />
37
- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-dynamic-direct-path-io
44
+ <!-- v-show="selectedType.value === 'direct_path_io'" -->
45
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-direct-path-io
38
46
  v-show="selectedType.value === 'dynamic_direct_path_io'"
39
47
  v-model="dynamicDirectPathIo"
40
48
  :pci-device-index="props.index"
49
+ :passthrough-devices="props.passthroughDevices"
41
50
  />
42
- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-nvidia-grid
51
+
52
+ <!-- v-show="selectedType.value === 'dynamic_direct_path_io'" -->
53
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-dynamic-direct-path-io
43
54
  v-show="selectedType.value === 'nvidia_grid'"
55
+ v-model="dynamicDirectPathIo"
56
+ :pci-device-index="props.index"
57
+ :mediated-devices="props.mediatedDevices"
58
+ /> -->
59
+ <!-- v-show="selectedType.value === 'nvidia_grid'" -->
60
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-nvidia-grid
61
+ v-show="selectedType.value === 'direct_path_io'"
44
62
  v-model="nvidiaGridProfile"
45
63
  :pci-device-index="props.index"
46
- />
64
+ /> -->
65
+ <!-- v-show="selectedType.value === 'direct_path_io'" -->
66
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-direct-path-io
67
+ v-show="selectedType.value === 'dynamic_direct_path_io'"
68
+ v-model="directPathIo"
69
+ :pci-device-index="props.index"
70
+ :passthrough-devices="props.passthroughDevices"
71
+ /> -->
47
72
  </template>
48
73
 
49
74
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device-note />
@@ -73,6 +98,7 @@ const nvidiaGridProfile = defineModel<string>('nvidiaGridProfile', {
73
98
  const props = defineProps<{
74
99
  index: number
75
100
  passthroughDevices: UI_I_PciDevice[]
101
+ mediatedDevices: any[]
76
102
  type: UI_T_PciDeviceType
77
103
  isRemovable: boolean
78
104
  label: string
@@ -15,18 +15,25 @@
15
15
 
16
16
  <script lang="ts" setup>
17
17
  import type { UI_I_Option } from '~/components/atoms/select/lib/models/interfaces'
18
- import { optionsConfig } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/lib/config/options'
18
+ // import { optionsConfig } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/lib/config/options'
19
19
 
20
20
  const model = defineModel<string>({required: true})
21
21
 
22
22
  const props = defineProps<{
23
23
  pciDeviceIndex: number
24
+ mediatedDevices: any[]
24
25
  }>()
25
26
 
26
27
  const { $store }: any = useNuxtApp()
27
28
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
28
29
 
29
- const options = ref<UI_I_Option[]>(optionsConfig)
30
+ // const options = ref<UI_I_Option[]>(optionsConfig)
31
+ const options = ref<UI_I_Option[]>(props.mediatedDevices.map(device => {
32
+ return {
33
+ text: device.human_readable,
34
+ value: device.profile_name + '_' + device.root_device
35
+ }
36
+ }))
30
37
  model.value = '' + options.value[0].value
31
38
  </script>
32
39
 
@@ -1,7 +1,14 @@
1
1
  import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
2
2
 
3
- export const pciDeviceTypeOptionsConfig: UI_I_OptionItem[] = [
4
- { text: 'DP I/O', value: 'direct_path_io' },
5
- { text: 'Dynamic DP I/O', value: 'dynamic_direct_path_io' },
6
- { text: 'GRID vGPU', value: 'nvidia_grid' },
3
+ export const pciDeviceTypeOptionsFunc = (
4
+ isDisabledDynamicDirectPathIo: boolean,
5
+ isDisabledNvidiaGrid: boolean
6
+ ): UI_I_OptionItem[] => [
7
+ {
8
+ text: 'Dynamic DP I/O',
9
+ value: 'dynamic_direct_path_io',
10
+ disabled: isDisabledDynamicDirectPathIo,
11
+ },
12
+ { text: 'GRID vGPU', value: 'nvidia_grid', disabled: isDisabledNvidiaGrid },
13
+ { text: 'DP I/O', value: 'direct_path_io', disabled: true },
7
14
  ]
@@ -8,7 +8,7 @@
8
8
  v-model="modelLocal"
9
9
  :value="item.value"
10
10
  :label="item.text"
11
- :disabled="!!index"
11
+ :disabled="item.disabled"
12
12
  :test-id="`pci-device-radio-input-${props.pciDeviceIndex}-${index}`"
13
13
  />
14
14
  </div>
@@ -13,7 +13,7 @@
13
13
  v-model="model"
14
14
  type="radio"
15
15
  :value="item"
16
- :disabled="!!index"
16
+ :disabled="item.disabled"
17
17
  :data-id="`pci-device-radio-input-${props.pciDeviceIndex}-${index}`"
18
18
  />
19
19
  <label
@@ -18,6 +18,7 @@
18
18
  :state="props.state"
19
19
  :vm-name-old="props.vmSettings?.name"
20
20
  :passthrough-devices="props.passthroughDevices"
21
+ :mediated-devices="props.mediatedDevices"
21
22
  :get-datastore-table-func="props.getDatastoreTableFunc"
22
23
  :customize-hardware-submit="customizeHardwareSubmit"
23
24
  @hide="emits('hide')"
@@ -51,6 +52,7 @@
51
52
  :state="props.state"
52
53
  :vm-name-old="props.vmSettings?.name"
53
54
  :passthrough-devices="props.passthroughDevices"
55
+ :mediated-devices="props.mediatedDevices"
54
56
  :get-datastore-table-func="props.getDatastoreTableFunc"
55
57
  :customize-hardware-submit="customizeHardwareSubmit"
56
58
  @hide="emits('hide')"
@@ -111,6 +113,7 @@ const props = defineProps<{
111
113
  getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
112
114
  state?: string | number
113
115
  passthroughDevices?: UI_I_PciDevice[]
116
+ mediatedDevices?: any[]
114
117
  capabilities?: UI_I_Capabilities
115
118
  }>()
116
119
 
@@ -46,6 +46,7 @@
46
46
  :error-validation-fields="props.errorValidationFields"
47
47
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
48
48
  :passthrough-devices="props.passthroughDevices"
49
+ :mediated-devices="props.mediatedDevices"
49
50
  :state="props.state"
50
51
  :get-datastore-table-func="props.getDatastoreTableFunc"
51
52
  :datastore="props.datastore"
@@ -112,6 +113,7 @@ const props = defineProps<{
112
113
  state?: string | number
113
114
  vmNameOld?: string
114
115
  passthroughDevices?: UI_I_PciDevice[]
116
+ mediatedDevices?: any[]
115
117
  getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
116
118
  customizeHardwareSubmit?: null | Function
117
119
  }>()
@@ -48,6 +48,7 @@
48
48
  :error-validation-fields="props.errorValidationFields"
49
49
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
50
50
  :passthrough-devices="props.passthroughDevices"
51
+ :mediated-devices="props.mediatedDevices"
51
52
  :state="props.state"
52
53
  :get-datastore-table-func="props.getDatastoreTableFunc"
53
54
  :datastore="props.datastore"
@@ -118,6 +119,7 @@ const props = defineProps<{
118
119
  state?: string | number
119
120
  vmNameOld?: string
120
121
  passthroughDevices?: UI_I_PciDevice[]
122
+ mediatedDevices?: any[]
121
123
  getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
122
124
  customizeHardwareSubmit?: null | Function
123
125
  }>()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.732",
4
+ "version": "1.4.734",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -34,8 +34,8 @@
34
34
  "@nuxtjs/eslint-config-typescript": "^12.0.0",
35
35
  "@vueuse/components": "^10.1.2",
36
36
  "date-fns": "^2.29.3",
37
- "bfg-nuxt-3-graph": "1.0.15",
38
- "bfg-uikit": "1.0.301",
37
+ "bfg-nuxt-3-graph": "1.0.17",
38
+ "bfg-uikit": "1.0.312",
39
39
  "html2canvas": "^1.4.1",
40
40
  "prettier-eslint": "^15.0.1"
41
41
  }