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,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.limitIops }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<div class="limit-iops-content">
|
|
8
|
+
<ui-select
|
|
9
|
+
:id="`vm-wizard-disk-device-io-field-${props.index}`"
|
|
10
|
+
v-model="limitIopsType"
|
|
11
|
+
width="auto"
|
|
12
|
+
:items="props.limitIopsTypeOptions"
|
|
13
|
+
:class="`vm-wizard-disk-device-io-field-${props.index} limit-iops`"
|
|
14
|
+
:test-id="`vm-wizard-disk-device-io-field-${props.index}`"
|
|
15
|
+
@click.stop
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<ui-combobox
|
|
19
|
+
v-show="limitIopsType !== 'unlimited'"
|
|
20
|
+
v-model.number="limitIops"
|
|
21
|
+
:items="props.limitIopsOptions"
|
|
22
|
+
:error-text="props.limitIopsErrorText"
|
|
23
|
+
:test-id="`limit-iops-combobox-${props.index}`"
|
|
24
|
+
class="limit-iops"
|
|
25
|
+
@click.stop
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
</ui-stack-block>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script setup lang="ts">
|
|
33
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
34
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
35
|
+
|
|
36
|
+
const limitIops = defineModel<number>('limit-iops')
|
|
37
|
+
const limitIopsType = defineModel<string>('limit-iops-type')
|
|
38
|
+
|
|
39
|
+
const props = defineProps<{
|
|
40
|
+
index: number
|
|
41
|
+
errorText: string
|
|
42
|
+
limitIopsErrorText: string
|
|
43
|
+
limitIopsOptions: UI_I_OptionItem[]
|
|
44
|
+
limitIopsTypeOptions: UI_I_OptionItem[]
|
|
45
|
+
}>()
|
|
46
|
+
// const emits = defineEmits<{
|
|
47
|
+
// (event: 'remove-error'): void
|
|
48
|
+
// }>()
|
|
49
|
+
|
|
50
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
51
|
+
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<style scoped>
|
|
55
|
+
.limit-iops-content {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: 8px;
|
|
59
|
+
}
|
|
60
|
+
:deep(.limit-iops .ui-main-select-toggle) {
|
|
61
|
+
width: 144px;
|
|
62
|
+
}
|
|
63
|
+
</style>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.limitIops }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-align-center">
|
|
9
|
+
<atoms-tooltip-error
|
|
10
|
+
:has-error="!!props.errorText"
|
|
11
|
+
:selector="`.vm-wizard-disk-device-io-field-${props.index}`"
|
|
12
|
+
@remove="emits('remove-error')"
|
|
13
|
+
>
|
|
14
|
+
<template #elem>
|
|
15
|
+
<div class="select mr-1">
|
|
16
|
+
<select
|
|
17
|
+
:id="`vm-wizard-disk-device-io-field-${props.index}`"
|
|
18
|
+
v-model="limitIopsType"
|
|
19
|
+
:data-id="`vm-wizard-disk-device-io-field-${props.index}`"
|
|
20
|
+
:class="`vm-wizard-disk-device-io-field-${props.index}`"
|
|
21
|
+
@click.stop
|
|
22
|
+
>
|
|
23
|
+
<option
|
|
24
|
+
v-for="(item, key) in props.limitIopsTypeOptions"
|
|
25
|
+
:key="key"
|
|
26
|
+
:value="item.value"
|
|
27
|
+
>
|
|
28
|
+
{{ item.text }}
|
|
29
|
+
</option>
|
|
30
|
+
</select>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
<template #content>{{ props.errorText }}</template>
|
|
34
|
+
</atoms-tooltip-error>
|
|
35
|
+
|
|
36
|
+
<atoms-combobox
|
|
37
|
+
v-show="limitIopsType !== 'unlimited'"
|
|
38
|
+
v-model.number="limitIops"
|
|
39
|
+
:items="props.limitIopsOptions"
|
|
40
|
+
:test-id="`limit-iops-combobox-${props.index}`"
|
|
41
|
+
@click.stop
|
|
42
|
+
/>
|
|
43
|
+
<div v-show="props.limitIopsErrorText" class="flex-align-center">
|
|
44
|
+
<atoms-tooltip>
|
|
45
|
+
<template #elem>
|
|
46
|
+
<atoms-the-icon
|
|
47
|
+
width="24px"
|
|
48
|
+
height="24px"
|
|
49
|
+
class="is-error tooltip-trigger"
|
|
50
|
+
name="info"
|
|
51
|
+
/>
|
|
52
|
+
</template>
|
|
53
|
+
<template #content>
|
|
54
|
+
{{ props.limitIopsErrorText }}
|
|
55
|
+
</template>
|
|
56
|
+
</atoms-tooltip>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</template>
|
|
60
|
+
</atoms-stack-block>
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
|
|
64
|
+
<script setup lang="ts">
|
|
65
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
66
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
67
|
+
|
|
68
|
+
const limitIops = defineModel<number>('limit-iops')
|
|
69
|
+
const limitIopsType = defineModel<string>('limit-iops-type')
|
|
70
|
+
|
|
71
|
+
const props = defineProps<{
|
|
72
|
+
index: number
|
|
73
|
+
errorText: string
|
|
74
|
+
limitIopsErrorText: string
|
|
75
|
+
limitIopsOptions: UI_I_OptionItem[]
|
|
76
|
+
limitIopsTypeOptions: UI_I_OptionItem[]
|
|
77
|
+
}>()
|
|
78
|
+
const emits = defineEmits<{
|
|
79
|
+
(event: 'remove-error'): void
|
|
80
|
+
}>()
|
|
81
|
+
|
|
82
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
83
|
+
|
|
84
|
+
</script>
|
|
85
|
+
|
|
86
|
+
<style scoped></style>
|
|
@@ -35,16 +35,7 @@
|
|
|
35
35
|
</atoms-stack-block>
|
|
36
36
|
|
|
37
37
|
<Teleport to="body">
|
|
38
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal
|
|
39
|
-
v-if="isNewView"
|
|
40
|
-
:storage-modal-is-show="storageModalIsShow"
|
|
41
|
-
:datastore="props.datastore"
|
|
42
|
-
@change-storage="onChangeStorage"
|
|
43
|
-
@hide="onHideStorageModal"
|
|
44
|
-
@submit="onSubmitStorageModal"
|
|
45
|
-
/>
|
|
46
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal-old
|
|
47
|
-
v-else
|
|
38
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal
|
|
48
39
|
:storage-modal-is-show="storageModalIsShow"
|
|
49
40
|
:storage-submit="storageSubmit"
|
|
50
41
|
:datastore="props.datastore"
|
|
@@ -81,10 +72,6 @@ const emits = defineEmits<{
|
|
|
81
72
|
(event: 'remove-error-by-title', value: string): void
|
|
82
73
|
}>()
|
|
83
74
|
|
|
84
|
-
const { $store }: any = useNuxtApp()
|
|
85
|
-
|
|
86
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
87
|
-
|
|
88
75
|
const selectedLocation = ref<string>(props.location?.id || '')
|
|
89
76
|
|
|
90
77
|
const storages = ref<UI_I_DatastoreTableItem[]>([])
|
|
@@ -119,9 +106,11 @@ watch(
|
|
|
119
106
|
{ immediate: true }
|
|
120
107
|
)
|
|
121
108
|
|
|
122
|
-
const storageSubmit = ref<
|
|
109
|
+
const storageSubmit = ref<null | Function>(null)
|
|
123
110
|
const onSubmitStorageModal = (): void => {
|
|
124
|
-
storageSubmit.value
|
|
111
|
+
storageSubmit.value = (_isValid: boolean): void => {
|
|
112
|
+
storageSubmit.value = null
|
|
113
|
+
}
|
|
125
114
|
}
|
|
126
115
|
const storageModalIsShow = ref<boolean>(false)
|
|
127
116
|
const onHideStorageModal = (): void => {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
:storage-modal-is-show="props.storageModalIsShow"
|
|
5
|
+
:storage-submit="props.storageSubmit"
|
|
6
|
+
:datastore="props.datastore"
|
|
7
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
8
|
+
@change-storage="emits('change-storage', $event)"
|
|
9
|
+
@submit="emits('submit')"
|
|
10
|
+
@hide="emits('hide')"
|
|
11
|
+
/>
|
|
12
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal-old
|
|
13
|
+
v-else
|
|
14
|
+
:storage-modal-is-show="props.storageModalIsShow"
|
|
15
|
+
:storage-submit="props.storageSubmit"
|
|
16
|
+
:datastore="props.datastore"
|
|
17
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
18
|
+
@change-storage="emits('change-storage', $event)"
|
|
19
|
+
@submit="emits('submit')"
|
|
20
|
+
@hide="emits('hide')"
|
|
21
|
+
/>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script setup lang="ts">
|
|
25
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
26
|
+
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
27
|
+
|
|
28
|
+
const props = defineProps<{
|
|
29
|
+
storageModalIsShow: boolean
|
|
30
|
+
storageSubmit: null | Function
|
|
31
|
+
datastore: UI_I_DatastoreTableItem[]
|
|
32
|
+
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
33
|
+
}>()
|
|
34
|
+
|
|
35
|
+
const emits = defineEmits<{
|
|
36
|
+
(event: 'change-storage', value: UI_I_DatastoreTableItem): void
|
|
37
|
+
(event: 'submit'): void
|
|
38
|
+
(event: 'hide'): void
|
|
39
|
+
}>()
|
|
40
|
+
|
|
41
|
+
const { $store }: any = useNuxtApp()
|
|
42
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
43
|
+
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<style scoped lang="scss">
|
|
47
|
+
.storage-modal-old {
|
|
48
|
+
:deep(.modal-dialog) {
|
|
49
|
+
width: 864px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
</style>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-modal
|
|
3
|
+
v-if="props.storageModalIsShow"
|
|
4
|
+
show
|
|
5
|
+
:title="localization.common.selectStorage"
|
|
6
|
+
:texts="texts"
|
|
7
|
+
test-id="storage-modal-new"
|
|
8
|
+
size="md"
|
|
9
|
+
@hide="emits('hide')"
|
|
10
|
+
@submit="emits('submit')"
|
|
11
|
+
>
|
|
12
|
+
<template #content>
|
|
13
|
+
<div class="select-storage-modal-container">
|
|
14
|
+
<span class="description-text">{{
|
|
15
|
+
localization.common
|
|
16
|
+
.followingDatastoresAccessibleDestinationResourceThatSelected
|
|
17
|
+
}}</span>
|
|
18
|
+
<common-vm-actions-common-select-storage
|
|
19
|
+
:storage-submit="props.storageSubmit"
|
|
20
|
+
:datastore="props.datastore"
|
|
21
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
22
|
+
hide-compatibility
|
|
23
|
+
@submit="emits('change-storage', $event)"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
<template #footerLeftContent>
|
|
28
|
+
<span></span>
|
|
29
|
+
</template>
|
|
30
|
+
</ui-modal>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script setup lang="ts">
|
|
34
|
+
import type { UI_I_ModalTexts } from '~/node_modules/bfg-uikit/components/ui/modal/models/interfaces'
|
|
35
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
36
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
37
|
+
|
|
38
|
+
const props = defineProps<{
|
|
39
|
+
storageModalIsShow: boolean
|
|
40
|
+
storageSubmit: null | Function
|
|
41
|
+
datastore: UI_I_DatastoreTableItem[]
|
|
42
|
+
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
43
|
+
}>()
|
|
44
|
+
|
|
45
|
+
const emits = defineEmits<{
|
|
46
|
+
(event: 'change-storage', value: UI_I_DatastoreTableItem): void
|
|
47
|
+
(event: 'submit'): void
|
|
48
|
+
(event: 'hide'): void
|
|
49
|
+
}>()
|
|
50
|
+
|
|
51
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
52
|
+
|
|
53
|
+
const texts = ref<UI_I_ModalTexts>({
|
|
54
|
+
button2: localization.value.common.select,
|
|
55
|
+
})
|
|
56
|
+
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<style scoped lang="scss">
|
|
60
|
+
.select-storage-modal-container {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
grid-gap: 12px;
|
|
64
|
+
padding-left: 32px;
|
|
65
|
+
padding-bottom: 5px;
|
|
66
|
+
|
|
67
|
+
.description-text {
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
line-height: 14.52px;
|
|
71
|
+
color: #9da6ad;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</style>
|
|
@@ -29,7 +29,7 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
|
29
29
|
|
|
30
30
|
const props = defineProps<{
|
|
31
31
|
storageModalIsShow: boolean
|
|
32
|
-
storageSubmit:
|
|
32
|
+
storageSubmit: null | Function
|
|
33
33
|
datastore: UI_I_DatastoreTableItem[]
|
|
34
34
|
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
35
35
|
}>()
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-maximum-size-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
:free-gb="freeGb"
|
|
5
|
+
/>
|
|
6
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-maximum-size-old
|
|
7
|
+
v-else
|
|
8
|
+
:free-gb="freeGb"
|
|
9
|
+
/>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup lang="ts">
|
|
13
|
+
const props = defineProps<{
|
|
14
|
+
freeMb: number
|
|
15
|
+
}>()
|
|
16
|
+
|
|
17
|
+
const { $store, $binary }: any = useNuxtApp()
|
|
18
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
19
|
+
|
|
20
|
+
const freeGb = computed<number>(() => $binary.round(props.freeMb))
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<style scoped></style>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.maximumSize }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<span class="maximum-size"> {{ props.freeGb }} </span>
|
|
8
|
+
</template>
|
|
9
|
+
</ui-stack-block>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup lang="ts">
|
|
13
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
14
|
+
|
|
15
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
16
|
+
|
|
17
|
+
const props = defineProps<{
|
|
18
|
+
freeGb: number
|
|
19
|
+
}>()
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<style scoped>
|
|
23
|
+
.maximum-size {
|
|
24
|
+
font-size: 13px;
|
|
25
|
+
line-height: 15.73px;
|
|
26
|
+
color: #182531;
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.maximumSize }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<span> {{ props.freeGb }} </span>
|
|
9
|
+
</template>
|
|
10
|
+
</atoms-stack-block>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
16
|
+
|
|
17
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
18
|
+
|
|
19
|
+
const props = defineProps<{
|
|
20
|
+
freeGb: number
|
|
21
|
+
}>()
|
|
22
|
+
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<style scoped></style>
|
|
@@ -1,39 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
:disabled="props.disabled"
|
|
21
|
-
>
|
|
22
|
-
<option
|
|
23
|
-
v-for="item in diskModeOptions"
|
|
24
|
-
:key="item.value"
|
|
25
|
-
:value="item.value"
|
|
26
|
-
>
|
|
27
|
-
{{ item.text }}
|
|
28
|
-
</option>
|
|
29
|
-
</select>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
<template #content>{{ apiError }}</template>
|
|
33
|
-
</atoms-tooltip-error>
|
|
34
|
-
</template>
|
|
35
|
-
</atoms-stack-block>
|
|
36
|
-
</div>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-mode-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:disk-mode="diskMode"
|
|
5
|
+
:index="props.index"
|
|
6
|
+
:disabled="props.disabled"
|
|
7
|
+
:error-text="apiError"
|
|
8
|
+
:disk-mode-options="diskModeOptions"
|
|
9
|
+
@remove-error="onRemoveValidationError"
|
|
10
|
+
/>
|
|
11
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-mode-old
|
|
12
|
+
v-else
|
|
13
|
+
v-model:disk-mode="diskMode"
|
|
14
|
+
:index="props.index"
|
|
15
|
+
:disabled="props.disabled"
|
|
16
|
+
:error-text="apiError"
|
|
17
|
+
:disk-mode-options="diskModeOptions"
|
|
18
|
+
@remove-error="onRemoveValidationError"
|
|
19
|
+
/>
|
|
37
20
|
</template>
|
|
38
21
|
|
|
39
22
|
<script setup lang="ts">
|
|
@@ -42,32 +25,26 @@ import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
|
42
25
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
26
|
import { diskModeOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options'
|
|
44
27
|
|
|
45
|
-
const
|
|
28
|
+
const diskMode = defineModel<string>('disk-mode')
|
|
46
29
|
|
|
47
30
|
const props = defineProps<{
|
|
48
|
-
diskMode: string
|
|
49
31
|
index: number
|
|
50
32
|
disabled: boolean
|
|
51
33
|
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
52
34
|
}>()
|
|
53
35
|
const emits = defineEmits<{
|
|
54
|
-
(event: 'update:disk-mode', value: string): void
|
|
55
36
|
(event: 'remove-error-by-title', value: string): void
|
|
56
37
|
}>()
|
|
57
38
|
|
|
39
|
+
const { $store }: any = useNuxtApp()
|
|
40
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
41
|
+
|
|
42
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
43
|
+
|
|
58
44
|
const diskModeOptions = ref<UI_I_OptionItem[]>(
|
|
59
45
|
diskModeOptionsFunc(localization.value)
|
|
60
46
|
)
|
|
61
47
|
|
|
62
|
-
const diskModeLocal = computed<string>({
|
|
63
|
-
get() {
|
|
64
|
-
return props.diskMode
|
|
65
|
-
},
|
|
66
|
-
set(newValue) {
|
|
67
|
-
emits('update:disk-mode', newValue)
|
|
68
|
-
},
|
|
69
|
-
})
|
|
70
|
-
|
|
71
48
|
const typeError = computed<string>(
|
|
72
49
|
() => `disk_devices[${props.index}].disk_mode`
|
|
73
50
|
)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.diskMode }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<ui-select
|
|
8
|
+
:id="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
9
|
+
v-model="diskMode"
|
|
10
|
+
width="auto"
|
|
11
|
+
:items="props.diskModeOptions"
|
|
12
|
+
:disabled="props.disabled"
|
|
13
|
+
:test-id="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
14
|
+
:class="`vm-wizard-disk-device-mode-field-${props.index} mode-field`"
|
|
15
|
+
:error-text="props.errorText"
|
|
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 diskMode = defineModel<string>('disk-mode')
|
|
27
|
+
|
|
28
|
+
const props = defineProps<{
|
|
29
|
+
index: number
|
|
30
|
+
disabled: boolean
|
|
31
|
+
errorText: string
|
|
32
|
+
diskModeOptions: UI_I_OptionItem[]
|
|
33
|
+
}>()
|
|
34
|
+
// const emits = defineEmits<{
|
|
35
|
+
// (event: 'remove-error'): void
|
|
36
|
+
// }>()
|
|
37
|
+
|
|
38
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
39
|
+
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<style scoped>
|
|
43
|
+
:deep(.mode-field .ui-main-select-toggle) {
|
|
44
|
+
width: 144px;
|
|
45
|
+
}
|
|
46
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.cache }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!props.errorText"
|
|
10
|
+
:selector="`.vm-wizard-disk-device-cache-field-${props.index}`"
|
|
11
|
+
@remove="emits('remove-error')"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
:id="`vm-wizard-disk-device-cache-field-${props.index}`"
|
|
17
|
+
v-model="cache"
|
|
18
|
+
:data-id="`vm-wizard-disk-device-cache-field-${props.index}`"
|
|
19
|
+
:class="`vm-wizard-disk-device-cache-field-${props.index}`"
|
|
20
|
+
:disabled="props.disabled"
|
|
21
|
+
>
|
|
22
|
+
<option
|
|
23
|
+
v-for="(item, key) in props.cacheOptions"
|
|
24
|
+
:key="key"
|
|
25
|
+
:value="item.value"
|
|
26
|
+
>
|
|
27
|
+
{{ item.text }}
|
|
28
|
+
</option>
|
|
29
|
+
</select>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
<template #content>{{ props.errorText }}</template>
|
|
33
|
+
</atoms-tooltip-error>
|
|
34
|
+
</template>
|
|
35
|
+
</atoms-stack-block>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script setup lang="ts">
|
|
40
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
|
+
|
|
42
|
+
const cache = defineModel<string>('cache')
|
|
43
|
+
|
|
44
|
+
const props = defineProps<{
|
|
45
|
+
index: number
|
|
46
|
+
disabled: boolean
|
|
47
|
+
errorText: string
|
|
48
|
+
cacheOptions: UI_I_OptionItem[]
|
|
49
|
+
}>()
|
|
50
|
+
const emits = defineEmits<{
|
|
51
|
+
(event: 'remove-error'): void
|
|
52
|
+
}>()
|
|
53
|
+
|
|
54
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<style scoped></style>
|