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,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.videoCardModel }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="select">
|
|
9
|
+
<select
|
|
10
|
+
id="vm-wizard-video-card-adapter-field"
|
|
11
|
+
v-model="videoCardModel"
|
|
12
|
+
data-id="vm-wizard-video-card-adapter-field-select"
|
|
13
|
+
:disabled="props.disabled"
|
|
14
|
+
>
|
|
15
|
+
<option
|
|
16
|
+
v-for="(item, key) in props.videoCardModelOptions"
|
|
17
|
+
:key="key"
|
|
18
|
+
:value="item.value"
|
|
19
|
+
:disabled="item.disabled"
|
|
20
|
+
>
|
|
21
|
+
{{ item.text }}
|
|
22
|
+
</option>
|
|
23
|
+
</select>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
</atoms-stack-block>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script setup lang="ts">
|
|
31
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
32
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
33
|
+
|
|
34
|
+
const videoCardModel = defineModel<string>('video-card-model')
|
|
35
|
+
|
|
36
|
+
const props = defineProps<{
|
|
37
|
+
disabled: boolean
|
|
38
|
+
videoCardModelOptions: UI_I_OptionItem[]
|
|
39
|
+
}>()
|
|
40
|
+
|
|
41
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
<style scoped></style>
|
|
@@ -1,71 +1,45 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
data-id="vm-wizard-video-card-display-field-select"
|
|
19
|
-
:disabled="disabled"
|
|
20
|
-
>
|
|
21
|
-
<option
|
|
22
|
-
v-for="(item, key) in numberDisplaysOptions"
|
|
23
|
-
:key="key"
|
|
24
|
-
:value="item.value"
|
|
25
|
-
>
|
|
26
|
-
{{ item.text }}
|
|
27
|
-
</option>
|
|
28
|
-
</select>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
<template #content>{{ apiError }}</template>
|
|
32
|
-
</atoms-tooltip-error>
|
|
33
|
-
</template>
|
|
34
|
-
</atoms-stack-block>
|
|
35
|
-
</div>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-video-card-number-displays-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:number-displays="numberDisplays"
|
|
5
|
+
:disabled="props.disabled"
|
|
6
|
+
:error-text="apiError"
|
|
7
|
+
:number-displays-options="numberDisplaysOptions"
|
|
8
|
+
@remove-error="onRemoveValidationError"
|
|
9
|
+
/>
|
|
10
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-video-card-number-displays-old
|
|
11
|
+
v-else
|
|
12
|
+
v-model:number-displays="numberDisplays"
|
|
13
|
+
:disabled="props.disabled"
|
|
14
|
+
:error-text="apiError"
|
|
15
|
+
:number-displays-options="numberDisplaysOptions"
|
|
16
|
+
@remove-error="onRemoveValidationError"
|
|
17
|
+
/>
|
|
36
18
|
</template>
|
|
37
19
|
|
|
38
20
|
<script setup lang="ts">
|
|
39
21
|
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
40
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
22
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
42
23
|
import { numberDisplaysOptionsConfig } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/lib/config/options'
|
|
43
24
|
|
|
44
|
-
const
|
|
25
|
+
const numberDisplays = defineModel<string>('number-displays', {required: true})
|
|
45
26
|
|
|
46
27
|
const props = defineProps<{
|
|
47
|
-
numberDisplays: string
|
|
48
28
|
disabled: boolean
|
|
49
29
|
errorValidationFields: UI_I_ErrorValidationField[]
|
|
50
30
|
}>()
|
|
31
|
+
|
|
51
32
|
const emits = defineEmits<{
|
|
52
|
-
(event: 'update:number-displays', value: string): void
|
|
53
33
|
(event: 'remove-error-by-title', value: string): void
|
|
54
34
|
}>()
|
|
55
35
|
|
|
36
|
+
const { $store }: any = useNuxtApp()
|
|
37
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
38
|
+
|
|
56
39
|
const numberDisplaysOptions = ref<UI_I_OptionItem[]>(
|
|
57
40
|
numberDisplaysOptionsConfig
|
|
58
41
|
)
|
|
59
42
|
|
|
60
|
-
const numberDisplaysLocal = computed<string>({
|
|
61
|
-
get() {
|
|
62
|
-
return props.numberDisplays
|
|
63
|
-
},
|
|
64
|
-
set(newValue) {
|
|
65
|
-
emits('update:number-displays', newValue)
|
|
66
|
-
},
|
|
67
|
-
})
|
|
68
|
-
|
|
69
43
|
const typeError = 'video_card.displays'
|
|
70
44
|
|
|
71
45
|
const apiError = computed<string>(() => {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.numberDisplays }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<ui-select
|
|
8
|
+
id="vm-wizard-video-card-display-field"
|
|
9
|
+
v-model="numberDisplays"
|
|
10
|
+
width="auto"
|
|
11
|
+
:items="props.numberDisplaysOptions"
|
|
12
|
+
:disabled="props.disabled"
|
|
13
|
+
test-id="vm-wizard-video-card-display-field-select"
|
|
14
|
+
:error-text="props.errorText"
|
|
15
|
+
class="number-displays-select"
|
|
16
|
+
@click.stop
|
|
17
|
+
/>
|
|
18
|
+
</template>
|
|
19
|
+
</ui-stack-block>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script setup lang="ts">
|
|
23
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
24
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
25
|
+
|
|
26
|
+
const numberDisplays = defineModel<string>('number-displays', {required: true})
|
|
27
|
+
|
|
28
|
+
const props = defineProps<{
|
|
29
|
+
disabled: boolean
|
|
30
|
+
errorText: string
|
|
31
|
+
numberDisplaysOptions: UI_I_OptionItem[]
|
|
32
|
+
}>()
|
|
33
|
+
// const emits = defineEmits<{
|
|
34
|
+
// (event: 'remove-error'): void
|
|
35
|
+
// }>()
|
|
36
|
+
|
|
37
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style scoped>
|
|
41
|
+
:deep(.number-displays-select .ui-main-select-toggle) {
|
|
42
|
+
background-color: #ffffff;
|
|
43
|
+
width: 108px;
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.numberDisplays }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!props.errorText"
|
|
10
|
+
selector="#vm-wizard-video-card-display-field"
|
|
11
|
+
@remove="emits('remove-error')"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
id="vm-wizard-video-card-display-field"
|
|
17
|
+
v-model="numberDisplays"
|
|
18
|
+
data-id="vm-wizard-video-card-display-field-select"
|
|
19
|
+
:disabled="props.disabled"
|
|
20
|
+
>
|
|
21
|
+
<option
|
|
22
|
+
v-for="(item, key) in props.numberDisplaysOptions"
|
|
23
|
+
:key="key"
|
|
24
|
+
:value="item.value"
|
|
25
|
+
>
|
|
26
|
+
{{ item.text }}
|
|
27
|
+
</option>
|
|
28
|
+
</select>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
<template #content>{{ props.errorText }}</template>
|
|
32
|
+
</atoms-tooltip-error>
|
|
33
|
+
</template>
|
|
34
|
+
</atoms-stack-block>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<script setup lang="ts">
|
|
39
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
40
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
41
|
+
|
|
42
|
+
const numberDisplays = defineModel<string>('number-displays', {required: true})
|
|
43
|
+
|
|
44
|
+
const props = defineProps<{
|
|
45
|
+
disabled: boolean
|
|
46
|
+
errorText: string
|
|
47
|
+
numberDisplaysOptions: UI_I_OptionItem[]
|
|
48
|
+
}>()
|
|
49
|
+
const emits = defineEmits<{
|
|
50
|
+
(event: 'remove-error'): void
|
|
51
|
+
}>()
|
|
52
|
+
|
|
53
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
<style scoped></style>
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-video-card-total-video-memory-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:total-video-memory="totalVideoMemoryLocal"
|
|
5
|
+
:disabled="props.disabled"
|
|
6
|
+
:error-text="totalVideoMemoryLocalAndApiErrorsTexts"
|
|
7
|
+
:total-video-memory-local-error-text="totalVideoMemoryLocalErrorText"
|
|
8
|
+
@remove-error="onRemoveValidationError"
|
|
9
|
+
/>
|
|
10
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-video-card-total-video-memory-new
|
|
11
|
+
v-else
|
|
12
|
+
v-model:total-video-memory="totalVideoMemoryLocal"
|
|
13
|
+
:disabled="props.disabled"
|
|
14
|
+
:error-text="totalVideoMemoryLocalAndApiErrorsTexts"
|
|
15
|
+
:total-video-memory-local-error-text="totalVideoMemoryLocalErrorText"
|
|
16
|
+
@remove-error="onRemoveValidationError"
|
|
17
|
+
/>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
22
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
23
|
+
|
|
24
|
+
const props = defineProps<{
|
|
25
|
+
totalVideoMemory: number
|
|
26
|
+
disabled: boolean
|
|
27
|
+
isEdit: boolean
|
|
28
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
29
|
+
}>()
|
|
30
|
+
const emits = defineEmits<{
|
|
31
|
+
(event: 'update:total-video-memory', value: number): void
|
|
32
|
+
(event: 'invalid', value: boolean): void
|
|
33
|
+
(event: 'remove-error-by-title', value: string): void
|
|
34
|
+
}>()
|
|
35
|
+
|
|
36
|
+
const { $store }: any = useNuxtApp()
|
|
37
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
38
|
+
|
|
39
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
40
|
+
|
|
41
|
+
const totalVideoMemoryLocal = computed<number>({
|
|
42
|
+
get() {
|
|
43
|
+
return props.totalVideoMemory
|
|
44
|
+
},
|
|
45
|
+
set(newValue) {
|
|
46
|
+
// нужно для правильного отображения
|
|
47
|
+
const totalVideoMemoryInput = document.getElementById(
|
|
48
|
+
'vm-wizard-video-card-memory-field'
|
|
49
|
+
) as HTMLInputElement
|
|
50
|
+
totalVideoMemoryInput &&
|
|
51
|
+
(totalVideoMemoryInput.value = '' + Math.floor(newValue))
|
|
52
|
+
emits('update:total-video-memory', Math.floor(newValue))
|
|
53
|
+
},
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
const totalVideoMemoryMin = 8
|
|
57
|
+
const totalVideoMemoryMax = 128
|
|
58
|
+
const totalVideoMemoryLocalErrorText = computed<string>(() => {
|
|
59
|
+
const outOfRange =
|
|
60
|
+
!props.totalVideoMemory ||
|
|
61
|
+
props.totalVideoMemory < totalVideoMemoryMin ||
|
|
62
|
+
props.totalVideoMemory > totalVideoMemoryMax
|
|
63
|
+
if (outOfRange) {
|
|
64
|
+
return localization.value.common.totalVideoMemoryMustBetween
|
|
65
|
+
.replace('{0}', `${totalVideoMemoryMin} ${localization.value.common.mb}`)
|
|
66
|
+
.replace('{1}', `${totalVideoMemoryMax} ${localization.value.common.mb}`)
|
|
67
|
+
}
|
|
68
|
+
return ''
|
|
69
|
+
})
|
|
70
|
+
watch(totalVideoMemoryLocalErrorText, (newValue: string) => {
|
|
71
|
+
emits('invalid', !!newValue.length)
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
const typeError = 'video_card.memory_mb'
|
|
75
|
+
|
|
76
|
+
const apiErrorLocal = computed<string>(() => {
|
|
77
|
+
return (
|
|
78
|
+
props.errorValidationFields?.find((message) => message.field === typeError)
|
|
79
|
+
?.error_message || ''
|
|
80
|
+
)
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
const totalVideoMemoryLocalAndApiErrorsTexts = computed<string>(() => {
|
|
84
|
+
const localError = totalVideoMemoryLocalErrorText.value
|
|
85
|
+
const apiError = apiErrorLocal.value
|
|
86
|
+
|
|
87
|
+
let result = ''
|
|
88
|
+
if (localError && !apiError) result = localError
|
|
89
|
+
if (apiError && !localError) result = apiError
|
|
90
|
+
if (localError && apiError) result = localError + ', ' + apiError
|
|
91
|
+
if (!localError && apiError) result = apiError
|
|
92
|
+
|
|
93
|
+
return result
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
const onRemoveValidationError = (): void => {
|
|
97
|
+
emits('remove-error-by-title', typeError)
|
|
98
|
+
}
|
|
99
|
+
</script>
|
|
100
|
+
|
|
101
|
+
<style scoped lang="scss">
|
|
102
|
+
.has-error {
|
|
103
|
+
border: 1px solid #db2100;
|
|
104
|
+
}
|
|
105
|
+
</style>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.totalVideoMemory }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<div class="total-video-memory-content flex-align-center">
|
|
8
|
+
<div v-show="props.disabled">
|
|
9
|
+
{{ localization.common.automatic }}
|
|
10
|
+
</div>
|
|
11
|
+
<div v-show="!props.disabled">
|
|
12
|
+
<ui-input-with-tooltip
|
|
13
|
+
id="vm-wizard-video-card-memory-field"
|
|
14
|
+
v-model="totalVideoMemory"
|
|
15
|
+
test-id="vm-wizard-video-card-memory-input"
|
|
16
|
+
type="text"
|
|
17
|
+
size="sm"
|
|
18
|
+
:error-text="props.errorText"
|
|
19
|
+
/>
|
|
20
|
+
</div>
|
|
21
|
+
<span class="unit-text">{{ localization.common.mb }}</span>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
</ui-stack-block>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup lang="ts">
|
|
28
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
29
|
+
|
|
30
|
+
const totalVideoMemory = defineModel<number>('total-video-memory', {
|
|
31
|
+
required: true,
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
const props = defineProps<{
|
|
35
|
+
disabled: boolean
|
|
36
|
+
errorText: string
|
|
37
|
+
totalVideoMemoryLocalErrorText: string
|
|
38
|
+
}>()
|
|
39
|
+
// const emits = defineEmits<{
|
|
40
|
+
// (event: 'remove-error'): void
|
|
41
|
+
// }>()
|
|
42
|
+
|
|
43
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<style scoped lang="scss">
|
|
47
|
+
.unit-text {
|
|
48
|
+
margin-left: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:deep(.ui-main.ui-main-sm .ui-main-input) {
|
|
52
|
+
height: 26px;
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.totalVideoMemory }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-align-center">
|
|
9
|
+
<atoms-tooltip-error
|
|
10
|
+
:has-error="!!props.errorText"
|
|
11
|
+
selector="#vm-wizard-video-card-memory-field"
|
|
12
|
+
@remove="emits('remove-error')"
|
|
13
|
+
>
|
|
14
|
+
<template #elem>
|
|
15
|
+
<div v-show="props.disabled">
|
|
16
|
+
{{ localization.common.automatic }}
|
|
17
|
+
</div>
|
|
18
|
+
<div v-show="!props.disabled" class="flex-align-center">
|
|
19
|
+
<input
|
|
20
|
+
id="vm-wizard-video-card-memory-field"
|
|
21
|
+
v-model="totalVideoMemory"
|
|
22
|
+
data-id="vm-wizard-video-card-memory-input"
|
|
23
|
+
type="text"
|
|
24
|
+
:class="[{ 'has-error': props.totalVideoMemoryLocalErrorText }]"
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
<template #content>
|
|
29
|
+
{{ props.errorText }}
|
|
30
|
+
</template>
|
|
31
|
+
</atoms-tooltip-error>
|
|
32
|
+
<span>{{ localization.common.mb }}</span>
|
|
33
|
+
</div>
|
|
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
|
+
|
|
42
|
+
const totalVideoMemory = defineModel<number>('total-video-memory', {required: true})
|
|
43
|
+
|
|
44
|
+
const props = defineProps<{
|
|
45
|
+
disabled: boolean
|
|
46
|
+
errorText: string
|
|
47
|
+
totalVideoMemoryLocalErrorText: string
|
|
48
|
+
}>()
|
|
49
|
+
const emits = defineEmits<{
|
|
50
|
+
(event: 'remove-error'): void
|
|
51
|
+
}>()
|
|
52
|
+
|
|
53
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
<style scoped lang="scss">
|
|
57
|
+
.has-error {
|
|
58
|
+
border: 1px solid #db2100;
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
2
|
+
<common-vm-actions-common-customize-hardware-vmoptions-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:vm-name="vmName"
|
|
5
|
+
v-model:guest-machine-type="guestMachineType"
|
|
6
|
+
v-model:guest-os-family="guestOsFamily"
|
|
7
|
+
v-model:guest-os-version="guestOsVersion"
|
|
8
|
+
v-model:remote-console-options-invalid="remoteConsoleOptionsInvalid"
|
|
9
|
+
:hard-disks="props.hardDisks"
|
|
10
|
+
:cd-dvd-drives="props.cdDvdDrives"
|
|
11
|
+
:networks="props.networks"
|
|
12
|
+
:is-edit="props.isEdit"
|
|
13
|
+
:is-clone="props.isClone"
|
|
14
|
+
:error-validation-fields="props.errorValidationFields"
|
|
15
|
+
:options="props.options"
|
|
16
|
+
:state="props.state"
|
|
17
|
+
@change-boot-order="emits('change-boot-order', $event)"
|
|
18
|
+
@send-data-remote-console-options="sendDataRemoteConsoleOptionsMethod"
|
|
19
|
+
@send-data-tools="sendDataToolsMethod"
|
|
20
|
+
@send-data-boot-options="sendDataBootOptionsMethod"
|
|
21
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
22
|
+
/>
|
|
23
|
+
<common-vm-actions-common-customize-hardware-vmoptions-old
|
|
24
|
+
v-else
|
|
25
|
+
v-model:vm-name="vmName"
|
|
26
|
+
v-model:guest-machine-type="guestMachineType"
|
|
27
|
+
v-model:guest-os-family="guestOsFamily"
|
|
28
|
+
v-model:guest-os-version="guestOsVersion"
|
|
29
|
+
v-model:remote-console-options-invalid="remoteConsoleOptionsInvalid"
|
|
30
|
+
:hard-disks="props.hardDisks"
|
|
31
|
+
:cd-dvd-drives="props.cdDvdDrives"
|
|
32
|
+
:networks="props.networks"
|
|
33
|
+
:is-edit="props.isEdit"
|
|
34
|
+
:is-clone="props.isClone"
|
|
35
|
+
:error-validation-fields="props.errorValidationFields"
|
|
36
|
+
:options="props.options"
|
|
37
|
+
:state="props.state"
|
|
38
|
+
@change-boot-order="emits('change-boot-order', $event)"
|
|
39
|
+
@send-data-remote-console-options="sendDataRemoteConsoleOptionsMethod"
|
|
40
|
+
@send-data-tools="sendDataToolsMethod"
|
|
41
|
+
@send-data-boot-options="sendDataBootOptionsMethod"
|
|
42
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
43
|
+
/>
|
|
41
44
|
</template>
|
|
42
45
|
|
|
43
46
|
<script setup lang="ts">
|
|
@@ -54,14 +57,21 @@ import type {
|
|
|
54
57
|
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
55
58
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
56
59
|
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
|
|
61
|
+
const vmName = defineModel<string>('vm-name', { required: true })
|
|
62
|
+
const guestMachineType = defineModel<string>('guest-machine-type', {
|
|
63
|
+
required: true,
|
|
64
|
+
})
|
|
65
|
+
const guestOsFamily = defineModel<string>('guest-os-family', { required: true })
|
|
66
|
+
const guestOsVersion = defineModel<string>('guest-os-version', {
|
|
67
|
+
required: true,
|
|
68
|
+
})
|
|
69
|
+
const remoteConsoleOptionsInvalid = defineModel<boolean>(
|
|
70
|
+
'remote-console-options-invalid',
|
|
71
|
+
{ required: true }
|
|
72
|
+
)
|
|
59
73
|
|
|
60
74
|
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
75
|
hardDisks: UI_I_SendDataNewHardDisk[] | null
|
|
66
76
|
cdDvdDrives: UI_I_SendDataNewCdDvdDrive[] | null
|
|
67
77
|
networks: UI_I_SendDataNewNetwork[] | null
|
|
@@ -82,45 +92,11 @@ const emits = defineEmits<{
|
|
|
82
92
|
): void
|
|
83
93
|
(event: 'send-data', value: UI_I_SendDataVmoptions): void
|
|
84
94
|
(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
95
|
(event: 'remove-error-by-title', value: string): void
|
|
90
96
|
}>()
|
|
91
97
|
|
|
92
|
-
const
|
|
93
|
-
|
|
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
|
-
})
|
|
98
|
+
const { $store }: any = useNuxtApp()
|
|
99
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
124
100
|
|
|
125
101
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
126
102
|
|
|
@@ -145,10 +121,6 @@ const sendDataBootOptionsMethod = (data: UI_I_SendDataBootOptions): void => {
|
|
|
145
121
|
sendData()
|
|
146
122
|
}
|
|
147
123
|
|
|
148
|
-
const changeBootOrder = (data: UI_T_ChangeBootOrder): void => {
|
|
149
|
-
emits('change-boot-order', data)
|
|
150
|
-
}
|
|
151
|
-
|
|
152
124
|
const sendData = (): void => {
|
|
153
125
|
emits('send-data', {
|
|
154
126
|
remote_console: sendDataRemoteConsoleOptions.value,
|
|
@@ -157,8 +129,6 @@ const sendData = (): void => {
|
|
|
157
129
|
})
|
|
158
130
|
}
|
|
159
131
|
|
|
160
|
-
const remoteConsoleOptionsInvalid = ref<boolean>(false)
|
|
161
|
-
|
|
162
132
|
watch(
|
|
163
133
|
remoteConsoleOptionsInvalid,
|
|
164
134
|
(newValue) => {
|
|
@@ -172,10 +142,4 @@ watch(
|
|
|
172
142
|
</script>
|
|
173
143
|
|
|
174
144
|
<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
145
|
</style>
|