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
package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="virtual-hardware">
|
|
3
|
+
<div class="action-wrap">
|
|
4
|
+
<span class="device-count">{{deviceCountText}}</span>
|
|
5
|
+
|
|
6
|
+
<div>
|
|
7
|
+
<button
|
|
8
|
+
id="add-device-dropdown"
|
|
9
|
+
:class="['pointer', {active: isShowAddDeviceDropdown}]"
|
|
10
|
+
data-id="add-device-dropdown"
|
|
11
|
+
@click="isShowAddDeviceDropdown = !isShowAddDeviceDropdown"
|
|
12
|
+
>
|
|
13
|
+
<ui-icon name="plus" width="18" height="18" />
|
|
14
|
+
<span>
|
|
15
|
+
{{ addNewDeviceText }}
|
|
16
|
+
</span>
|
|
17
|
+
</button>
|
|
18
|
+
<ui-dropdown
|
|
19
|
+
:items="dropdownItems"
|
|
20
|
+
:show="isShowAddDeviceDropdown"
|
|
21
|
+
show-from-left
|
|
22
|
+
width="max-content"
|
|
23
|
+
elem-id="add-device-dropdown"
|
|
24
|
+
test-id="add-device-dropdown"
|
|
25
|
+
@select="onAddDevice"
|
|
26
|
+
@hide="isShowAddDeviceDropdown = false"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="clr-component">
|
|
32
|
+
<div class="stack-view">
|
|
33
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu
|
|
34
|
+
:max-cpus="props.maxCpus"
|
|
35
|
+
:cpu-models="props.cpuModels"
|
|
36
|
+
:cpu="props.cpu"
|
|
37
|
+
:is-edit="props.isEdit"
|
|
38
|
+
:state="props.state"
|
|
39
|
+
:error-validation-fields="props.errorValidationFields"
|
|
40
|
+
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
41
|
+
@send-data="emits('send-data-cpu-method', $event)"
|
|
42
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
43
|
+
@invalid="cpuInvalid = $event"
|
|
44
|
+
/>
|
|
45
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-memory
|
|
46
|
+
:max-memory="props.maxMemory"
|
|
47
|
+
:is-edit="props.isEdit"
|
|
48
|
+
:memory="props.memory"
|
|
49
|
+
:state="props.state"
|
|
50
|
+
:error-validation-fields="props.errorValidationFields"
|
|
51
|
+
@send-data="emits('send-data-memory-method', $event)"
|
|
52
|
+
@invalid="memoryInvalid = $event"
|
|
53
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
54
|
+
/>
|
|
55
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk
|
|
56
|
+
v-for="(item, key) in props.hardDisks"
|
|
57
|
+
:key="props.hardDisksIndex[key]"
|
|
58
|
+
:index="props.hardDisksIndex[key]"
|
|
59
|
+
:type="props.hardDisksType[key]"
|
|
60
|
+
:storage="props.storage"
|
|
61
|
+
:hard-disk="item"
|
|
62
|
+
:error-validation-fields="props.errorValidationFields"
|
|
63
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
64
|
+
:datastore="props.datastore"
|
|
65
|
+
:is-edit="props.isEdit"
|
|
66
|
+
:state="props.state"
|
|
67
|
+
:guest-machine-type="props.guestMachineType"
|
|
68
|
+
@remove="emits('remove-hard-disk', [props.hardDisksIndex[key], item])"
|
|
69
|
+
@roll-back="emits('roll-back-hard-disk', props.hardDisksIndex[key])"
|
|
70
|
+
@send-data="
|
|
71
|
+
emits('send-data-new-hard-disk-method', [
|
|
72
|
+
$event,
|
|
73
|
+
props.hardDisksIndex[key],
|
|
74
|
+
])
|
|
75
|
+
"
|
|
76
|
+
@invalid="
|
|
77
|
+
emits('set-invalid-hard-disk', [$event, props.hardDisksIndex[key]])
|
|
78
|
+
"
|
|
79
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
80
|
+
/>
|
|
81
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network
|
|
82
|
+
v-for="(item, key) in props.networks"
|
|
83
|
+
:key="props.networksIndex[key]"
|
|
84
|
+
:index="props.networksIndex[key]"
|
|
85
|
+
:type="props.networksType[key]"
|
|
86
|
+
:network="item"
|
|
87
|
+
:networks-table="props.networksTable"
|
|
88
|
+
:error-validation-fields="props.errorValidationFields"
|
|
89
|
+
:is-edit="props.isEdit"
|
|
90
|
+
:state="props.state"
|
|
91
|
+
:project="props.project"
|
|
92
|
+
@remove="emits('remove-network', props.networksIndex[key])"
|
|
93
|
+
@send-data="
|
|
94
|
+
emits('send-data-new-network-method', [
|
|
95
|
+
$event,
|
|
96
|
+
props.networksIndex[key],
|
|
97
|
+
])
|
|
98
|
+
"
|
|
99
|
+
@invalid="
|
|
100
|
+
emits('set-invalid-network', [$event, props.networksIndex[key]])
|
|
101
|
+
"
|
|
102
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
103
|
+
@get-networks-table="emits('get-networks-table', $event)"
|
|
104
|
+
/>
|
|
105
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive
|
|
106
|
+
v-for="(item, key) in props.cdDvdDrives"
|
|
107
|
+
:key="props.cdDvdDrivesIndex[key]"
|
|
108
|
+
:index="props.cdDvdDrivesIndex[key]"
|
|
109
|
+
:hard-disks-count="props.hardDisks?.length || 0"
|
|
110
|
+
:type="props.cdDvdDrivesType[key]"
|
|
111
|
+
:cd-dvd-drive="item"
|
|
112
|
+
:nodes="props.nodes"
|
|
113
|
+
:files="props.files"
|
|
114
|
+
:error-validation-fields="props.errorValidationFields"
|
|
115
|
+
:is-edit="props.isEdit"
|
|
116
|
+
:state="props.state"
|
|
117
|
+
:guest-machine-type="props.guestMachineType"
|
|
118
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
119
|
+
@get-storage="emits('get-storage', $event)"
|
|
120
|
+
@get-folders-or-files="emits('get-folders-or-files', $event)"
|
|
121
|
+
@get-active-device-child="emits('get-active-device-child', $event)"
|
|
122
|
+
@show-datastore-child="emits('show-datastore-child', $event)"
|
|
123
|
+
@remove="
|
|
124
|
+
emits('remove-cd-dvd-drive', [props.cdDvdDrivesIndex[key], item])
|
|
125
|
+
"
|
|
126
|
+
@roll-back="
|
|
127
|
+
emits('roll-back-cd-dvd-drive', props.cdDvdDrivesIndex[key])
|
|
128
|
+
"
|
|
129
|
+
@send-data="
|
|
130
|
+
emits('send-data-new-cd-dvd-drive-method', [
|
|
131
|
+
$event,
|
|
132
|
+
props.cdDvdDrivesIndex[key],
|
|
133
|
+
])
|
|
134
|
+
"
|
|
135
|
+
/>
|
|
136
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-usb-controller
|
|
137
|
+
:usb-controller="props.usbController"
|
|
138
|
+
:is-edit="props.isEdit"
|
|
139
|
+
:state="props.state"
|
|
140
|
+
@send-data="emits('send-data-new-usb-controller-method', $event)"
|
|
141
|
+
/>
|
|
142
|
+
<template v-if="props.passthroughDevices">
|
|
143
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device
|
|
144
|
+
v-for="(item, key) in props.pciDevices"
|
|
145
|
+
:key="props.pciDevicesIndex[key]"
|
|
146
|
+
:index="props.pciDevicesIndex[key]"
|
|
147
|
+
:pci-device="item"
|
|
148
|
+
:error-validation-fields="props.errorValidationFields"
|
|
149
|
+
:passthrough-devices="props.passthroughDevices"
|
|
150
|
+
:type="props.pciDevicesType[key]"
|
|
151
|
+
:is-edit="props.isEdit"
|
|
152
|
+
:state="props.state"
|
|
153
|
+
@remove="emits('remove-pci-device', props.pciDevicesIndex[key])"
|
|
154
|
+
@send-data="
|
|
155
|
+
emits('send-data-pci-devices-method', [
|
|
156
|
+
$event,
|
|
157
|
+
props.pciDevicesIndex[key],
|
|
158
|
+
])
|
|
159
|
+
"
|
|
160
|
+
@invalid="
|
|
161
|
+
emits('set-invalid-pci-device', [
|
|
162
|
+
$event,
|
|
163
|
+
props.pciDevicesIndex[key],
|
|
164
|
+
])
|
|
165
|
+
"
|
|
166
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
167
|
+
/>
|
|
168
|
+
</template>
|
|
169
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-video-card
|
|
170
|
+
:is-edit="props.isEdit"
|
|
171
|
+
:video-card="props.videoCard"
|
|
172
|
+
:error-validation-fields="props.errorValidationFields"
|
|
173
|
+
:state="props.state"
|
|
174
|
+
@send-data="emits('send-data-video-card-method', $event)"
|
|
175
|
+
@invalid="videoCardInvalid = $event"
|
|
176
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
177
|
+
/>
|
|
178
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-other />
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
<Teleport to="body">
|
|
183
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
|
|
184
|
+
v-if="props.isShowFileModal"
|
|
185
|
+
show
|
|
186
|
+
:nodes="props.nodes"
|
|
187
|
+
:files="props.files"
|
|
188
|
+
@submit="emits('add-exist-hard-disk', $event)"
|
|
189
|
+
@get-storage="emits('get-storage', $event)"
|
|
190
|
+
@get-folders-or-files="emits('get-folders-or-files', $event)"
|
|
191
|
+
@get-active-device-child="emits('get-active-device-child', $event)"
|
|
192
|
+
@show-datastore-child="emits('show-datastore-child', $event)"
|
|
193
|
+
@hide="emits('hide-file-modal')"
|
|
194
|
+
/>
|
|
195
|
+
</Teleport>
|
|
196
|
+
</div>
|
|
197
|
+
</template>
|
|
198
|
+
|
|
199
|
+
<script setup lang="ts">
|
|
200
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
|
201
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
202
|
+
import type { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
|
|
203
|
+
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
204
|
+
import type { UI_I_FolderOrFileTreePayload } from '~/lib/models/store/storage/interfaces'
|
|
205
|
+
import type { UI_I_FileTreeNode } from '~/components/lib/models/interfaces'
|
|
206
|
+
import type {
|
|
207
|
+
UI_I_SendDataCpu,
|
|
208
|
+
UI_I_SendDataMemory,
|
|
209
|
+
UI_I_SendDataNewHardDisk,
|
|
210
|
+
UI_I_SendDataNewNetwork,
|
|
211
|
+
UI_I_SendDataVideoCard,
|
|
212
|
+
UI_I_SendDataNewCdDvdDrive,
|
|
213
|
+
UI_I_SendDataNewPciDevice,
|
|
214
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
215
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
216
|
+
import type {
|
|
217
|
+
UI_T_HardDiskType,
|
|
218
|
+
UI_T_NetworkType,
|
|
219
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
|
|
220
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
221
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
222
|
+
import type {
|
|
223
|
+
API_UI_I_VmEditCpu,
|
|
224
|
+
API_UI_I_VmEditMemory,
|
|
225
|
+
UI_I_PciDevice,
|
|
226
|
+
} from '~/lib/models/store/vm/interfaces'
|
|
227
|
+
import { dropdownItemsNewFunc } from './lib/config/dropdownItems'
|
|
228
|
+
|
|
229
|
+
const cpuInvalid = defineModel<boolean>('cpu-invalid', { required: true })
|
|
230
|
+
const memoryInvalid = defineModel<boolean>('memory-invalid', { required: true })
|
|
231
|
+
const videoCardInvalid = defineModel<boolean>('video-card-invalid', {
|
|
232
|
+
required: true,
|
|
233
|
+
})
|
|
234
|
+
|
|
235
|
+
const props = defineProps<{
|
|
236
|
+
nodes: UI_I_FileTreeNode[]
|
|
237
|
+
files: UI_I_FileTreeNode[]
|
|
238
|
+
isEdit: boolean
|
|
239
|
+
storage: UI_I_DatastoreTableItem | null
|
|
240
|
+
project: UI_T_Project
|
|
241
|
+
maxCpus: number
|
|
242
|
+
maxMemory: number
|
|
243
|
+
cpuModels: UI_I_OptionItem[]
|
|
244
|
+
datastore: UI_I_DatastoreTableItem[]
|
|
245
|
+
networksType: UI_T_NetworkType[]
|
|
246
|
+
networksTable: UI_I_NetworkTableItem[]
|
|
247
|
+
// dropdownItems: UI_I_DropdownTreeItem[]
|
|
248
|
+
hardDisksType: UI_T_HardDiskType[]
|
|
249
|
+
networksIndex: number[]
|
|
250
|
+
hardDisksIndex: number[]
|
|
251
|
+
pciDevicesType: UI_T_NetworkType[]
|
|
252
|
+
isShowFileModal: boolean
|
|
253
|
+
pciDevicesIndex: number[]
|
|
254
|
+
cdDvdDrivesType: UI_T_NetworkType[]
|
|
255
|
+
cdDvdDrivesIndex: number[]
|
|
256
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
257
|
+
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
258
|
+
cpu?: API_UI_I_VmEditCpu
|
|
259
|
+
state?: string | number
|
|
260
|
+
memory?: API_UI_I_VmEditMemory
|
|
261
|
+
networks?: UI_I_SendDataNewNetwork[] | null
|
|
262
|
+
hardDisks?: UI_I_SendDataNewHardDisk[] | null
|
|
263
|
+
videoCard?: UI_I_SendDataVideoCard
|
|
264
|
+
pciDevices?: UI_I_SendDataNewPciDevice[]
|
|
265
|
+
cdDvdDrives?: UI_I_SendDataNewCdDvdDrive[] | null
|
|
266
|
+
usbController?: string
|
|
267
|
+
guestMachineType?: UI_I_OptionItem | null
|
|
268
|
+
passthroughDevices?: UI_I_PciDevice[]
|
|
269
|
+
vmCpuHelpTextSecond?: string
|
|
270
|
+
}>()
|
|
271
|
+
const emits = defineEmits<{
|
|
272
|
+
(event: 'add-device', value: { value: number }): void
|
|
273
|
+
(event: 'get-storage', value: UI_I_TablePayload): void
|
|
274
|
+
(event: 'remove-network', value: number): void
|
|
275
|
+
(event: 'hide-file-modal'): void
|
|
276
|
+
(event: 'remove-hard-disk', value: [number, UI_I_SendDataNewHardDisk]): void
|
|
277
|
+
(event: 'remove-pci-device', value: number): void
|
|
278
|
+
(event: 'get-networks-table', value: UI_I_TablePayload): void
|
|
279
|
+
(event: 'add-exist-hard-disk', value: UI_I_FileTreeNode): void
|
|
280
|
+
(event: 'roll-back-hard-disk', value: number): void
|
|
281
|
+
(event: 'set-invalid-network', value: [boolean, number]): void
|
|
282
|
+
(
|
|
283
|
+
event: 'remove-cd-dvd-drive',
|
|
284
|
+
value: [number, UI_I_SendDataNewCdDvdDrive]
|
|
285
|
+
): void
|
|
286
|
+
(event: 'show-datastore-child', value: UI_I_FileTreeNode): void
|
|
287
|
+
(event: 'get-folders-or-files', value: UI_I_FolderOrFileTreePayload): void
|
|
288
|
+
(event: 'send-data-cpu-method', value: UI_I_SendDataCpu): void
|
|
289
|
+
(event: 'set-invalid-hard-disk', value: [boolean, number]): void
|
|
290
|
+
(event: 'remove-error-by-title', value: string): void
|
|
291
|
+
(event: 'roll-back-cd-dvd-drive', value: number): void
|
|
292
|
+
(event: 'set-invalid-pci-device', value: [boolean, number]): void
|
|
293
|
+
(event: 'get-active-device-child', value: UI_I_FileTreeNode): void
|
|
294
|
+
(event: 'send-data-memory-method', value: UI_I_SendDataMemory): void
|
|
295
|
+
(event: 'send-data-video-card-method', value: UI_I_SendDataVideoCard): void
|
|
296
|
+
(
|
|
297
|
+
event: 'send-data-new-network-method',
|
|
298
|
+
value: [UI_I_SendDataNewNetwork, number]
|
|
299
|
+
): void
|
|
300
|
+
(
|
|
301
|
+
event: 'send-data-pci-devices-method',
|
|
302
|
+
value: [UI_I_SendDataNewPciDevice, number]
|
|
303
|
+
): void
|
|
304
|
+
(
|
|
305
|
+
event: 'send-data-new-hard-disk-method',
|
|
306
|
+
value: [UI_I_SendDataNewHardDisk, number]
|
|
307
|
+
): void
|
|
308
|
+
(
|
|
309
|
+
event: 'send-data-new-cd-dvd-drive-method',
|
|
310
|
+
value: [UI_I_SendDataNewCdDvdDrive, number]
|
|
311
|
+
): void
|
|
312
|
+
(event: 'send-data-new-usb-controller-method', value: string): void
|
|
313
|
+
}>()
|
|
314
|
+
|
|
315
|
+
const { $text } = useNuxtApp()
|
|
316
|
+
|
|
317
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
318
|
+
|
|
319
|
+
const isShowAddDeviceDropdown = ref<boolean>(false)
|
|
320
|
+
|
|
321
|
+
const addNewDeviceText = computed<string>(() =>
|
|
322
|
+
$text.toCapitalize(localization.value.common.addNewDevice)
|
|
323
|
+
)
|
|
324
|
+
const deviceCount = computed<number>(
|
|
325
|
+
() =>
|
|
326
|
+
(props.hardDisks?.length || 0) +
|
|
327
|
+
(props.networks?.length || 0) +
|
|
328
|
+
(props.cdDvdDrives?.length || 0) +
|
|
329
|
+
(props.pciDevices?.length || 0) +
|
|
330
|
+
6
|
|
331
|
+
)
|
|
332
|
+
const deviceCountText = computed<string>(() =>
|
|
333
|
+
// localization.value.vmWizard.devices.replace('{0}', deviceCount)
|
|
334
|
+
'Devices ({0})'.replace('{0}', deviceCount.value)
|
|
335
|
+
)
|
|
336
|
+
const dropdownItems = computed<UI_I_Dropdown[]>(() =>
|
|
337
|
+
dropdownItemsNewFunc(
|
|
338
|
+
localization.value,
|
|
339
|
+
props.state,
|
|
340
|
+
props.passthroughDevices
|
|
341
|
+
)
|
|
342
|
+
)
|
|
343
|
+
|
|
344
|
+
const onAddDevice = (data: number): void => {
|
|
345
|
+
isShowAddDeviceDropdown.value = false
|
|
346
|
+
// из-за старого компонента
|
|
347
|
+
emits('add-device', { value: data })
|
|
348
|
+
}
|
|
349
|
+
</script>
|
|
350
|
+
|
|
351
|
+
<style scoped lang="scss">
|
|
352
|
+
.virtual-hardware {
|
|
353
|
+
.action-wrap {
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
justify-content: space-between;
|
|
357
|
+
padding: 12px 0;
|
|
358
|
+
|
|
359
|
+
.device-count {
|
|
360
|
+
font-size: 13px;
|
|
361
|
+
font-weight: 500;
|
|
362
|
+
line-height: 15.73px;
|
|
363
|
+
color: #9DA6AD;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
#add-device-dropdown {
|
|
367
|
+
display: flex;
|
|
368
|
+
align-items: center;
|
|
369
|
+
gap: 8px;
|
|
370
|
+
background-color: #fff;
|
|
371
|
+
border: 1px solid #e9ebed;
|
|
372
|
+
border-radius: 6px;
|
|
373
|
+
padding: 7px 12px;
|
|
374
|
+
color: #4d5d69;
|
|
375
|
+
font-size: 13px;
|
|
376
|
+
font-weight: 500;
|
|
377
|
+
line-height: 15.73px;
|
|
378
|
+
|
|
379
|
+
&.active {
|
|
380
|
+
color: #008FD6;
|
|
381
|
+
border-color: #008FD6;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
.stack-view {
|
|
387
|
+
display: flex;
|
|
388
|
+
flex-direction: column;
|
|
389
|
+
gap: 12px;
|
|
390
|
+
background-color: var(--block-view-bg-color);
|
|
391
|
+
}
|
|
392
|
+
</style>
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="virtual-hardware">
|
|
3
|
+
<div class="clr-row clr-justify-content-end">
|
|
4
|
+
<atoms-dropdown-tree
|
|
5
|
+
:title="localization.common.addNewDevice"
|
|
6
|
+
:items="props.dropdownItems"
|
|
7
|
+
test-id="add-device-dropdown"
|
|
8
|
+
@select="emits('add-device', $event)"
|
|
9
|
+
/>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="clr-component">
|
|
13
|
+
<div class="stack-view">
|
|
14
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu
|
|
15
|
+
:max-cpus="props.maxCpus"
|
|
16
|
+
:cpu-models="props.cpuModels"
|
|
17
|
+
:cpu="props.cpu"
|
|
18
|
+
:is-edit="props.isEdit"
|
|
19
|
+
:state="props.state"
|
|
20
|
+
:error-validation-fields="props.errorValidationFields"
|
|
21
|
+
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
22
|
+
@send-data="emits('send-data-cpu-method', $event)"
|
|
23
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
24
|
+
@invalid="cpuInvalid = $event"
|
|
25
|
+
/>
|
|
26
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-memory
|
|
27
|
+
:max-memory="props.maxMemory"
|
|
28
|
+
:is-edit="props.isEdit"
|
|
29
|
+
:memory="props.memory"
|
|
30
|
+
:state="props.state"
|
|
31
|
+
:error-validation-fields="props.errorValidationFields"
|
|
32
|
+
@send-data="emits('send-data-memory-method', $event)"
|
|
33
|
+
@invalid="memoryInvalid = $event"
|
|
34
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
35
|
+
/>
|
|
36
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk
|
|
37
|
+
v-for="(item, key) in props.hardDisks"
|
|
38
|
+
:key="props.hardDisksIndex[key]"
|
|
39
|
+
:index="props.hardDisksIndex[key]"
|
|
40
|
+
:type="props.hardDisksType[key]"
|
|
41
|
+
:storage="props.storage"
|
|
42
|
+
:hard-disk="item"
|
|
43
|
+
:error-validation-fields="props.errorValidationFields"
|
|
44
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
45
|
+
:datastore="props.datastore"
|
|
46
|
+
:is-edit="props.isEdit"
|
|
47
|
+
:state="props.state"
|
|
48
|
+
:guest-machine-type="props.guestMachineType"
|
|
49
|
+
@remove="emits('remove-hard-disk', [props.hardDisksIndex[key], item])"
|
|
50
|
+
@roll-back="emits('roll-back-hard-disk', props.hardDisksIndex[key])"
|
|
51
|
+
@send-data="emits('send-data-new-hard-disk-method', [$event, props.hardDisksIndex[key]])"
|
|
52
|
+
@invalid="emits('set-invalid-hard-disk', [$event, props.hardDisksIndex[key]])"
|
|
53
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
54
|
+
/>
|
|
55
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network
|
|
56
|
+
v-for="(item, key) in props.networks"
|
|
57
|
+
:key="props.networksIndex[key]"
|
|
58
|
+
:index="props.networksIndex[key]"
|
|
59
|
+
:type="props.networksType[key]"
|
|
60
|
+
:network="item"
|
|
61
|
+
:networks-table="props.networksTable"
|
|
62
|
+
:error-validation-fields="props.errorValidationFields"
|
|
63
|
+
:is-edit="props.isEdit"
|
|
64
|
+
:state="props.state"
|
|
65
|
+
:project="props.project"
|
|
66
|
+
@remove="emits('remove-network', props.networksIndex[key])"
|
|
67
|
+
@send-data="emits('send-data-new-network-method', [$event, props.networksIndex[key]])"
|
|
68
|
+
@invalid="emits('set-invalid-network', [$event, props.networksIndex[key]])"
|
|
69
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
70
|
+
@get-networks-table="emits('get-networks-table', $event)"
|
|
71
|
+
/>
|
|
72
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive
|
|
73
|
+
v-for="(item, key) in props.cdDvdDrives"
|
|
74
|
+
:key="props.cdDvdDrivesIndex[key]"
|
|
75
|
+
:index="props.cdDvdDrivesIndex[key]"
|
|
76
|
+
:hard-disks-count="props.hardDisks?.length || 0"
|
|
77
|
+
:type="props.cdDvdDrivesType[key]"
|
|
78
|
+
:cd-dvd-drive="item"
|
|
79
|
+
:nodes="props.nodes"
|
|
80
|
+
:files="props.files"
|
|
81
|
+
:error-validation-fields="props.errorValidationFields"
|
|
82
|
+
:is-edit="props.isEdit"
|
|
83
|
+
:state="props.state"
|
|
84
|
+
:guest-machine-type="props.guestMachineType"
|
|
85
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
86
|
+
@get-storage="emits('get-storage', $event)"
|
|
87
|
+
@get-folders-or-files="emits('get-folders-or-files', $event)"
|
|
88
|
+
@get-active-device-child="emits('get-active-device-child', $event)"
|
|
89
|
+
@show-datastore-child="emits('show-datastore-child', $event)"
|
|
90
|
+
@remove="emits('remove-cd-dvd-drive', [props.cdDvdDrivesIndex[key], item])"
|
|
91
|
+
@roll-back="emits('roll-back-cd-dvd-drive', props.cdDvdDrivesIndex[key])"
|
|
92
|
+
@send-data="
|
|
93
|
+
emits('send-data-new-cd-dvd-drive-method', [$event, props.cdDvdDrivesIndex[key]])
|
|
94
|
+
"
|
|
95
|
+
/>
|
|
96
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-usb-controller
|
|
97
|
+
:usb-controller="props.usbController"
|
|
98
|
+
:is-edit="props.isEdit"
|
|
99
|
+
:state="props.state"
|
|
100
|
+
@send-data="emits('send-data-new-usb-controller-method', $event)"
|
|
101
|
+
/>
|
|
102
|
+
<template v-if="props.passthroughDevices">
|
|
103
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device
|
|
104
|
+
v-for="(item, key) in props.pciDevices"
|
|
105
|
+
:key="props.pciDevicesIndex[key]"
|
|
106
|
+
:index="props.pciDevicesIndex[key]"
|
|
107
|
+
:pci-device="item"
|
|
108
|
+
:error-validation-fields="props.errorValidationFields"
|
|
109
|
+
:passthrough-devices="props.passthroughDevices"
|
|
110
|
+
:type="props.pciDevicesType[key]"
|
|
111
|
+
:is-edit="props.isEdit"
|
|
112
|
+
:state="props.state"
|
|
113
|
+
@remove="emits('remove-pci-device', props.pciDevicesIndex[key])"
|
|
114
|
+
@send-data="
|
|
115
|
+
emits('send-data-pci-devices-method', [$event, props.pciDevicesIndex[key]])
|
|
116
|
+
"
|
|
117
|
+
@invalid="emits('set-invalid-pci-device', [$event, props.pciDevicesIndex[key]])"
|
|
118
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
119
|
+
/>
|
|
120
|
+
</template>
|
|
121
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-video-card
|
|
122
|
+
:is-edit="props.isEdit"
|
|
123
|
+
:video-card="props.videoCard"
|
|
124
|
+
:error-validation-fields="props.errorValidationFields"
|
|
125
|
+
:state="props.state"
|
|
126
|
+
@send-data="emits('send-data-video-card-method', $event)"
|
|
127
|
+
@invalid="videoCardInvalid = $event"
|
|
128
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
129
|
+
/>
|
|
130
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-other />
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
<Teleport to="body">
|
|
135
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
|
|
136
|
+
v-if="props.isShowFileModal"
|
|
137
|
+
show
|
|
138
|
+
:nodes="props.nodes"
|
|
139
|
+
:files="props.files"
|
|
140
|
+
@submit="emits('add-exist-hard-disk', $event)"
|
|
141
|
+
@get-storage="emits('get-storage', $event)"
|
|
142
|
+
@get-folders-or-files="emits('get-folders-or-files', $event)"
|
|
143
|
+
@get-active-device-child="emits('get-active-device-child', $event)"
|
|
144
|
+
@show-datastore-child="emits('show-datastore-child', $event)"
|
|
145
|
+
@hide="emits('hide-file-modal')"
|
|
146
|
+
/>
|
|
147
|
+
</Teleport>
|
|
148
|
+
</div>
|
|
149
|
+
</template>
|
|
150
|
+
|
|
151
|
+
<script setup lang="ts">
|
|
152
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
|
153
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
154
|
+
import type { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
|
|
155
|
+
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
156
|
+
import type { UI_I_FolderOrFileTreePayload } from '~/lib/models/store/storage/interfaces'
|
|
157
|
+
import type { UI_I_FileTreeNode } from '~/components/lib/models/interfaces'
|
|
158
|
+
import type {
|
|
159
|
+
UI_I_SendDataCpu,
|
|
160
|
+
UI_I_SendDataMemory,
|
|
161
|
+
UI_I_SendDataNewHardDisk,
|
|
162
|
+
UI_I_SendDataNewNetwork,
|
|
163
|
+
UI_I_SendDataVideoCard,
|
|
164
|
+
UI_I_SendDataNewCdDvdDrive,
|
|
165
|
+
// UI_I_HardDisk,
|
|
166
|
+
UI_I_SendDataNewPciDevice,
|
|
167
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
168
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
169
|
+
import type {
|
|
170
|
+
UI_T_HardDiskType,
|
|
171
|
+
UI_T_NetworkType,
|
|
172
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
|
|
173
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
174
|
+
import type {
|
|
175
|
+
UI_I_DropdownTreeItem,
|
|
176
|
+
UI_I_DropdownTreeItemChild,
|
|
177
|
+
} from '~/components/atoms/dropdown/tree/lib/models/interfaces'
|
|
178
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
179
|
+
import type {
|
|
180
|
+
API_UI_I_VmEditCpu,
|
|
181
|
+
API_UI_I_VmEditMemory,
|
|
182
|
+
UI_I_PciDevice,
|
|
183
|
+
} from '~/lib/models/store/vm/interfaces'
|
|
184
|
+
|
|
185
|
+
const cpuInvalid = defineModel<boolean>('cpu-invalid', {required: true})
|
|
186
|
+
const memoryInvalid = defineModel<boolean>('memory-invalid', {required: true})
|
|
187
|
+
const videoCardInvalid = defineModel<boolean>('video-card-invalid', {required: true})
|
|
188
|
+
|
|
189
|
+
const props = defineProps<{
|
|
190
|
+
nodes: UI_I_FileTreeNode[]
|
|
191
|
+
files: UI_I_FileTreeNode[]
|
|
192
|
+
isEdit: boolean
|
|
193
|
+
storage: UI_I_DatastoreTableItem | null
|
|
194
|
+
project: UI_T_Project
|
|
195
|
+
maxCpus: number
|
|
196
|
+
maxMemory: number
|
|
197
|
+
cpuModels: UI_I_OptionItem[]
|
|
198
|
+
datastore: UI_I_DatastoreTableItem[]
|
|
199
|
+
networksType: UI_T_NetworkType[]
|
|
200
|
+
networksTable: UI_I_NetworkTableItem[]
|
|
201
|
+
dropdownItems: UI_I_DropdownTreeItem[]
|
|
202
|
+
hardDisksType: UI_T_HardDiskType[]
|
|
203
|
+
networksIndex: number[]
|
|
204
|
+
hardDisksIndex: number[]
|
|
205
|
+
pciDevicesType: UI_T_NetworkType[]
|
|
206
|
+
isShowFileModal: boolean
|
|
207
|
+
pciDevicesIndex: number[]
|
|
208
|
+
cdDvdDrivesType: UI_T_NetworkType[]
|
|
209
|
+
cdDvdDrivesIndex: number[]
|
|
210
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
211
|
+
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
212
|
+
cpu?: API_UI_I_VmEditCpu
|
|
213
|
+
state?: string | number
|
|
214
|
+
memory?: API_UI_I_VmEditMemory
|
|
215
|
+
networks?: UI_I_SendDataNewNetwork[] | null
|
|
216
|
+
hardDisks?: UI_I_SendDataNewHardDisk[] | null
|
|
217
|
+
videoCard?: UI_I_SendDataVideoCard
|
|
218
|
+
pciDevices?: UI_I_SendDataNewPciDevice[]
|
|
219
|
+
cdDvdDrives?: UI_I_SendDataNewCdDvdDrive[] | null
|
|
220
|
+
usbController?: string
|
|
221
|
+
guestMachineType?: UI_I_OptionItem | null
|
|
222
|
+
passthroughDevices?: UI_I_PciDevice[]
|
|
223
|
+
vmCpuHelpTextSecond?: string
|
|
224
|
+
}>()
|
|
225
|
+
const emits = defineEmits<{
|
|
226
|
+
(event: 'add-device', value: UI_I_DropdownTreeItemChild): void
|
|
227
|
+
(event: 'get-storage', value: UI_I_TablePayload): void
|
|
228
|
+
(event: 'remove-network', value: number): void
|
|
229
|
+
(event: 'hide-file-modal'): void
|
|
230
|
+
(event: 'remove-hard-disk', value: [number, UI_I_SendDataNewHardDisk]): void
|
|
231
|
+
(event: 'remove-pci-device', value: number): void
|
|
232
|
+
(event: 'get-networks-table', value: UI_I_TablePayload): void
|
|
233
|
+
(event: 'add-exist-hard-disk', value: UI_I_FileTreeNode): void
|
|
234
|
+
(event: 'roll-back-hard-disk', value: number): void
|
|
235
|
+
(event: 'set-invalid-network', value: [boolean, number]): void
|
|
236
|
+
(event: 'remove-cd-dvd-drive', value: [number, UI_I_SendDataNewCdDvdDrive]): void
|
|
237
|
+
(event: 'show-datastore-child', value: UI_I_FileTreeNode): void
|
|
238
|
+
(event: 'get-folders-or-files', value: UI_I_FolderOrFileTreePayload): void
|
|
239
|
+
(event: 'send-data-cpu-method', value: UI_I_SendDataCpu): void
|
|
240
|
+
(event: 'set-invalid-hard-disk', value: [boolean, number]): void
|
|
241
|
+
(event: 'remove-error-by-title', value: string): void
|
|
242
|
+
(event: 'roll-back-cd-dvd-drive', value: number): void
|
|
243
|
+
(event: 'set-invalid-pci-device', value: [boolean, number]): void
|
|
244
|
+
(event: 'get-active-device-child', value: UI_I_FileTreeNode): void
|
|
245
|
+
(event: 'send-data-memory-method', value: UI_I_SendDataMemory): void
|
|
246
|
+
(event: 'send-data-video-card-method', value: UI_I_SendDataVideoCard): void
|
|
247
|
+
(event: 'send-data-new-network-method', value: [UI_I_SendDataNewNetwork, number]): void
|
|
248
|
+
(event: 'send-data-pci-devices-method', value: [UI_I_SendDataNewPciDevice, number]): void
|
|
249
|
+
(event: 'send-data-new-hard-disk-method', value: [UI_I_SendDataNewHardDisk, number]): void
|
|
250
|
+
(event: 'send-data-new-cd-dvd-drive-method', value: [UI_I_SendDataNewCdDvdDrive, number]): void
|
|
251
|
+
(event: 'send-data-new-usb-controller-method', value: string): void
|
|
252
|
+
}>()
|
|
253
|
+
|
|
254
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
255
|
+
|
|
256
|
+
</script>
|
|
257
|
+
|
|
258
|
+
<style scoped lang="scss">
|
|
259
|
+
.virtual-hardware {
|
|
260
|
+
.content-dropdown {
|
|
261
|
+
width: 200px;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
.stack-view {
|
|
265
|
+
background-color: var(--block-view-bg-color);
|
|
266
|
+
}
|
|
267
|
+
</style>
|