bfg-common 1.5.548 → 1.5.550
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/CODE_STYLE.md +109 -109
- package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/collapse/CollapseNav.vue +170 -170
- package/components/atoms/perPage/PerPage.vue +58 -58
- package/components/atoms/table/dataGrid/DataGrid.vue +1718 -1718
- package/components/atoms/table/dataGrid/DataGridPagination.vue +97 -97
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
- package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
- package/components/common/backup/storage/actions/add/Add.vue +251 -251
- package/components/common/backup/storage/actions/add/lib/utils.ts +51 -51
- package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
- package/components/common/diagramMain/modals/lib/config/portModal.ts +251 -251
- package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +48 -48
- package/components/common/diagramMain/port/Port.vue +580 -580
- package/components/common/layout/theHeader/helpMenu/About.vue +79 -79
- package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +79 -79
- package/components/common/pages/backups/DetailView.vue +52 -52
- package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
- package/components/common/pages/backups/modals/Modals.vue +243 -243
- package/components/common/pages/backups/modals/createBackup/New.vue +2 -8
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
- package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +69 -69
- package/components/common/pages/backups/modals/lib/config/restore.ts +115 -115
- package/components/common/pages/backups/modals/lib/models/interfaces.ts +186 -186
- package/components/common/pages/backups/modals/restore/Restore.vue +5 -9
- package/components/common/pages/backups/modals/restore/RestoreNew.vue +3 -12
- package/components/common/pages/backups/modals/restore/RestoreOld.vue +18 -6
- package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
- package/components/common/pages/home/lib/models/interfaces.ts +48 -48
- package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
- package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
- package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
- package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
- package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
- package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
- package/components/common/select/radio/RadioGroup.vue +137 -137
- package/components/common/spiceConsole/Drawer.vue +420 -420
- package/components/common/spiceConsole/SpiceConsole.vue +184 -184
- package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
- package/components/common/tools/Actions.vue +207 -207
- package/components/common/treeView/TreeView.vue +52 -52
- package/components/common/vm/actions/add/Add.vue +877 -950
- package/components/common/vm/actions/add/New.vue +652 -690
- package/components/common/vm/actions/add/Old.vue +363 -402
- package/components/common/vm/actions/add/lib/config/steps.ts +347 -347
- package/components/common/vm/actions/clone/Clone.vue +809 -809
- package/components/common/vm/actions/clone/new/New.vue +457 -457
- package/components/common/vm/actions/clone/old/Old.vue +378 -378
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +243 -308
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +328 -373
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +161 -205
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +694 -728
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +512 -523
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +328 -339
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +348 -368
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +241 -248
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue +184 -189
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +140 -140
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +300 -313
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +158 -158
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryOld.vue +155 -155
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +427 -427
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +154 -154
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +31 -31
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +47 -58
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +68 -65
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerOld.vue +64 -61
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +140 -162
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +6 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +6 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/lib/config/options.ts +4 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +53 -53
- package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +76 -163
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +87 -138
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +71 -120
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +46 -110
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +65 -85
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsOld.vue +70 -91
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +60 -60
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +156 -174
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +109 -74
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderOld.vue +104 -66
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +86 -101
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +163 -173
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsOld.vue +162 -170
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +142 -148
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +135 -141
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +74 -178
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/{KeymapNew.vue → New.vue} +45 -45
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/{KeymapOld.vue → Old.vue} +47 -47
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +102 -103
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +28 -28
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +26 -49
- package/components/common/vm/actions/common/lib/models/interfaces.ts +189 -157
- package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
- package/components/common/vm/actions/common/select/createType/CreateType.vue +38 -38
- package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/os/Old.vue +152 -152
- package/components/common/vm/actions/common/select/os/Os.vue +139 -139
- package/components/common/vm/actions/common/select/storage/Old.vue +125 -125
- package/components/common/vm/actions/common/select/storage/Storage.vue +178 -178
- package/components/common/vm/actions/common/select/storage/new/New.vue +311 -311
- package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
- package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
- package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
- package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
- package/components/common/vm/actions/lib/models/interfaces.ts +15 -40
- package/components/common/vm/actions/lib/utils.ts +244 -239
- package/components/common/vm/actions/register/Register.vue +352 -352
- package/components/common/vm/actions/register/lib/config/steps.ts +86 -86
- package/components/common/wizards/common/compatibility/Compatibility.vue +35 -35
- package/components/common/wizards/common/compatibility/New.vue +99 -99
- package/components/common/wizards/common/compatibility/Old.vue +53 -53
- package/components/common/wizards/common/steps/computeResource/ComputeResource.vue +86 -86
- package/components/common/wizards/common/steps/computeResource/New.vue +93 -93
- package/components/common/wizards/common/steps/computeResource/Old.vue +103 -103
- package/components/common/wizards/common/steps/name/Name.vue +178 -178
- package/components/common/wizards/common/steps/name/New.vue +221 -221
- package/components/common/wizards/common/steps/name/Old.vue +121 -121
- package/components/common/wizards/common/steps/name/lib/models/interfaces.ts +4 -4
- package/components/common/wizards/common/steps/name/location/Location.vue +85 -85
- package/components/common/wizards/common/steps/name/location/New.vue +40 -40
- package/components/common/wizards/datastore/add/Add.vue +228 -228
- package/components/common/wizards/datastore/add/lib/utils.ts +85 -85
- package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
- package/components/common/wizards/vm/migrate/select/computeResource/ComputeResource.vue +205 -205
- package/components/common/wizards/vm/migrate/select/network/Network.vue +103 -103
- package/composables/useAppVersion.ts +21 -21
- package/composables/useLocal.ts +6 -6
- package/composables/useLocalCommon.ts +39 -39
- package/package.json +1 -3
- package/plugins/console.ts +21 -21
- package/plugins/date.ts +233 -233
- package/plugins/mouse.ts +21 -21
- package/plugins/panelStates.ts +70 -70
- package/plugins/text.ts +59 -59
- package/public/spice-console/application/clientgui.js +854 -854
- package/public/spice-console/application/packetfactory.js +211 -211
- package/public/spice-console/application/virtualmouse.js +147 -147
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +440 -440
- package/public/spice-console/process/cursorprocess.js +121 -121
- package/public/spice-console/process/inputprocess.js +227 -227
- package/public/spice-console/process/mainprocess.js +210 -210
- package/public/spice-console/run.js +210 -210
- package/store/main/mutations.ts +7 -7
- package/store/main/state.ts +7 -7
- /package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/{PasswordNew.vue → New.vue} +0 -0
- /package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/{PasswordOld.vue → Old.vue} +0 -0
|
@@ -1,157 +1,189 @@
|
|
|
1
|
-
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
2
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
-
import type {
|
|
4
|
-
UI_I_SendDataNewNetwork,
|
|
5
|
-
UI_I_SendDataNewPciDevice,
|
|
6
|
-
UI_I_SendDataVideoCard,
|
|
7
|
-
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
8
|
-
import type {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
interface
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
boot_order: number
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
1
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
2
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
+
import type {
|
|
4
|
+
UI_I_SendDataNewNetwork,
|
|
5
|
+
UI_I_SendDataNewPciDevice,
|
|
6
|
+
UI_I_SendDataVideoCard,
|
|
7
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
8
|
+
import type {
|
|
9
|
+
UI_I_SendDataBootOptions,
|
|
10
|
+
UI_I_SendDataRemoteConsoleOptions,
|
|
11
|
+
UI_I_SendDataRemoteConsoleOptionsSpice,
|
|
12
|
+
UI_I_SendDataTools,
|
|
13
|
+
UI_I_SendDataVmoptions,
|
|
14
|
+
} from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
|
|
15
|
+
import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
|
|
16
|
+
import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
|
|
17
|
+
|
|
18
|
+
export interface UI_I_Capabilities {
|
|
19
|
+
bus_types: UI_I_ArbitraryObject<UI_I_ArbitraryObject<string>>
|
|
20
|
+
cdrom_bus_type: UI_I_ArbitraryObject<UI_I_ArbitraryObject<string>>
|
|
21
|
+
cpu_models: UI_I_ArbitraryObject<string>
|
|
22
|
+
machine_types: UI_I_ArbitraryObject<string>
|
|
23
|
+
max_mem_kib: number
|
|
24
|
+
max_vcpus: number
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface UI_I_DeployFromTemplate {
|
|
28
|
+
id: string
|
|
29
|
+
storage_dst: string
|
|
30
|
+
vm_name: string
|
|
31
|
+
start: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface UI_I_VmForm {
|
|
35
|
+
name: string
|
|
36
|
+
compatibility: string
|
|
37
|
+
storage: UI_I_DatastoreTableItem | null
|
|
38
|
+
guestMachineType: UI_I_OptionItem | null
|
|
39
|
+
guestOsFamily: UI_I_OptionItem | null
|
|
40
|
+
guestOsVersion: UI_I_OptionItem | null
|
|
41
|
+
computeResource: UI_I_TreeNode | null
|
|
42
|
+
locationPath: string
|
|
43
|
+
dataCenter: UI_I_TreeNode | null
|
|
44
|
+
options?: string[]
|
|
45
|
+
}
|
|
46
|
+
export interface UI_I_VmFormCash {
|
|
47
|
+
dataCenterId: string | number | null
|
|
48
|
+
computeResourceTypeAndId: string | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface UI_I_ErrorMessage {
|
|
52
|
+
title: string
|
|
53
|
+
descriptions: string[]
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface UI_I_CreateVmDataUsbController {
|
|
57
|
+
type: string
|
|
58
|
+
}
|
|
59
|
+
interface UI_I_CreateVmDataInputDevices {
|
|
60
|
+
type: string
|
|
61
|
+
bus: string
|
|
62
|
+
}
|
|
63
|
+
export interface UI_I_CreateVmDataNewDiskDevice {
|
|
64
|
+
create: boolean
|
|
65
|
+
size: number
|
|
66
|
+
bus: string
|
|
67
|
+
storage_id: string
|
|
68
|
+
provision_type: string
|
|
69
|
+
disk_mode: string
|
|
70
|
+
boot_order: number
|
|
71
|
+
// новое
|
|
72
|
+
device_type: string
|
|
73
|
+
sharing: boolean
|
|
74
|
+
shares: number
|
|
75
|
+
cache: string
|
|
76
|
+
io: string
|
|
77
|
+
limit_iops: number
|
|
78
|
+
}
|
|
79
|
+
export interface UI_I_EditVmDataDiskDevice {
|
|
80
|
+
size: number
|
|
81
|
+
source: string
|
|
82
|
+
storage_id: string
|
|
83
|
+
device_type: string
|
|
84
|
+
bus: string
|
|
85
|
+
target: string
|
|
86
|
+
boot_order: number
|
|
87
|
+
provision_type: string
|
|
88
|
+
disk_mode: string
|
|
89
|
+
sharing: boolean
|
|
90
|
+
read_only: boolean
|
|
91
|
+
shares: number
|
|
92
|
+
cache: string
|
|
93
|
+
io: string
|
|
94
|
+
limit_iops: number
|
|
95
|
+
discard: string
|
|
96
|
+
attach: boolean
|
|
97
|
+
detach: boolean
|
|
98
|
+
remove: boolean
|
|
99
|
+
create: boolean
|
|
100
|
+
}
|
|
101
|
+
export interface UI_I_CreateVmDataExistDiskDevice {
|
|
102
|
+
create: false
|
|
103
|
+
source: string
|
|
104
|
+
bus: string
|
|
105
|
+
device_type: string
|
|
106
|
+
provision_type: string
|
|
107
|
+
disk_mode: string
|
|
108
|
+
boot_order: number
|
|
109
|
+
// новое
|
|
110
|
+
sharing: boolean
|
|
111
|
+
shares: number
|
|
112
|
+
cache: string
|
|
113
|
+
io: string
|
|
114
|
+
limit_iops: number
|
|
115
|
+
}
|
|
116
|
+
export interface UI_I_CreateVmDataCdDvdDevice {
|
|
117
|
+
create: false
|
|
118
|
+
source: string
|
|
119
|
+
bus: string
|
|
120
|
+
device_type: 'cdrom'
|
|
121
|
+
boot_order: number
|
|
122
|
+
}
|
|
123
|
+
export interface UI_I_CreateVmData {
|
|
124
|
+
name: string
|
|
125
|
+
uuid: string
|
|
126
|
+
compatibility: string
|
|
127
|
+
guest_os_family: string
|
|
128
|
+
guest_os_version: string
|
|
129
|
+
machine_type: string
|
|
130
|
+
video_card: UI_I_SendDataVideoCard
|
|
131
|
+
disk_devices: (
|
|
132
|
+
| UI_I_CreateVmDataNewDiskDevice
|
|
133
|
+
| UI_I_CreateVmDataExistDiskDevice
|
|
134
|
+
| UI_I_CreateVmDataCdDvdDevice
|
|
135
|
+
)[]
|
|
136
|
+
network_devices: UI_I_SendDataNewNetwork[]
|
|
137
|
+
passthrough_pci_devices: UI_I_SendDataNewPciDevice[]
|
|
138
|
+
usb_controllers: {
|
|
139
|
+
type: string
|
|
140
|
+
}[]
|
|
141
|
+
input_devices: UI_I_CreateVmDataInputDevices[]
|
|
142
|
+
cpu: {
|
|
143
|
+
vcpus: number
|
|
144
|
+
max_vcpus: number
|
|
145
|
+
core_per_socket: number
|
|
146
|
+
model: string
|
|
147
|
+
reservation_mhz: number
|
|
148
|
+
limit_mhz: number
|
|
149
|
+
shares: number
|
|
150
|
+
hotplug: boolean
|
|
151
|
+
}
|
|
152
|
+
memory: {
|
|
153
|
+
size_mb: number
|
|
154
|
+
hotplug: boolean
|
|
155
|
+
reservation_mb: number
|
|
156
|
+
limit_mb: number
|
|
157
|
+
}
|
|
158
|
+
storage: {
|
|
159
|
+
id: string
|
|
160
|
+
} | null
|
|
161
|
+
options: {
|
|
162
|
+
remote_console: {
|
|
163
|
+
type: string
|
|
164
|
+
port: number
|
|
165
|
+
keymap: string
|
|
166
|
+
password: string
|
|
167
|
+
guest_os_lock: boolean
|
|
168
|
+
limit_sessions: number
|
|
169
|
+
spice: {
|
|
170
|
+
img_compression: string
|
|
171
|
+
jpeg_compression: string
|
|
172
|
+
zlib_glz_compression: string
|
|
173
|
+
streaming_mode: string
|
|
174
|
+
playback_compression: boolean
|
|
175
|
+
file_transfer: boolean
|
|
176
|
+
clipboard: boolean
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
guest_tools: {
|
|
180
|
+
enabled: boolean
|
|
181
|
+
synchronized_time: boolean
|
|
182
|
+
}
|
|
183
|
+
boot_options: {
|
|
184
|
+
firmware: string
|
|
185
|
+
boot_delay_ms: number
|
|
186
|
+
boot_menu: boolean
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="select-compatibility">
|
|
3
|
-
<p class="select-compatibility-block">
|
|
4
|
-
{{ props.description }}
|
|
5
|
-
</p>
|
|
6
|
-
<div class="select-compatibility-block version-select-wrap">
|
|
7
|
-
<label for="version-select"
|
|
8
|
-
>{{ localization.common.compatibleWith }}:</label
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
<atoms-tooltip-error
|
|
12
|
-
:has-error="!!props.apiError"
|
|
13
|
-
selector="#vm-wizard-version-select"
|
|
14
|
-
@remove="emits('remove-validation-error')"
|
|
15
|
-
>
|
|
16
|
-
<template #elem>
|
|
17
|
-
<select
|
|
18
|
-
id="vm-wizard-version-select"
|
|
19
|
-
v-model="selectedVersion"
|
|
20
|
-
data-id="vm-wizard-version-select"
|
|
21
|
-
>
|
|
22
|
-
<option v-for="(item, key) in props.versions" :key="key" :value="item">
|
|
23
|
-
{{ item.text }}
|
|
24
|
-
</option>
|
|
25
|
-
</select>
|
|
26
|
-
</template>
|
|
27
|
-
<template #content>{{ props.apiError }}</template>
|
|
28
|
-
</atoms-tooltip-error>
|
|
29
|
-
<!-- <div id="version-select-help-icon" class="flex-align-center relative">-->
|
|
30
|
-
<!-- <atoms-the-icon-->
|
|
31
|
-
<!-- fill="#0072a3"-->
|
|
32
|
-
<!-- width="24px"-->
|
|
33
|
-
<!-- height="24px"-->
|
|
34
|
-
<!-- name="info-circle"-->
|
|
35
|
-
<!-- @click="isShowHelp = !isShowHelp"-->
|
|
36
|
-
<!-- />-->
|
|
37
|
-
<!-- <atoms-tooltip-signpost-->
|
|
38
|
-
<!-- v-if="isShowHelp"-->
|
|
39
|
-
<!-- elem-id="version-select-help-icon"-->
|
|
40
|
-
<!-- @hide="isShowHelp = false"-->
|
|
41
|
-
<!-- >-->
|
|
42
|
-
<!-- <h3 class="help-title">{{ localization.common.help }}</h3>-->
|
|
43
|
-
|
|
44
|
-
<!-- <p>-->
|
|
45
|
-
<!-- {{-->
|
|
46
|
-
<!-- localization.common.eachVirtualMachineCompatibilitySettingIncludesHardwareAvailableVirtualMachine-->
|
|
47
|
-
<!-- }}-->
|
|
48
|
-
<!-- </p>-->
|
|
49
|
-
|
|
50
|
-
<!-- <a id="more-information-link" class="pointer">{{-->
|
|
51
|
-
<!-- localization.common.moreInformation-->
|
|
52
|
-
<!-- }}</a>-->
|
|
53
|
-
<!-- </atoms-tooltip-signpost>-->
|
|
54
|
-
<!-- </div>-->
|
|
55
|
-
</div>
|
|
56
|
-
<p class="select-compatibility-block">
|
|
57
|
-
{{ props.versionDescription }}
|
|
58
|
-
</p>
|
|
59
|
-
</div>
|
|
60
|
-
</template>
|
|
61
|
-
|
|
62
|
-
<script setup lang="ts">
|
|
63
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
64
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
65
|
-
|
|
66
|
-
const selectedVersion = defineModel<UI_I_OptionItem | null>('selectedVersion', {required: true})
|
|
67
|
-
|
|
68
|
-
const props = defineProps<{
|
|
69
|
-
versions: UI_I_OptionItem[]
|
|
70
|
-
description: string
|
|
71
|
-
versionDescription: string
|
|
72
|
-
apiError: string
|
|
73
|
-
}>()
|
|
74
|
-
const emits = defineEmits<{
|
|
75
|
-
(event: 'remove-validation-error'): void
|
|
76
|
-
}>()
|
|
77
|
-
|
|
78
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
79
|
-
|
|
80
|
-
</script>
|
|
81
|
-
|
|
82
|
-
<style scoped lang="scss">
|
|
83
|
-
.select-compatibility-block {
|
|
84
|
-
margin-top: 12px;
|
|
85
|
-
font-size: 13px;
|
|
86
|
-
|
|
87
|
-
&.version-select-wrap {
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
gap: 6px;
|
|
91
|
-
|
|
92
|
-
//#version-select-help-icon {
|
|
93
|
-
// .help-title {
|
|
94
|
-
// font-size: 22px;
|
|
95
|
-
// }
|
|
96
|
-
//
|
|
97
|
-
// p {
|
|
98
|
-
// width: 200px;
|
|
99
|
-
// }
|
|
100
|
-
//
|
|
101
|
-
// a {
|
|
102
|
-
// color: #0072a3;
|
|
103
|
-
// }
|
|
104
|
-
//}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="select-compatibility">
|
|
3
|
+
<p class="select-compatibility-block">
|
|
4
|
+
{{ props.description }}
|
|
5
|
+
</p>
|
|
6
|
+
<div class="select-compatibility-block version-select-wrap">
|
|
7
|
+
<label for="version-select"
|
|
8
|
+
>{{ localization.common.compatibleWith }}:</label
|
|
9
|
+
>
|
|
10
|
+
|
|
11
|
+
<atoms-tooltip-error
|
|
12
|
+
:has-error="!!props.apiError"
|
|
13
|
+
selector="#vm-wizard-version-select"
|
|
14
|
+
@remove="emits('remove-validation-error')"
|
|
15
|
+
>
|
|
16
|
+
<template #elem>
|
|
17
|
+
<select
|
|
18
|
+
id="vm-wizard-version-select"
|
|
19
|
+
v-model="selectedVersion"
|
|
20
|
+
data-id="vm-wizard-version-select"
|
|
21
|
+
>
|
|
22
|
+
<option v-for="(item, key) in props.versions" :key="key" :value="item">
|
|
23
|
+
{{ item.text }}
|
|
24
|
+
</option>
|
|
25
|
+
</select>
|
|
26
|
+
</template>
|
|
27
|
+
<template #content>{{ props.apiError }}</template>
|
|
28
|
+
</atoms-tooltip-error>
|
|
29
|
+
<!-- <div id="version-select-help-icon" class="flex-align-center relative">-->
|
|
30
|
+
<!-- <atoms-the-icon-->
|
|
31
|
+
<!-- fill="#0072a3"-->
|
|
32
|
+
<!-- width="24px"-->
|
|
33
|
+
<!-- height="24px"-->
|
|
34
|
+
<!-- name="info-circle"-->
|
|
35
|
+
<!-- @click="isShowHelp = !isShowHelp"-->
|
|
36
|
+
<!-- />-->
|
|
37
|
+
<!-- <atoms-tooltip-signpost-->
|
|
38
|
+
<!-- v-if="isShowHelp"-->
|
|
39
|
+
<!-- elem-id="version-select-help-icon"-->
|
|
40
|
+
<!-- @hide="isShowHelp = false"-->
|
|
41
|
+
<!-- >-->
|
|
42
|
+
<!-- <h3 class="help-title">{{ localization.common.help }}</h3>-->
|
|
43
|
+
|
|
44
|
+
<!-- <p>-->
|
|
45
|
+
<!-- {{-->
|
|
46
|
+
<!-- localization.common.eachVirtualMachineCompatibilitySettingIncludesHardwareAvailableVirtualMachine-->
|
|
47
|
+
<!-- }}-->
|
|
48
|
+
<!-- </p>-->
|
|
49
|
+
|
|
50
|
+
<!-- <a id="more-information-link" class="pointer">{{-->
|
|
51
|
+
<!-- localization.common.moreInformation-->
|
|
52
|
+
<!-- }}</a>-->
|
|
53
|
+
<!-- </atoms-tooltip-signpost>-->
|
|
54
|
+
<!-- </div>-->
|
|
55
|
+
</div>
|
|
56
|
+
<p class="select-compatibility-block">
|
|
57
|
+
{{ props.versionDescription }}
|
|
58
|
+
</p>
|
|
59
|
+
</div>
|
|
60
|
+
</template>
|
|
61
|
+
|
|
62
|
+
<script setup lang="ts">
|
|
63
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
64
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
65
|
+
|
|
66
|
+
const selectedVersion = defineModel<UI_I_OptionItem | null>('selectedVersion', {required: true})
|
|
67
|
+
|
|
68
|
+
const props = defineProps<{
|
|
69
|
+
versions: UI_I_OptionItem[]
|
|
70
|
+
description: string
|
|
71
|
+
versionDescription: string
|
|
72
|
+
apiError: string
|
|
73
|
+
}>()
|
|
74
|
+
const emits = defineEmits<{
|
|
75
|
+
(event: 'remove-validation-error'): void
|
|
76
|
+
}>()
|
|
77
|
+
|
|
78
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
79
|
+
|
|
80
|
+
</script>
|
|
81
|
+
|
|
82
|
+
<style scoped lang="scss">
|
|
83
|
+
.select-compatibility-block {
|
|
84
|
+
margin-top: 12px;
|
|
85
|
+
font-size: 13px;
|
|
86
|
+
|
|
87
|
+
&.version-select-wrap {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
gap: 6px;
|
|
91
|
+
|
|
92
|
+
//#version-select-help-icon {
|
|
93
|
+
// .help-title {
|
|
94
|
+
// font-size: 22px;
|
|
95
|
+
// }
|
|
96
|
+
//
|
|
97
|
+
// p {
|
|
98
|
+
// width: 200px;
|
|
99
|
+
// }
|
|
100
|
+
//
|
|
101
|
+
// a {
|
|
102
|
+
// color: #0072a3;
|
|
103
|
+
// }
|
|
104
|
+
//}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</style>
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<common-vm-actions-common-select-create-type-new
|
|
3
|
-
v-if="isNewView"
|
|
4
|
-
v-model="model"
|
|
5
|
-
:items="items"
|
|
6
|
-
:import-from-v-m-warev-sphere="props.importFromVMWarevSphere"
|
|
7
|
-
/>
|
|
8
|
-
<common-vm-actions-common-select-create-type-old
|
|
9
|
-
v-else
|
|
10
|
-
v-model="model"
|
|
11
|
-
:items="items"
|
|
12
|
-
:import-from-v-m-warev-sphere="props.importFromVMWarevSphere"
|
|
13
|
-
/>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script setup lang="ts">
|
|
17
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
18
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
19
|
-
import { itemsFunc } from '~/components/common/vm/actions/common/select/createType/lib/config/items'
|
|
20
|
-
|
|
21
|
-
const model = defineModel<string>()
|
|
22
|
-
|
|
23
|
-
const props = defineProps<{
|
|
24
|
-
importFromVMWarevSphere: string
|
|
25
|
-
}>()
|
|
26
|
-
|
|
27
|
-
const { $store }: any = useNuxtApp()
|
|
28
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
29
|
-
|
|
30
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
31
|
-
|
|
32
|
-
const items = computed<UI_I_OptionItem[]>(() =>
|
|
33
|
-
itemsFunc(localization.value, props.importFromVMWarevSphere)
|
|
34
|
-
)
|
|
35
|
-
</script>
|
|
36
|
-
|
|
37
|
-
<style scoped lang="scss">
|
|
38
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<common-vm-actions-common-select-create-type-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model="model"
|
|
5
|
+
:items="items"
|
|
6
|
+
:import-from-v-m-warev-sphere="props.importFromVMWarevSphere"
|
|
7
|
+
/>
|
|
8
|
+
<common-vm-actions-common-select-create-type-old
|
|
9
|
+
v-else
|
|
10
|
+
v-model="model"
|
|
11
|
+
:items="items"
|
|
12
|
+
:import-from-v-m-warev-sphere="props.importFromVMWarevSphere"
|
|
13
|
+
/>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
18
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
19
|
+
import { itemsFunc } from '~/components/common/vm/actions/common/select/createType/lib/config/items'
|
|
20
|
+
|
|
21
|
+
const model = defineModel<string>()
|
|
22
|
+
|
|
23
|
+
const props = defineProps<{
|
|
24
|
+
importFromVMWarevSphere: string
|
|
25
|
+
}>()
|
|
26
|
+
|
|
27
|
+
const { $store }: any = useNuxtApp()
|
|
28
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
29
|
+
|
|
30
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
31
|
+
|
|
32
|
+
const items = computed<UI_I_OptionItem[]>(() =>
|
|
33
|
+
itemsFunc(localization.value, props.importFromVMWarevSphere)
|
|
34
|
+
)
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<style scoped lang="scss">
|
|
38
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
2
|
-
|
|
3
|
-
export interface UI_I_VmCreateTypeOption extends UI_I_OptionItem {
|
|
4
|
-
description: string
|
|
5
|
-
}
|
|
1
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
2
|
+
|
|
3
|
+
export interface UI_I_VmCreateTypeOption extends UI_I_OptionItem {
|
|
4
|
+
description: string
|
|
5
|
+
}
|