bfg-common 1.5.837 → 1.5.839

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 (24) hide show
  1. package/assets/localization/local_be.json +3997 -4002
  2. package/assets/localization/local_en.json +4001 -4006
  3. package/assets/localization/local_hy.json +4001 -4006
  4. package/assets/localization/local_kk.json +4000 -4006
  5. package/assets/localization/local_ru.json +4000 -4005
  6. package/assets/localization/local_zh.json +3998 -4003
  7. package/components/common/layout/theHeader/Old.vue +1 -5
  8. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/utils/checkSubmit.ts +1 -1
  9. package/components/common/pages/backups/modals/lib/config/restore.ts +1 -0
  10. package/components/common/pages/backups/modals/lib/models/interfaces.ts +1 -0
  11. package/components/common/vm/actions/add/New.vue +3 -0
  12. package/components/common/vm/actions/add/Old.vue +3 -0
  13. package/components/common/vm/actions/clone/new/New.vue +2 -0
  14. package/components/common/vm/actions/clone/old/Old.vue +2 -0
  15. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +3 -0
  16. package/components/common/vm/actions/common/customizeHardware/New.vue +3 -0
  17. package/components/common/vm/actions/common/customizeHardware/Old.vue +3 -0
  18. package/components/common/vm/actions/common/customizeHardware/virtualHardware/New.vue +2 -2
  19. package/components/common/vm/actions/common/customizeHardware/virtualHardware/Old.vue +2 -2
  20. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +2 -2
  21. package/components/common/vm/actions/common/lib/models/interfaces.ts +1 -0
  22. package/components/common/vm/actions/lib/utils.ts +2 -0
  23. package/lib/models/store/vm/interfaces.ts +2 -0
  24. package/package.json +1 -1
@@ -29,7 +29,7 @@
29
29
  >
30
30
  </nuxt-link>
31
31
  </div>
32
- <form style="width: 100%; height: 100%" @click="onTemp">
32
+ <form>
33
33
  <atoms-input-search />
34
34
  </form>
35
35
 
@@ -146,10 +146,6 @@ const onUpdateLanguage = (language: string): void => {
146
146
  }
147
147
 
148
148
  const isShowFeedback = ref<boolean>(false)
149
-
150
- const onTemp = (): void => {
151
- useLocalStorage('temp', true)
152
- }
153
149
  </script>
154
150
 
155
151
  <style scoped lang="scss">
@@ -1,7 +1,7 @@
1
1
  import type { UI_I_AdvancedCounterItem } from '~/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/models/interfaces'
2
2
  import {
3
3
  allowedHostCpuFieldNotObject,
4
- // allowedHostNetworkFieldNotObject,
4
+ allowedHostNetworkFieldNotObject,
5
5
  } from '~/components/common/monitor/advanced/tools/chartOptionsModal/lib/config'
6
6
 
