bfg-common 1.4.393 → 1.4.395
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/components/common/layout/theHeader/feedback/new/New.vue +12 -12
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +7 -4
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +6 -3
- package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +24 -8
- package/components/common/layout/theHeader/feedback/new/tabs/lib/config/tabs.ts +2 -2
- package/components/common/summary/notification/Notification.vue +28 -0
- package/components/common/summary/notification/NotificationNew.vue +135 -0
- package/components/common/summary/notification/NotificationOld.vue +46 -0
- package/components/common/vm/actions/common/_customizeHardware/CustomizeHardware.vue +274 -0
- package/components/common/vm/actions/common/_customizeHardware/lib/config/navItems.ts +21 -0
- package/components/common/vm/actions/common/_customizeHardware/lib/models/interfaces.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/VirtualHardware.vue +702 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/BrowseView.vue +203 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/lib/models/interfaces.ts +8 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/Bus.vue +156 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/lib/config/options.ts +20 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +270 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/fileTypes.ts +9 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/options.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/models/types.ts +1 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Cpu.vue +403 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Hv.vue +99 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Iommu.vue +55 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Pc.vue +55 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Sa.vue +106 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/lib/config/cpuOptions.ts +21 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/Shares.vue +160 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +59 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/binaryOptions.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/dropdownItems.ts +66 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/interfaces.ts +118 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/types.ts +4 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/Limit.vue +236 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/lib/config/options.ts +28 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/Memory.vue +329 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/lib/config/memoryOptions.ts +35 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +462 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +81 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/lib/config/options.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +153 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/lib/config/options.ts +28 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/Location.vue +172 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +52 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +88 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options.ts +18 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +88 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/lib/config/options.ts +15 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +86 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/lib/config/options.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/Location.vue +145 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +305 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +87 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/lib/config/options.ts +9 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +148 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +168 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +48 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +49 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/lib/config/options.ts +10 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/note/Note.vue +27 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +42 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +82 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/lib/config/options.ts +6 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/other/Other.vue +32 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/Reservation.vue +237 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/lib/config/options.ts +33 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/Graphics.vue +50 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/VideoCard.vue +182 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/lib/config/options.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/Model.vue +59 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/lib/config/options.ts +10 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +83 -0
- package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/lib/config/options.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/Vmoptions.vue +181 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/BootOptions.vue +114 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/Secure.vue +50 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/Delay.vue +54 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/lib/config/config.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +84 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/lib/config/config.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/Order.vue +201 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/lib/models/interfaces.ts +9 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +192 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/lib/models/interfaces.ts +34 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +52 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +50 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +254 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/lib/config/config.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +56 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/lib/config/config.ts +6 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/lib/config/config.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +142 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/models/interfaces.ts +5 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/utils.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +56 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/lib/config/config.ts +11 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/lib/config/config.ts +7 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +57 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/lib/config/config.ts +14 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +85 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/lib/config/config.ts +12 -0
- package/components/common/vm/actions/common/_customizeHardware/vmoptions/tools/Tools.vue +72 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +119 -126
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +189 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +158 -0
- package/components/common/vm/actions/common/customizeHardware/lib/config/navItems.ts +17 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +165 -182
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +392 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +267 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +34 -93
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +118 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue +109 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +69 -111
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +159 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +158 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +13 -45
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +55 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaOld.vue +42 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +73 -139
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +185 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue +174 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +90 -90
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Iommu.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Pc.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +98 -98
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocket.vue +86 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +68 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketOld.vue +63 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlug.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlugNew.vue +31 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlugOld.vue +38 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModel.vue +121 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModelNew.vue +209 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModelOld.vue +171 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpu.vue +94 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuOld.vue +51 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +29 -49
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +58 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesOld.vue +76 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +10 -48
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +111 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipOld.vue +59 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +83 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +32 -52
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +70 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitOld.vue +75 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +53 -94
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +151 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryOld.vue +154 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlug.vue +29 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugOld.vue +43 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +77 -188
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +224 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +240 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +21 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheOld.vue +57 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/File.vue +22 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +28 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileOld.vue +24 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +32 -85
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +63 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsOld.vue +86 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +5 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModal.vue +52 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalNew.vue +74 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +28 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeOld.vue +25 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +24 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +46 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeOld.vue +57 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +24 -51
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningOld.vue +58 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +24 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingOld.vue +58 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +56 -89
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +124 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkOld.vue +131 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +22 -49
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +49 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeOld.vue +60 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +51 -80
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +69 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressOld.vue +84 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +16 -40
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +53 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerOld.vue +61 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +8 -24
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +27 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherOld.vue +32 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevices.vue +15 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +33 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesOld.vue +21 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +30 -71
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +98 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationOld.vue +96 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +39 -77
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +96 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +108 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +16 -41
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +40 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelOld.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +21 -47
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +45 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysOld.vue +56 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemory.vue +105 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +54 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryOld.vue +60 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +57 -93
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +102 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +96 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +39 -53
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +75 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsOld.vue +80 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +13 -41
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +35 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayOld.vue +41 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +20 -47
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +42 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareOld.vue +56 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/Menu.vue +20 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +25 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuOld.vue +36 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +13 -43
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +50 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderOld.vue +60 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +40 -155
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +141 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsOld.vue +137 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +140 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +254 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +28 -110
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPaste.vue +26 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteOld.vue +41 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransfer.vue +26 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferOld.vue +41 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharing.vue +20 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +30 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingOld.vue +37 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +16 -40
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +39 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapOld.vue +43 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +32 -73
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +100 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordOld.vue +92 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +13 -42
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +38 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +15 -38
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +39 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsOld.vue +48 -0
- package/package.json +2 -2
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CoresPerSocket.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CpuHotPlug.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CpuModel.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/MaxCpu.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/memory/MemoryHotPlug.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/DiskFile.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/MaximumSize.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/location/storageModalNew/StorageModalNew.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/location/storageModalNew/lib/config/table.ts +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/other/InputDevices.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/videoCard/TotalVideoMemory.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/bootOptions/Menu.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/CopyPaste.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/FileTransfer.vue +0 -0
- /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/FolderSharing.vue +0 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="vm-options">
|
|
3
|
+
<div class="clr-component">
|
|
4
|
+
<div class="stack-view">
|
|
5
|
+
<common-vm-actions-common-customize-hardware-vmoptions-general-options
|
|
6
|
+
v-model:vm-name="vmNameLocal"
|
|
7
|
+
v-model:guest-machine-type="guestMachineTypeLocal"
|
|
8
|
+
v-model:guest-os-family="guestOsFamilyLocal"
|
|
9
|
+
v-model:guest-os-version="guestOsVersionLocal"
|
|
10
|
+
:is-edit="props.isEdit"
|
|
11
|
+
:is-clone="props.isClone"
|
|
12
|
+
:state="props.state"
|
|
13
|
+
/>
|
|
14
|
+
<common-vm-actions-common-customize-hardware-vmoptions-remote-console-options
|
|
15
|
+
:error-validation-fields="props.errorValidationFields"
|
|
16
|
+
:remote-console-options="props.options?.remote_console"
|
|
17
|
+
:is-edit="props.isEdit"
|
|
18
|
+
:state="props.state"
|
|
19
|
+
@send-data="sendDataRemoteConsoleOptionsMethod"
|
|
20
|
+
@invalid="remoteConsoleOptionsInvalid = $event"
|
|
21
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
22
|
+
/>
|
|
23
|
+
<common-vm-actions-common-customize-hardware-vmoptions-tools
|
|
24
|
+
:tools="props.options?.guest_tools?.enabled"
|
|
25
|
+
@send-data="sendDataToolsMethod"
|
|
26
|
+
/>
|
|
27
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options
|
|
28
|
+
:error-validation-fields="props.errorValidationFields"
|
|
29
|
+
:hard-disks="props.hardDisks"
|
|
30
|
+
:cd-dvd-drives="props.cdDvdDrives"
|
|
31
|
+
:networks="props.networks"
|
|
32
|
+
:boot-options="props.options?.boot_options"
|
|
33
|
+
:is-edit="props.isEdit"
|
|
34
|
+
@change-boot-order="changeBootOrder"
|
|
35
|
+
@send-data="sendDataBootOptionsMethod"
|
|
36
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<script setup lang="ts">
|
|
44
|
+
import type {
|
|
45
|
+
UI_I_SendDataRemoteConsoleOptions,
|
|
46
|
+
UI_I_SendDataTools,
|
|
47
|
+
UI_I_SendDataBootOptions,
|
|
48
|
+
UI_I_SendDataVmoptions,
|
|
49
|
+
} from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
|
|
50
|
+
import type {
|
|
51
|
+
UI_I_SendDataNewCdDvdDrive,
|
|
52
|
+
UI_I_SendDataNewHardDisk,
|
|
53
|
+
UI_I_SendDataNewNetwork,
|
|
54
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
55
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
56
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
57
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
58
|
+
import type { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/lib/models/types'
|
|
59
|
+
|
|
60
|
+
const props = defineProps<{
|
|
61
|
+
vmName: string
|
|
62
|
+
guestMachineType: UI_I_OptionItem | null
|
|
63
|
+
guestOsFamily: UI_I_OptionItem | null
|
|
64
|
+
guestOsVersion: UI_I_OptionItem | null
|
|
65
|
+
hardDisks: UI_I_SendDataNewHardDisk[] | null
|
|
66
|
+
cdDvdDrives: UI_I_SendDataNewCdDvdDrive[] | null
|
|
67
|
+
networks: UI_I_SendDataNewNetwork[] | null
|
|
68
|
+
isEdit: boolean
|
|
69
|
+
isClone: boolean
|
|
70
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
71
|
+
options?: UI_I_SendDataVmoptions
|
|
72
|
+
state?: string | number
|
|
73
|
+
}>()
|
|
74
|
+
const emits = defineEmits<{
|
|
75
|
+
(
|
|
76
|
+
event: 'change-boot-order',
|
|
77
|
+
value: [
|
|
78
|
+
UI_I_SendDataNewHardDisk[],
|
|
79
|
+
UI_I_SendDataNewCdDvdDrive[],
|
|
80
|
+
UI_I_SendDataNewNetwork[]
|
|
81
|
+
]
|
|
82
|
+
): void
|
|
83
|
+
(event: 'send-data', value: UI_I_SendDataVmoptions): void
|
|
84
|
+
(event: 'invalid', value: string[]): void
|
|
85
|
+
(event: 'update:vm-name', value: string): void
|
|
86
|
+
(event: 'update:guest-machine-type', value: UI_I_OptionItem | null): void
|
|
87
|
+
(event: 'update:guest-os-family', value: UI_I_OptionItem | null): void
|
|
88
|
+
(event: 'update:guest-os-version', value: UI_I_OptionItem | null): void
|
|
89
|
+
(event: 'remove-error-by-title', value: string): void
|
|
90
|
+
}>()
|
|
91
|
+
|
|
92
|
+
const vmNameLocal = computed<string>({
|
|
93
|
+
get() {
|
|
94
|
+
return props.vmName
|
|
95
|
+
},
|
|
96
|
+
set(newValue) {
|
|
97
|
+
emits('update:vm-name', newValue)
|
|
98
|
+
},
|
|
99
|
+
})
|
|
100
|
+
const guestMachineTypeLocal = computed<UI_I_OptionItem | null>({
|
|
101
|
+
get() {
|
|
102
|
+
return props.guestMachineType
|
|
103
|
+
},
|
|
104
|
+
set(newValue) {
|
|
105
|
+
emits('update:guest-machine-type', newValue)
|
|
106
|
+
},
|
|
107
|
+
})
|
|
108
|
+
const guestOsFamilyLocal = computed<UI_I_OptionItem | null>({
|
|
109
|
+
get() {
|
|
110
|
+
return props.guestOsFamily
|
|
111
|
+
},
|
|
112
|
+
set(newValue) {
|
|
113
|
+
emits('update:guest-os-family', newValue)
|
|
114
|
+
},
|
|
115
|
+
})
|
|
116
|
+
const guestOsVersionLocal = computed<UI_I_OptionItem | null>({
|
|
117
|
+
get() {
|
|
118
|
+
return props.guestOsVersion
|
|
119
|
+
},
|
|
120
|
+
set(newValue) {
|
|
121
|
+
emits('update:guest-os-version', newValue)
|
|
122
|
+
},
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
126
|
+
|
|
127
|
+
const sendDataRemoteConsoleOptions =
|
|
128
|
+
ref<UI_I_SendDataRemoteConsoleOptions | null>(null)
|
|
129
|
+
const sendDataRemoteConsoleOptionsMethod = (
|
|
130
|
+
data: UI_I_SendDataRemoteConsoleOptions
|
|
131
|
+
): void => {
|
|
132
|
+
sendDataRemoteConsoleOptions.value = data
|
|
133
|
+
sendData()
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const sendDataTools = ref<UI_I_SendDataTools | null>(null)
|
|
137
|
+
const sendDataToolsMethod = (data: UI_I_SendDataTools): void => {
|
|
138
|
+
sendDataTools.value = data
|
|
139
|
+
sendData()
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
const sendDataBootOptions = ref<UI_I_SendDataBootOptions | null>(null)
|
|
143
|
+
const sendDataBootOptionsMethod = (data: UI_I_SendDataBootOptions): void => {
|
|
144
|
+
sendDataBootOptions.value = data
|
|
145
|
+
sendData()
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const changeBootOrder = (data: UI_T_ChangeBootOrder): void => {
|
|
149
|
+
emits('change-boot-order', data)
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const sendData = (): void => {
|
|
153
|
+
emits('send-data', {
|
|
154
|
+
remote_console: sendDataRemoteConsoleOptions.value,
|
|
155
|
+
guest_tools: sendDataTools.value,
|
|
156
|
+
boot_options: sendDataBootOptions.value,
|
|
157
|
+
})
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
const remoteConsoleOptionsInvalid = ref<boolean>(false)
|
|
161
|
+
|
|
162
|
+
watch(
|
|
163
|
+
remoteConsoleOptionsInvalid,
|
|
164
|
+
(newValue) => {
|
|
165
|
+
const remoteConsoleOptions = newValue
|
|
166
|
+
? localization.value.common.remoteConsoleOptions
|
|
167
|
+
: ''
|
|
168
|
+
emits('invalid', [remoteConsoleOptions])
|
|
169
|
+
},
|
|
170
|
+
{ immediate: true }
|
|
171
|
+
)
|
|
172
|
+
</script>
|
|
173
|
+
|
|
174
|
+
<style scoped lang="scss">
|
|
175
|
+
.clr-component {
|
|
176
|
+
padding-top: 36px;
|
|
177
|
+
}
|
|
178
|
+
.stack-view {
|
|
179
|
+
background-color: var(--block-view-bg-color);
|
|
180
|
+
}
|
|
181
|
+
</style>
|
package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/BootOptions.vue
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="boot-options">
|
|
3
|
+
<atoms-stack-block :has-children="true" test-id="boot-options-stack-block">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
<div
|
|
6
|
+
id="vm-wizard-toggle-block-boot-option"
|
|
7
|
+
data-id="vm-wizard-toggle-block-boot-option"
|
|
8
|
+
class="flex-align-center"
|
|
9
|
+
>
|
|
10
|
+
<span>{{ localization.common.bootOptions }}</span>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<template #stackChildren>
|
|
14
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-firmware
|
|
15
|
+
v-model:firmware="firmware"
|
|
16
|
+
:error-validation-fields="props.errorValidationFields"
|
|
17
|
+
:is-edit="props.isEdit"
|
|
18
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
19
|
+
/>
|
|
20
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-secure
|
|
21
|
+
v-if="firmware === 'uefi'"
|
|
22
|
+
v-model:secure-boot="secureBoot"
|
|
23
|
+
/>
|
|
24
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-menu
|
|
25
|
+
v-model:boot-menu="bootMenu"
|
|
26
|
+
/>
|
|
27
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-delay
|
|
28
|
+
v-model:boot-delay="bootDelay"
|
|
29
|
+
/>
|
|
30
|
+
<common-vm-actions-common-customize-hardware-vmoptions-boot-options-order
|
|
31
|
+
:hard-disks="props.hardDisks"
|
|
32
|
+
:cd-dvd-drives="props.cdDvdDrives"
|
|
33
|
+
:networks="props.networks"
|
|
34
|
+
@change="onChangeBootOrder"
|
|
35
|
+
/>
|
|
36
|
+
</template>
|
|
37
|
+
</atoms-stack-block>
|
|
38
|
+
</div>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script setup lang="ts">
|
|
42
|
+
import type { UI_I_SendDataBootOptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
|
|
43
|
+
import type {
|
|
44
|
+
UI_I_SendDataNewCdDvdDrive,
|
|
45
|
+
UI_I_SendDataNewHardDisk,
|
|
46
|
+
UI_I_SendDataNewNetwork,
|
|
47
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
48
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
49
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
50
|
+
import type { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/lib/models/types'
|
|
51
|
+
|
|
52
|
+
const emits = defineEmits<{
|
|
53
|
+
(
|
|
54
|
+
event: 'change-boot-order',
|
|
55
|
+
value: [
|
|
56
|
+
UI_I_SendDataNewHardDisk[],
|
|
57
|
+
UI_I_SendDataNewCdDvdDrive[],
|
|
58
|
+
UI_I_SendDataNewNetwork[]
|
|
59
|
+
]
|
|
60
|
+
): void
|
|
61
|
+
(event: 'send-data', value: UI_I_SendDataBootOptions): void
|
|
62
|
+
(event: 'remove-error-by-title', value: string): void
|
|
63
|
+
}>()
|
|
64
|
+
|
|
65
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
66
|
+
|
|
67
|
+
const props = defineProps<{
|
|
68
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
69
|
+
hardDisks: UI_I_SendDataNewHardDisk[] | null
|
|
70
|
+
cdDvdDrives: UI_I_SendDataNewCdDvdDrive[] | null
|
|
71
|
+
networks: UI_I_SendDataNewNetwork[] | null
|
|
72
|
+
bootOptions?: UI_I_SendDataBootOptions
|
|
73
|
+
isEdit: boolean
|
|
74
|
+
}>()
|
|
75
|
+
|
|
76
|
+
const firmware = ref<string>('efi')
|
|
77
|
+
|
|
78
|
+
const secureBoot = ref<boolean>(true)
|
|
79
|
+
|
|
80
|
+
const bootMenu = ref<boolean>(true)
|
|
81
|
+
|
|
82
|
+
const bootDelay = ref<number>(1000)
|
|
83
|
+
|
|
84
|
+
const onChangeBootOrder = (data: UI_T_ChangeBootOrder): void => {
|
|
85
|
+
emits('change-boot-order', data)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
watch(
|
|
89
|
+
[firmware, secureBoot, bootMenu, bootDelay],
|
|
90
|
+
() => {
|
|
91
|
+
emits('send-data', {
|
|
92
|
+
firmware: firmware.value,
|
|
93
|
+
boot_delay_ms: bootDelay.value,
|
|
94
|
+
boot_menu: bootMenu.value,
|
|
95
|
+
})
|
|
96
|
+
},
|
|
97
|
+
{ immediate: true }
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
// Добавляем данные для редактирования
|
|
101
|
+
watch(
|
|
102
|
+
() => props.bootOptions,
|
|
103
|
+
(newValue) => {
|
|
104
|
+
if (!newValue || !props.bootOptions) return
|
|
105
|
+
|
|
106
|
+
firmware.value = props.bootOptions.firmware
|
|
107
|
+
bootDelay.value = props.bootOptions.boot_delay_ms
|
|
108
|
+
bootMenu.value = props.bootOptions.boot_menu
|
|
109
|
+
},
|
|
110
|
+
{ immediate: true }
|
|
111
|
+
)
|
|
112
|
+
</script>
|
|
113
|
+
|
|
114
|
+
<style scoped lang="scss"></style>
|
package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/Secure.vue
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.secureBoot }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-align-center">
|
|
9
|
+
<input
|
|
10
|
+
id="secure-boot"
|
|
11
|
+
v-model="secureBootLocal"
|
|
12
|
+
data-id="secure-boot-checkbox"
|
|
13
|
+
type="checkbox"
|
|
14
|
+
/>
|
|
15
|
+
<label for="secure-boot" class="label-text-normal">{{
|
|
16
|
+
localization.common.enable
|
|
17
|
+
}}</label>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
</atoms-stack-block>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script setup lang="ts">
|
|
25
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
26
|
+
|
|
27
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
28
|
+
|
|
29
|
+
const props = defineProps<{
|
|
30
|
+
secureBoot: boolean
|
|
31
|
+
}>()
|
|
32
|
+
const emits = defineEmits<{
|
|
33
|
+
(event: 'update:secure-boot', value: boolean): void
|
|
34
|
+
}>()
|
|
35
|
+
|
|
36
|
+
const secureBootLocal = computed<boolean>({
|
|
37
|
+
get() {
|
|
38
|
+
return props.secureBoot
|
|
39
|
+
},
|
|
40
|
+
set(newValue) {
|
|
41
|
+
emits('update:secure-boot', newValue)
|
|
42
|
+
},
|
|
43
|
+
})
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<style scoped>
|
|
47
|
+
#secure-boot {
|
|
48
|
+
margin: 0 4px 4px 0;
|
|
49
|
+
}
|
|
50
|
+
</style>
|
package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/Delay.vue
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.bootDelay }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="select">
|
|
9
|
+
<select
|
|
10
|
+
id="boot-delay"
|
|
11
|
+
v-model="bootDelayLocal"
|
|
12
|
+
data-id="boot-delay-select"
|
|
13
|
+
>
|
|
14
|
+
<option
|
|
15
|
+
v-for="(item, key) in bootDelayOptions"
|
|
16
|
+
:key="key"
|
|
17
|
+
:value="item.value"
|
|
18
|
+
>
|
|
19
|
+
{{ item.text }}
|
|
20
|
+
</option>
|
|
21
|
+
</select>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
</atoms-stack-block>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script setup lang="ts">
|
|
29
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
30
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
31
|
+
import { bootDelayOptionsConfig } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/lib/config/config'
|
|
32
|
+
|
|
33
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
34
|
+
|
|
35
|
+
const props = defineProps<{
|
|
36
|
+
bootDelay: number
|
|
37
|
+
}>()
|
|
38
|
+
const emits = defineEmits<{
|
|
39
|
+
(event: 'update:boot-delay', value: number): void
|
|
40
|
+
}>()
|
|
41
|
+
|
|
42
|
+
const bootDelayOptions = ref<UI_I_OptionItem[]>(bootDelayOptionsConfig)
|
|
43
|
+
|
|
44
|
+
const bootDelayLocal = computed<number>({
|
|
45
|
+
get() {
|
|
46
|
+
return props.bootDelay
|
|
47
|
+
},
|
|
48
|
+
set(newValue) {
|
|
49
|
+
emits('update:boot-delay', newValue)
|
|
50
|
+
},
|
|
51
|
+
})
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<style scoped></style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
2
|
+
|
|
3
|
+
export const bootDelayOptionsConfig: UI_I_OptionItem[] = [
|
|
4
|
+
{ text: '0', value: 0 },
|
|
5
|
+
{ text: '1', value: 1_000 },
|
|
6
|
+
{ text: '2', value: 2_000 },
|
|
7
|
+
{ text: '3', value: 3_000 },
|
|
8
|
+
{ text: '4', value: 4_000 },
|
|
9
|
+
{ text: '5', value: 5_000 },
|
|
10
|
+
{ text: '6', value: 6_000 },
|
|
11
|
+
{ text: '7', value: 7_000 },
|
|
12
|
+
{ text: '8', value: 8_000 },
|
|
13
|
+
{ text: '9', value: 9_000 },
|
|
14
|
+
]
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.firmware }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!apiError"
|
|
10
|
+
selector="#vm-wizard-firmware-field"
|
|
11
|
+
@remove="onRemoveValidationError"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
id="vm-wizard-firmware-field"
|
|
17
|
+
v-model="firmwareLocal"
|
|
18
|
+
data-id="vm-wizard-firmware-select"
|
|
19
|
+
>
|
|
20
|
+
<option
|
|
21
|
+
v-for="(item, key) in firmwareOptions"
|
|
22
|
+
:key="key"
|
|
23
|
+
:value="item.value"
|
|
24
|
+
>
|
|
25
|
+
{{ item.text }}
|
|
26
|
+
</option>
|
|
27
|
+
</select>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
<template #content>
|
|
31
|
+
{{ apiError }}
|
|
32
|
+
</template>
|
|
33
|
+
</atoms-tooltip-error>
|
|
34
|
+
</template>
|
|
35
|
+
</atoms-stack-block>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script setup lang="ts">
|
|
40
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
42
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
|
+
import { firmwareOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/lib/config/config'
|
|
44
|
+
|
|
45
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
46
|
+
|
|
47
|
+
const props = defineProps<{
|
|
48
|
+
firmware: string
|
|
49
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
50
|
+
isEdit: boolean
|
|
51
|
+
}>()
|
|
52
|
+
const emits = defineEmits<{
|
|
53
|
+
(event: 'update:firmware', value: string): void
|
|
54
|
+
(event: 'remove-error-by-title', value: string): void
|
|
55
|
+
}>()
|
|
56
|
+
|
|
57
|
+
const firmwareOptions = ref<UI_I_OptionItem[]>(
|
|
58
|
+
firmwareOptionsFunc(localization.value)
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
const firmwareLocal = computed<string>({
|
|
62
|
+
get() {
|
|
63
|
+
return props.firmware
|
|
64
|
+
},
|
|
65
|
+
set(newValue) {
|
|
66
|
+
emits('update:firmware', newValue)
|
|
67
|
+
},
|
|
68
|
+
})
|
|
69
|
+
|
|
70
|
+
const typeError = 'options.boot_options.firmware'
|
|
71
|
+
|
|
72
|
+
const apiError = computed<string>(() => {
|
|
73
|
+
return (
|
|
74
|
+
props.errorValidationFields?.find((message) => message.field === typeError)
|
|
75
|
+
?.error_message || ''
|
|
76
|
+
)
|
|
77
|
+
})
|
|
78
|
+
|
|
79
|
+
const onRemoveValidationError = (): void => {
|
|
80
|
+
emits('remove-error-by-title', typeError)
|
|
81
|
+
}
|
|
82
|
+
</script>
|
|
83
|
+
|
|
84
|
+
<style scoped></style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
+
|
|
4
|
+
export const firmwareOptionsFunc = (
|
|
5
|
+
localization: UI_I_Localization
|
|
6
|
+
): UI_I_OptionItem[] => {
|
|
7
|
+
return [
|
|
8
|
+
{ text: `EFI (${localization.common.recommended})`, value: 'efi' },
|
|
9
|
+
{ text: 'BIOS', value: 'bios' },
|
|
10
|
+
]
|
|
11
|
+
}
|