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,28 @@
|
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
+
|
|
4
|
+
export const limitIopsTypeOptionsFunc = (
|
|
5
|
+
localization: UI_I_Localization
|
|
6
|
+
): UI_I_OptionItem[] => {
|
|
7
|
+
return [
|
|
8
|
+
{ text: localization.common.unlimited, value: 'unlimited' },
|
|
9
|
+
{ text: localization.common.custom, value: 'custom' },
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const limitIopsOptionsFunc = (
|
|
14
|
+
localization: UI_I_Localization,
|
|
15
|
+
minLimitIops: number,
|
|
16
|
+
maxLimitIops: number
|
|
17
|
+
): UI_I_OptionItem[] => {
|
|
18
|
+
return [
|
|
19
|
+
{
|
|
20
|
+
text: `${localization.common.minimum}: ${minLimitIops}`,
|
|
21
|
+
value: minLimitIops,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
text: `${localization.common.maximum}: ${maxLimitIops}`,
|
|
25
|
+
value: maxLimitIops,
|
|
26
|
+
},
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.location }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!apiError"
|
|
10
|
+
:selector="`.vm-wizard-disk-device-target-field-${props.index}`"
|
|
11
|
+
@remove="onRemoveValidationError"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
:id="`vm-wizard-disk-device-target-field-${props.index}`"
|
|
17
|
+
v-model="selectedLocation"
|
|
18
|
+
:data-id="`vm-wizard-disk-device-target-field-${props.index}`"
|
|
19
|
+
:class="`vm-wizard-disk-device-target-field-${props.index}`"
|
|
20
|
+
@change="changeLocation"
|
|
21
|
+
>
|
|
22
|
+
<option
|
|
23
|
+
v-for="(item, key) in locationOptions"
|
|
24
|
+
:key="key"
|
|
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
|
+
|
|
37
|
+
<Teleport to="body">
|
|
38
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location-storage-modal-new
|
|
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
|
|
48
|
+
:storage-modal-is-show="storageModalIsShow"
|
|
49
|
+
:storage-submit="storageSubmit"
|
|
50
|
+
:datastore="props.datastore"
|
|
51
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
52
|
+
@change-storage="onChangeStorage"
|
|
53
|
+
@hide="onHideStorageModal"
|
|
54
|
+
@submit="onSubmitStorageModal"
|
|
55
|
+
/>
|
|
56
|
+
</Teleport>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
|
|
60
|
+
<script setup lang="ts">
|
|
61
|
+
import type {
|
|
62
|
+
UI_I_HTMLSelectElement,
|
|
63
|
+
UI_I_Localization,
|
|
64
|
+
} from '~/lib/models/interfaces'
|
|
65
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
66
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
67
|
+
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
68
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
69
|
+
|
|
70
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
71
|
+
|
|
72
|
+
const props = defineProps<{
|
|
73
|
+
location: UI_I_DatastoreTableItem | null
|
|
74
|
+
index: number
|
|
75
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
76
|
+
datastore: UI_I_DatastoreTableItem[]
|
|
77
|
+
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
78
|
+
}>()
|
|
79
|
+
const emits = defineEmits<{
|
|
80
|
+
(event: 'change', value: UI_I_DatastoreTableItem): void
|
|
81
|
+
(event: 'remove-error-by-title', value: string): void
|
|
82
|
+
}>()
|
|
83
|
+
|
|
84
|
+
const { $store }: any = useNuxtApp()
|
|
85
|
+
|
|
86
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
87
|
+
|
|
88
|
+
const selectedLocation = ref<string>(props.location?.id || '')
|
|
89
|
+
|
|
90
|
+
const storages = ref<UI_I_DatastoreTableItem[]>([])
|
|
91
|
+
const addStorage = (storage: UI_I_DatastoreTableItem): void => {
|
|
92
|
+
const hasStorage = storages.value.some((item) => item.id === storage.id)
|
|
93
|
+
if (hasStorage) {
|
|
94
|
+
return
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
storages.value.push(storage)
|
|
98
|
+
}
|
|
99
|
+
const locationOptions = ref<UI_I_OptionItem[]>([])
|
|
100
|
+
|
|
101
|
+
watch(
|
|
102
|
+
() => props.location,
|
|
103
|
+
(newValue) => {
|
|
104
|
+
if (locationOptions.value.length || !newValue) {
|
|
105
|
+
return
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
locationOptions.value = [
|
|
109
|
+
{
|
|
110
|
+
text: localization.value.common.storeWithVirtualMachine,
|
|
111
|
+
value: newValue.id,
|
|
112
|
+
},
|
|
113
|
+
{ text: `${localization.value.common.browse}...`, value: -1 },
|
|
114
|
+
]
|
|
115
|
+
selectedLocation.value = newValue.id
|
|
116
|
+
storages.value.push(newValue)
|
|
117
|
+
addStorage(newValue)
|
|
118
|
+
},
|
|
119
|
+
{ immediate: true }
|
|
120
|
+
)
|
|
121
|
+
|
|
122
|
+
const storageSubmit = ref<number>(0)
|
|
123
|
+
const onSubmitStorageModal = (): void => {
|
|
124
|
+
storageSubmit.value++
|
|
125
|
+
}
|
|
126
|
+
const storageModalIsShow = ref<boolean>(false)
|
|
127
|
+
const onHideStorageModal = (): void => {
|
|
128
|
+
storageModalIsShow.value = false
|
|
129
|
+
}
|
|
130
|
+
const onChangeStorage = (storage: UI_I_DatastoreTableItem): void => {
|
|
131
|
+
locationOptions.value = [
|
|
132
|
+
locationOptions.value[0],
|
|
133
|
+
{ text: storage.name, value: storage.id },
|
|
134
|
+
// @ts-ignore
|
|
135
|
+
locationOptions.value.at(-1),
|
|
136
|
+
]
|
|
137
|
+
|
|
138
|
+
selectedLocation.value = storage.id
|
|
139
|
+
emits('change', storage)
|
|
140
|
+
addStorage(storage)
|
|
141
|
+
onHideStorageModal()
|
|
142
|
+
}
|
|
143
|
+
const changeLocation = (event: UI_I_HTMLSelectElement): void => {
|
|
144
|
+
const value = +event.target.value
|
|
145
|
+
if (value === -1) {
|
|
146
|
+
storageModalIsShow.value = true
|
|
147
|
+
return
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
selectedLocation.value = event.target.value
|
|
151
|
+
const storage = storages.value.find((item) => item.id === event.target.value)
|
|
152
|
+
storage && emits('change', storage)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const typeError = computed<string>(
|
|
156
|
+
() => `disk_devices[${props.index}].location`
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
const apiError = computed<string>(() => {
|
|
160
|
+
return (
|
|
161
|
+
props.errorValidationFields?.find(
|
|
162
|
+
(message) => message.field === typeError.value
|
|
163
|
+
)?.error_message || ''
|
|
164
|
+
)
|
|
165
|
+
})
|
|
166
|
+
|
|
167
|
+
const onRemoveValidationError = (): void => {
|
|
168
|
+
emits('remove-error-by-title', typeError.value)
|
|
169
|
+
}
|
|
170
|
+
</script>
|
|
171
|
+
|
|
172
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<atoms-modal
|
|
3
|
+
class="storage-modal-old"
|
|
4
|
+
:show="props.storageModalIsShow"
|
|
5
|
+
:title="localization.common.selectStorage"
|
|
6
|
+
@submit="emits('submit')"
|
|
7
|
+
@hide="emits('hide')"
|
|
8
|
+
>
|
|
9
|
+
<template #modalBody>
|
|
10
|
+
<span>{{
|
|
11
|
+
localization.common
|
|
12
|
+
.followingDatastoresAccessibleDestinationResourceThatSelected
|
|
13
|
+
}}</span>
|
|
14
|
+
<common-vm-actions-common-select-storage
|
|
15
|
+
:storage-submit="props.storageSubmit"
|
|
16
|
+
:datastore="props.datastore"
|
|
17
|
+
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
18
|
+
hide-compatibility
|
|
19
|
+
@submit="emits('change-storage', $event)"
|
|
20
|
+
/>
|
|
21
|
+
</template>
|
|
22
|
+
</atoms-modal>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script setup lang="ts">
|
|
26
|
+
import type { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
27
|
+
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
28
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
29
|
+
|
|
30
|
+
const props = defineProps<{
|
|
31
|
+
storageModalIsShow: boolean
|
|
32
|
+
storageSubmit: number
|
|
33
|
+
datastore: UI_I_DatastoreTableItem[]
|
|
34
|
+
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
35
|
+
}>()
|
|
36
|
+
|
|
37
|
+
const emits = defineEmits<{
|
|
38
|
+
(event: 'change-storage', value: UI_I_DatastoreTableItem): void
|
|
39
|
+
(event: 'submit'): void
|
|
40
|
+
(event: 'hide'): void
|
|
41
|
+
}>()
|
|
42
|
+
|
|
43
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
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,88 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.diskMode }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!apiError"
|
|
10
|
+
:selector="`.vm-wizard-disk-device-mode-field-${props.index}`"
|
|
11
|
+
@remove="onRemoveValidationError"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
:id="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
17
|
+
v-model="diskModeLocal"
|
|
18
|
+
:data-id="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
19
|
+
:class="`vm-wizard-disk-device-mode-field-${props.index}`"
|
|
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>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script setup lang="ts">
|
|
40
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
42
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
|
+
import { diskModeOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options'
|
|
44
|
+
|
|
45
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
46
|
+
|
|
47
|
+
const props = defineProps<{
|
|
48
|
+
diskMode: string
|
|
49
|
+
index: number
|
|
50
|
+
disabled: boolean
|
|
51
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
52
|
+
}>()
|
|
53
|
+
const emits = defineEmits<{
|
|
54
|
+
(event: 'update:disk-mode', value: string): void
|
|
55
|
+
(event: 'remove-error-by-title', value: string): void
|
|
56
|
+
}>()
|
|
57
|
+
|
|
58
|
+
const diskModeOptions = ref<UI_I_OptionItem[]>(
|
|
59
|
+
diskModeOptionsFunc(localization.value)
|
|
60
|
+
)
|
|
61
|
+
|
|
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
|
+
const typeError = computed<string>(
|
|
72
|
+
() => `disk_devices[${props.index}].disk_mode`
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
const apiError = computed<string>(() => {
|
|
76
|
+
return (
|
|
77
|
+
props.errorValidationFields?.find(
|
|
78
|
+
(message) => message.field === typeError.value
|
|
79
|
+
)?.error_message || ''
|
|
80
|
+
)
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
const onRemoveValidationError = (): void => {
|
|
84
|
+
emits('remove-error-by-title', typeError.value)
|
|
85
|
+
}
|
|
86
|
+
</script>
|
|
87
|
+
|
|
88
|
+
<style scoped></style>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
+
|
|
4
|
+
export const diskModeOptionsFunc = (
|
|
5
|
+
localization: UI_I_Localization
|
|
6
|
+
): UI_I_OptionItem[] => {
|
|
7
|
+
return [
|
|
8
|
+
{ text: localization.common.dependent, value: 'dependent' },
|
|
9
|
+
{
|
|
10
|
+
text: localization.common.independentPersistent,
|
|
11
|
+
value: 'independent_persistent',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
text: localization.common.independentNonPersistent,
|
|
15
|
+
value: 'independent_nonpersistent',
|
|
16
|
+
},
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.diskProvisioning }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!apiError"
|
|
10
|
+
:selector="`.vm-wizard-disk-device-provisioning-field-${props.index}`"
|
|
11
|
+
@remove="onRemoveValidationError"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
:id="`vm-wizard-disk-device-provisioning-field-${props.index}`"
|
|
17
|
+
v-model="diskProvisioningLocal"
|
|
18
|
+
:data-id="`vm-wizard-disk-device-provisioning-field-${props.index}`"
|
|
19
|
+
:disabled="props.disabled"
|
|
20
|
+
:class="`vm-wizard-disk-device-provisioning-field-${props.index}`"
|
|
21
|
+
>
|
|
22
|
+
<option
|
|
23
|
+
v-for="(item, key) in diskProvisioningOptions"
|
|
24
|
+
:key="key"
|
|
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>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script setup lang="ts">
|
|
40
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
42
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
|
+
import { diskProvisioningOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/lib/config/options'
|
|
44
|
+
|
|
45
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
46
|
+
|
|
47
|
+
const props = defineProps<{
|
|
48
|
+
diskProvisioning: string
|
|
49
|
+
index: number
|
|
50
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
51
|
+
disabled: boolean
|
|
52
|
+
}>()
|
|
53
|
+
const emits = defineEmits<{
|
|
54
|
+
(event: 'update:disk-provisioning', value: string): void
|
|
55
|
+
(event: 'remove-error-by-title', value: string): void
|
|
56
|
+
}>()
|
|
57
|
+
|
|
58
|
+
const diskProvisioningOptions = ref<UI_I_OptionItem[]>(
|
|
59
|
+
diskProvisioningOptionsFunc(localization.value)
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
const diskProvisioningLocal = computed<string>({
|
|
63
|
+
get() {
|
|
64
|
+
return props.diskProvisioning
|
|
65
|
+
},
|
|
66
|
+
set(newValue) {
|
|
67
|
+
emits('update:disk-provisioning', newValue)
|
|
68
|
+
},
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
const typeError = computed<string>(
|
|
72
|
+
() => `disk_devices[${props.index}].provision_type`
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
const apiError = computed<string>(() => {
|
|
76
|
+
return (
|
|
77
|
+
props.errorValidationFields?.find(
|
|
78
|
+
(message) => message.field === typeError.value
|
|
79
|
+
)?.error_message || ''
|
|
80
|
+
)
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
const onRemoveValidationError = (): void => {
|
|
84
|
+
emits('remove-error-by-title', typeError.value)
|
|
85
|
+
}
|
|
86
|
+
</script>
|
|
87
|
+
|
|
88
|
+
<style scoped></style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
+
|
|
4
|
+
export const diskProvisioningOptionsFunc = (
|
|
5
|
+
localization: UI_I_Localization
|
|
6
|
+
): UI_I_OptionItem[] => {
|
|
7
|
+
return [
|
|
8
|
+
{ text: localization.common.thickProvisionLazyZeroed, value: 'thick' },
|
|
9
|
+
{
|
|
10
|
+
text: localization.common.thickProvisionEagerZeroed,
|
|
11
|
+
value: 'thickzero',
|
|
12
|
+
},
|
|
13
|
+
{ text: localization.common.thinProvision, value: 'thin' },
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.sharing }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!apiError"
|
|
10
|
+
:selector="`.vm-wizard-disk-device-sharing-field-${props.index}`"
|
|
11
|
+
@remove="onRemoveValidationError"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
:id="`vm-wizard-disk-device-sharing-field-${props.index}`"
|
|
17
|
+
v-model="sharingLocal"
|
|
18
|
+
:data-id="`vm-wizard-disk-device-sharing-field-${props.index}`"
|
|
19
|
+
:class="`vm-wizard-disk-device-sharing-field-${props.index}`"
|
|
20
|
+
:disabled="props.disabled"
|
|
21
|
+
>
|
|
22
|
+
<option
|
|
23
|
+
v-for="(item, key) in sharingOptions"
|
|
24
|
+
:key="key"
|
|
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>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script setup lang="ts">
|
|
40
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
41
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
42
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
|
+
import { sharingOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/lib/config/options'
|
|
44
|
+
|
|
45
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
46
|
+
|
|
47
|
+
const props = defineProps<{
|
|
48
|
+
sharing: string
|
|
49
|
+
index: number
|
|
50
|
+
disabled: boolean
|
|
51
|
+
errorValidationFields: UI_I_ErrorValidationField<string>[]
|
|
52
|
+
}>()
|
|
53
|
+
const emits = defineEmits<{
|
|
54
|
+
(event: 'update:sharing', value: string): void
|
|
55
|
+
(event: 'remove-error-by-title', value: string): void
|
|
56
|
+
}>()
|
|
57
|
+
|
|
58
|
+
const sharingOptions = ref<UI_I_OptionItem[]>(
|
|
59
|
+
sharingOptionsFunc(localization.value)
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
const sharingLocal = computed<string>({
|
|
63
|
+
get() {
|
|
64
|
+
return props.sharing
|
|
65
|
+
},
|
|
66
|
+
set(newValue) {
|
|
67
|
+
emits('update:sharing', newValue)
|
|
68
|
+
},
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
const typeError = computed<string>(() => `disk_devices[${props.index}].sharing`)
|
|
72
|
+
|
|
73
|
+
const apiError = computed<string>(() => {
|
|
74
|
+
return (
|
|
75
|
+
props.errorValidationFields?.find(
|
|
76
|
+
(message) => message.field === typeError.value
|
|
77
|
+
)?.error_message || ''
|
|
78
|
+
)
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
const onRemoveValidationError = (): void => {
|
|
82
|
+
emits('remove-error-by-title', typeError.value)
|
|
83
|
+
}
|
|
84
|
+
</script>
|
|
85
|
+
|
|
86
|
+
<style scoped></style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
|
+
|
|
4
|
+
export const sharingOptionsFunc = (
|
|
5
|
+
localization: UI_I_Localization
|
|
6
|
+
): UI_I_OptionItem[] => {
|
|
7
|
+
return [
|
|
8
|
+
{ text: localization.common.unspecified, value: '' },
|
|
9
|
+
{ text: localization.common.noSharing, value: 'no' },
|
|
10
|
+
{ text: localization.common.multiWriter, value: 'yes' },
|
|
11
|
+
]
|
|
12
|
+
}
|