7
7
  export const checkIsDisabledSubmit = (
@@ -45,6 +45,7 @@ export const restoreDefaultFormFunc = (): UI_I_RestoreForm => {
45
45
  disk_devices: [],
46
46
  network_devices: [],
47
47
  passthrough_pci_devices: [],
48
+ passthrough_usb_devices: [],
48
49
  options: {
49
50
  remote_console: {
50
51
  type: '',
@@ -126,6 +126,7 @@ export interface API_UI_I_Pvm {
126
126
  }
127
127
  }
128
128
  passthrough_pci_devices: any[]
129
+ passthrough_usb_devices: any[]
129
130
  snapshots: any
130
131
  storage: {
131
132
  folder: string
@@ -269,6 +269,7 @@
269
269
  :datastore="props.datastore"
270
270
  :is-datastore-loading="props.isDatastoreLoading"
271
271
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
272
+ :usb-devices="props.usbDevices"
272
273
  :passthrough-devices="props.passthroughDevices"
273
274
  :mediated-devices="props.mediatedDevices"
274
275
  :compute-resource="computeResource"
@@ -329,6 +330,7 @@
329
330
  :datastore="props.datastore"
330
331
  :is-datastore-loading="props.isDatastoreLoading"
331
332
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
333
+ :usb-devices="props.usbDevices"
332
334
  :passthrough-devices="props.passthroughDevices"
333
335
  :mediated-devices="props.mediatedDevices"
334
336
  :compute-resource="computeResource"
@@ -462,6 +464,7 @@ const props = withDefaults(
462
464
  vmCpuHelpTextSecond: string
463
465
  importFromVMWarevSphere: string
464
466
  getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
467
+ usbDevices: any[]
465
468
  passthroughDevices: UI_I_PciDevice[]
466
469
  mediatedDevices: UI_I_MediatedDevice[]
467
470
  templatesTree: UI_I_TreeNode[]
@@ -118,6 +118,7 @@
118
118
  :datastore="props.datastore"
119
119
  :is-datastore-loading="props.isDatastoreLoading"
120
120
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
121
+ :usb-devices="props.usbDevices"
121
122
  :passthrough-devices="props.passthroughDevices"
122
123
  :mediated-devices="props.mediatedDevices"
123
124
  :compute-resource="computeResource"
@@ -156,6 +157,7 @@
156
157
  :datastore="props.datastore"
157
158
  :is-datastore-loading="props.isDatastoreLoading"
158
159
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
160
+ :usb-devices="props.usbDevices"
159
161
  :passthrough-devices="props.passthroughDevices"
160
162
  :mediated-devices="props.mediatedDevices"
161
163
  :compute-resource="computeResource"
@@ -261,6 +263,7 @@ const props = withDefaults(
261
263
  vmCpuHelpTextSecond: string
262
264
  importFromVMWarevSphere: string
263
265
  getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
266
+ usbDevices: any[]
264
267
  passthroughDevices: UI_I_PciDevice[]
265
268
  mediatedDevices: UI_I_MediatedDevice[]
266
269
  templatesTree: UI_I_TreeNode[]
@@ -174,6 +174,7 @@
174
174
  :networks-table="props.networksTable"
175
175
  :error-validation-fields="props.errorValidationFields"
176
176
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
177
+ :usb-devices="props.usbDevices"
177
178
  :passthrough-devices="props.passthroughDevices"
178
179
  :mediated-devices="props.mediatedDevices"
179
180
  :get-datastore-table-func="props.getDatastoreTableFunc"
@@ -314,6 +315,7 @@ const props = withDefaults(
314
315
  readyCompleteTableInfo: UI_I_TableInfoItem[]
315
316
  vmCpuHelpTextSecond: string
316
317
  getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
318
+ usbDevices: any[]
317
319
  passthroughDevices: UI_I_PciDevice[]
318
320
  mediatedDevices: UI_I_MediatedDevice[]
319
321
  nameRequestUrl: string
@@ -103,6 +103,7 @@
103
103
  :networks-table="props.networksTable"
104
104
  :error-validation-fields="props.errorValidationFields"
105
105
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
106
+ :usb-devices="props.usbDevices"
106
107
  :passthrough-devices="props.passthroughDevices"
107
108
  :mediated-devices="props.mediatedDevices"
108
109
  :get-datastore-table-func="props.getDatastoreTableFunc"
@@ -177,6 +178,7 @@ const props = withDefaults(
177
178
  readyCompleteTableInfo: UI_I_TableInfoItem[]
178
179
  vmCpuHelpTextSecond: string
179
180
  getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
181
+ usbDevices: any[]
180
182
  passthroughDevices: UI_I_PciDevice[]
181
183
  mediatedDevices: UI_I_MediatedDevice[]
182
184
  nameRequestUrl: string
@@ -23,6 +23,7 @@
23
23
  :is-edit="props.isEdit"
24
24
  :is-clone="props.isClone"
25
25
  :state="props.state"
26
+ :usb-devices="props.usbDevices"
26
27
  :passthrough-devices="props.passthroughDevices"
27
28
  :mediated-devices="props.mediatedDevices"
28
29
  :project="props.project"
@@ -101,6 +102,7 @@ const props = withDefaults(
101
102
  isEdit?: boolean
102
103
  isClone?: boolean
103
104
  state?: string | number
105
+ usbDevices?: any[]
104
106
  passthroughDevices?: UI_I_PciDevice[]
105
107
  mediatedDevices?: UI_I_MediatedDevice[]
106
108
  project?: UI_T_Project
@@ -119,6 +121,7 @@ const props = withDefaults(
119
121
  isEdit: false,
120
122
  isClone: false,
121
123
  state: undefined,
124
+ usbDevices: undefined,
122
125
  passthroughDevices: undefined,
123
126
  mediatedDevices: undefined,
124
127
  project: undefined,
@@ -45,6 +45,7 @@
45
45
  :datastore="props.datastore"
46
46
  :is-datastore-loading="props.isDatastoreLoading"
47
47
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
48
+ :usb-devices="props.usbDevices"
48
49
  :passthrough-devices="props.passthroughDevices"
49
50
  :mediated-devices="props.mediatedDevices"
50
51
  :project="props.project"
@@ -136,6 +137,7 @@ const props = withDefaults(
136
137
  hardDisks?: UI_I_SendDataNewHardDisk[] | null
137
138
  pciDevices?: UI_I_SendDataNewPciDevice[]
138
139
  cdDvdDrives?: UI_I_SendDataNewCdDvdDrive[] | null
140
+ usbDevices?: any[]
139
141
  passthroughDevices?: UI_I_PciDevice[]
140
142
  mediatedDevices?: UI_I_MediatedDevice[]
141
143
  vmCpuHelpTextSecond?: string
@@ -153,6 +155,7 @@ const props = withDefaults(
153
155
  hardDisks: undefined,
154
156
  pciDevices: undefined,
155
157
  cdDvdDrives: undefined,
158
+ usbDevices: undefined,
156
159
  passthroughDevices: undefined,
157
160
  mediatedDevices: undefined,
158
161
  vmCpuHelpTextSecond: undefined,
@@ -31,6 +31,7 @@
31
31
  :datastore="props.datastore"
32
32
  :is-datastore-loading="props.isDatastoreLoading"
33
33
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
34
+ :usb-devices="props.usbDevices"
34
35
  :passthrough-devices="props.passthroughDevices"
35
36
  :mediated-devices="props.mediatedDevices"
36
37
  :project="props.project"
@@ -118,6 +119,7 @@ const props = withDefaults(
118
119
  hardDisks?: UI_I_SendDataNewHardDisk[] | null
119
120
  pciDevices?: UI_I_SendDataNewPciDevice[]
120
121
  cdDvdDrives?: UI_I_SendDataNewCdDvdDrive[] | null
122
+ usbDevices?: any[]
121
123
  passthroughDevices?: UI_I_PciDevice[]
122
124
  mediatedDevices?: UI_I_MediatedDevice[]
123
125
  vmCpuHelpTextSecond?: string
@@ -134,6 +136,7 @@ const props = withDefaults(
134
136
  hardDisks: undefined,
135
137
  pciDevices: undefined,
136
138
  cdDvdDrives: undefined,
139
+ usbDevices: undefined,
137
140
  passthroughDevices: undefined,
138
141
  mediatedDevices: undefined,
139
142
  vmCpuHelpTextSecond: undefined,
@@ -58,8 +58,8 @@
58
58
  )"
59
59
  :key="props.hardDisksIndex[key]"
60
60
  >
61
- <!-- TODO 111-->
62
- <!-- v-model:vm-storage-policy="item.vm_storage_policy"-->
61
+ <!-- TODO 111-->
62
+ <!-- v-model:vm-storage-policy="item.vm_storage_policy"-->
63
63
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk
64
64
  v-model:size="item.size"
65
65
  v-model:provision-type="item.provision_type"
@@ -36,8 +36,8 @@
36
36
  )"
37
37
  :key="props.hardDisksIndex[key]"
38
38
  >
39
- <!-- TODO 111-->
40
- <!-- v-model:vm-storage-policy="item.vm_storage_policy"-->
39
+ <!-- TODO 111-->
40
+ <!-- v-model:vm-storage-policy="item.vm_storage_policy"-->
41
41
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk
42
42
  v-model:size="item.size"
43
43
  v-model:provision-type="item.provision_type"
@@ -34,8 +34,8 @@
34
34
  :state="state"
35
35
  :video-card="videoCard"
36
36
  :guest-machine-type="guestMachineType"
37
- :passthrough-devices="passthroughDevices"
38
- :mediated-devices="mediatedDevices"
37
+ :passthrough-devices="props.passthroughDevices"
38
+ :mediated-devices="props.mediatedDevices"
39
39
  :vm-cpu-help-text-second="vmCpuHelpTextSecond"
40
40
  :compute-resource="props.computeResource"
41
41
  :compatibility-info="props.compatibilityInfo"
@@ -137,6 +137,7 @@ export interface UI_I_CreateVmData {
137
137
  )[]
138
138
  network_devices: UI_I_SendDataNewNetwork[]
139
139
  passthrough_pci_devices: UI_I_SendDataNewPciDevice[]
140
+ passthrough_usb_devices: any[]
140
141
  usb_controllers: {
141
142
  type: string
142
143
  }[]
@@ -139,6 +139,7 @@ export const constructSendDataForm = (
139
139
  disk_devices,
140
140
  network_devices,
141
141
  passthrough_pci_devices,
142
+ passthrough_usb_devices,
142
143
  cpu,
143
144
  memory,
144
145
  usb_controllers,
@@ -169,6 +170,7 @@ export const constructSendDataForm = (
169
170
  disk_devices: diskDevices,
170
171
  network_devices: network_devices,
171
172
  passthrough_pci_devices: passthrough_pci_devices,
173
+ passthrough_usb_devices: passthrough_usb_devices,
172
174
  cpu: {
173
175
  vcpus: cpu.vcpus,
174
176
  max_vcpus: cpu.hotplug ? cpu.max_vcpus : 0,
@@ -210,6 +210,7 @@ export interface API_UI_I_Pvm {
210
210
  }
211
211
  }
212
212
  passthrough_pci_devices: any[]
213
+ passthrough_usb_devices: any[]
213
214
  snapshots: any
214
215
  storage: {
215
216
  folder: string
@@ -391,6 +392,7 @@ export interface API_UI_I_VmReadyToComplete {
391
392
  usb_controllers: API_UI_I_VmReadyToCompleteUsbController[]
392
393
  video_card: API_UI_I_VmReadyToCompleteVideoCard
393
394
  passthrough_pci_devices: API_UI_I_VmReadyToCompletePciDevice[]
395
+ passthrough_usb_devices: any[]
394
396
  }
395
397
  compute_resource?: string
396
398
  location?: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.837",
4
+ "version": "1.5.839",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",