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,124 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block
|
|
3
|
+
:has-children="true"
|
|
4
|
+
:removable="props.isRemovable"
|
|
5
|
+
:test-id="`network-stack-block-${props.index}`"
|
|
6
|
+
@remove="emits('remove')"
|
|
7
|
+
>
|
|
8
|
+
<template #stackBlockKey>
|
|
9
|
+
<div
|
|
10
|
+
:id="`vm-wizard-toggle-block-network-${props.index}`"
|
|
11
|
+
:data-id="`vm-wizard-toggle-block-network-${props.index}`"
|
|
12
|
+
class="vm-wizard-toggle-block-network flex-align-center"
|
|
13
|
+
>
|
|
14
|
+
<span class="title">{{ props.label }}</span>
|
|
15
|
+
<ui-icon
|
|
16
|
+
v-show="newNetworkInvalid"
|
|
17
|
+
width="18px"
|
|
18
|
+
height="18px"
|
|
19
|
+
name="error-outline"
|
|
20
|
+
/>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
<template #stackBlockContent>
|
|
24
|
+
<ui-select
|
|
25
|
+
:id="`vm-wizard-network-field-${props.index}`"
|
|
26
|
+
v-model="selectedLocation"
|
|
27
|
+
width="auto"
|
|
28
|
+
:items="props.locationOptions"
|
|
29
|
+
:disabled="props.type === 'edit' && props.state !== 1"
|
|
30
|
+
:test-id="`vm-wizard-network-field-${props.index}`"
|
|
31
|
+
:class="`vm-wizard-network-field-${props.index} network-select`"
|
|
32
|
+
:error-text="props.errorText"
|
|
33
|
+
@change="onChangeLocation"
|
|
34
|
+
@click.stop
|
|
35
|
+
/>
|
|
36
|
+
</template>
|
|
37
|
+
<template #stackChildren>
|
|
38
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-adapter-type
|
|
39
|
+
v-model:adapter-type="adapterType"
|
|
40
|
+
:index="props.index"
|
|
41
|
+
:disabled="props.type === 'edit' || props.isRunning"
|
|
42
|
+
:error-validation-fields="props.errorValidationFields"
|
|
43
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
44
|
+
/>
|
|
45
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-mac-address
|
|
46
|
+
v-model:mac-address="macAddress"
|
|
47
|
+
v-model:mac-address-type="macAddressType"
|
|
48
|
+
:index="props.index"
|
|
49
|
+
:disabled="props.type === 'edit'"
|
|
50
|
+
:error-validation-fields="props.errorValidationFields"
|
|
51
|
+
@invalid="newNetworkInvalid = $event"
|
|
52
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
53
|
+
/>
|
|
54
|
+
</template>
|
|
55
|
+
</ui-stack-block>
|
|
56
|
+
|
|
57
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-location
|
|
58
|
+
v-if="props.locationModalIsShow"
|
|
59
|
+
:location-modal-is-show="props.locationModalIsShow"
|
|
60
|
+
:networks-table="props.networksTable"
|
|
61
|
+
@hide="emits('hide-location-modal')"
|
|
62
|
+
@select="emits('select-location')"
|
|
63
|
+
/>
|
|
64
|
+
</template>
|
|
65
|
+
|
|
66
|
+
<script setup lang="ts">
|
|
67
|
+
import type { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
|
|
68
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
69
|
+
import type { UI_T_NetworkType } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
|
|
70
|
+
import type {
|
|
71
|
+
UI_I_HTMLSelectElement,
|
|
72
|
+
} from '~/lib/models/interfaces'
|
|
73
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
74
|
+
|
|
75
|
+
const selectedLocation = defineModel<string>('selected-location')
|
|
76
|
+
const adapterType = defineModel<string>('adapter-type', { required: true })
|
|
77
|
+
const macAddress = defineModel<string>('mac-address', { required: true })
|
|
78
|
+
const macAddressType = defineModel<string>('mac-address-type', {
|
|
79
|
+
required: true,
|
|
80
|
+
})
|
|
81
|
+
const newNetworkInvalid = defineModel<boolean>('new-network-invalid', {
|
|
82
|
+
required: true,
|
|
83
|
+
})
|
|
84
|
+
|
|
85
|
+
const props = defineProps<{
|
|
86
|
+
index: number
|
|
87
|
+
type: UI_T_NetworkType
|
|
88
|
+
networksTable: UI_I_NetworkTableItem[]
|
|
89
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
90
|
+
isRemovable: boolean
|
|
91
|
+
label: string
|
|
92
|
+
errorText: string
|
|
93
|
+
typeError: string
|
|
94
|
+
locationOptions: UI_I_OptionItem[]
|
|
95
|
+
isRunning: boolean
|
|
96
|
+
locationModalIsShow: boolean
|
|
97
|
+
state?: string | number
|
|
98
|
+
}>()
|
|
99
|
+
|
|
100
|
+
const emits = defineEmits<{
|
|
101
|
+
(event: 'remove'): void
|
|
102
|
+
(event: 'remove-error-by-title', value: string): void
|
|
103
|
+
(event: 'change-location', value: UI_I_HTMLSelectElement): void
|
|
104
|
+
(event: 'hide-location-modal'): void
|
|
105
|
+
(event: 'select-location'): void
|
|
106
|
+
}>()
|
|
107
|
+
|
|
108
|
+
const onChangeLocation = (data: UI_T_SelectedValue): void => {
|
|
109
|
+
emits('change-location', { target: { value: data } })
|
|
110
|
+
}
|
|
111
|
+
</script>
|
|
112
|
+
|
|
113
|
+
<style scoped lang="scss">
|
|
114
|
+
.title {
|
|
115
|
+
margin-right: 10px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:deep(.network-select .ui-main-select-toggle) {
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: space-between;
|
|
121
|
+
width: 196px;
|
|
122
|
+
background-color: #ffffff;
|
|
123
|
+
}
|
|
124
|
+
</style>
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="hardware-network">
|
|
3
|
+
<atoms-stack-block
|
|
4
|
+
:has-children="true"
|
|
5
|
+
:removable="props.isRemovable"
|
|
6
|
+
:test-id="`network-stack-block-${props.index}`"
|
|
7
|
+
@remove="emits('remove')"
|
|
8
|
+
>
|
|
9
|
+
<template #stackBlockKey>
|
|
10
|
+
<div
|
|
11
|
+
:id="`vm-wizard-toggle-block-network-${props.index}`"
|
|
12
|
+
:data-id="`vm-wizard-toggle-block-network-${props.index}`"
|
|
13
|
+
class="vm-wizard-toggle-block-network flex-align-center"
|
|
14
|
+
>
|
|
15
|
+
<span>{{ props.label }}</span>
|
|
16
|
+
<atoms-the-icon
|
|
17
|
+
v-show="newNetworkInvalid"
|
|
18
|
+
width="24px"
|
|
19
|
+
height="24px"
|
|
20
|
+
class="is-error tooltip-trigger"
|
|
21
|
+
name="info"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
<template #stackBlockContent>
|
|
26
|
+
<div class="flex-align-center flex-space-between">
|
|
27
|
+
<atoms-tooltip-error
|
|
28
|
+
:has-error="!!props.errorText"
|
|
29
|
+
:selector="`.vm-wizard-network-field-${props.index}`"
|
|
30
|
+
@remove="emits('remove-error-by-title', props.typeError)"
|
|
31
|
+
>
|
|
32
|
+
<template #elem>
|
|
33
|
+
<div class="select">
|
|
34
|
+
<select
|
|
35
|
+
:id="`vm-wizard-network-field-${props.index}`"
|
|
36
|
+
v-model="selectedLocation"
|
|
37
|
+
:data-id="`vm-wizard-network-field-${props.index}`"
|
|
38
|
+
:class="`vm-wizard-network-field-${props.index} input-text-color`"
|
|
39
|
+
:disabled="props.type === 'edit' && state !== 1"
|
|
40
|
+
@click.stop
|
|
41
|
+
@change="emits('change-location', $event)"
|
|
42
|
+
>
|
|
43
|
+
<option
|
|
44
|
+
v-for="(item, key) in props.locationOptions"
|
|
45
|
+
:key="key"
|
|
46
|
+
:value="item.value"
|
|
47
|
+
>
|
|
48
|
+
{{ item.text }}
|
|
49
|
+
</option>
|
|
50
|
+
</select>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
<template #content>{{ props.errorText }}</template>
|
|
54
|
+
</atoms-tooltip-error>
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
57
|
+
<template #stackChildren>
|
|
58
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-adapter-type
|
|
59
|
+
v-model:adapter-type="adapterType"
|
|
60
|
+
:index="props.index"
|
|
61
|
+
:disabled="props.type === 'edit' || props.isRunning"
|
|
62
|
+
:error-validation-fields="props.errorValidationFields"
|
|
63
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
64
|
+
/>
|
|
65
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-mac-address
|
|
66
|
+
v-model:mac-address="macAddress"
|
|
67
|
+
v-model:mac-address-type="macAddressType"
|
|
68
|
+
:index="props.index"
|
|
69
|
+
:disabled="props.type === 'edit'"
|
|
70
|
+
:error-validation-fields="props.errorValidationFields"
|
|
71
|
+
@invalid="newNetworkInvalid = $event"
|
|
72
|
+
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
|
73
|
+
/>
|
|
74
|
+
</template>
|
|
75
|
+
</atoms-stack-block>
|
|
76
|
+
|
|
77
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-location
|
|
78
|
+
v-if="props.locationModalIsShow"
|
|
79
|
+
:location-modal-is-show="props.locationModalIsShow"
|
|
80
|
+
:networks-table="props.networksTable"
|
|
81
|
+
@hide="emits('hide-location-modal')"
|
|
82
|
+
@select="emits('select-location')"
|
|
83
|
+
/>
|
|
84
|
+
</div>
|
|
85
|
+
</template>
|
|
86
|
+
|
|
87
|
+
<script setup lang="ts">
|
|
88
|
+
import type { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
|
|
89
|
+
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
90
|
+
import type { UI_T_NetworkType } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/types'
|
|
91
|
+
import type {
|
|
92
|
+
UI_I_HTMLSelectElement,
|
|
93
|
+
} from '~/lib/models/interfaces'
|
|
94
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
95
|
+
|
|
96
|
+
const selectedLocation = defineModel<string>('selected-location')
|
|
97
|
+
const adapterType = defineModel<string>('adapter-type', {required: true})
|
|
98
|
+
const macAddress = defineModel<string>('mac-address', {required: true})
|
|
99
|
+
const macAddressType = defineModel<string>('mac-address-type', {required: true})
|
|
100
|
+
const newNetworkInvalid = defineModel<boolean>('new-network-invalid', {required: true})
|
|
101
|
+
|
|
102
|
+
const props = defineProps<{
|
|
103
|
+
index: number
|
|
104
|
+
type: UI_T_NetworkType
|
|
105
|
+
networksTable: UI_I_NetworkTableItem[]
|
|
106
|
+
errorValidationFields: UI_I_ErrorValidationField[]
|
|
107
|
+
state?: string | number
|
|
108
|
+
isRemovable: boolean
|
|
109
|
+
label: string
|
|
110
|
+
errorText: string
|
|
111
|
+
typeError: string
|
|
112
|
+
locationOptions: UI_I_OptionItem[]
|
|
113
|
+
isRunning: boolean
|
|
114
|
+
locationModalIsShow: boolean
|
|
115
|
+
}>()
|
|
116
|
+
|
|
117
|
+
const emits = defineEmits<{
|
|
118
|
+
(event: 'remove'): void
|
|
119
|
+
(event: 'remove-error-by-title', value: string): void
|
|
120
|
+
(event: 'change-location', value: UI_I_HTMLSelectElement): void
|
|
121
|
+
(event: 'hide-location-modal'): void
|
|
122
|
+
(event: 'select-location'): void
|
|
123
|
+
}>()
|
|
124
|
+
|
|
125
|
+
</script>
|
|
126
|
+
|
|
127
|
+
<style scoped lang="scss">
|
|
128
|
+
#network-connect {
|
|
129
|
+
margin-right: 4px;
|
|
130
|
+
}
|
|
131
|
+
</style>
|
|
@@ -1,71 +1,44 @@
|
|
|
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, key) in adapterTypeOptions"
|
|
24
|
-
:key="key"
|
|
25
|
-
:value="item.value"
|
|
26
|
-
:disabled="item.disabled"
|
|
27
|
-
>
|
|
28
|
-
{{ item.text }}
|
|
29
|
-
</option>
|
|
30
|
-
</select>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
<template #content>{{ apiError }}</template>
|
|
34
|
-
</atoms-tooltip-error>
|
|
35
|
-
</template>
|
|
36
|
-
</atoms-stack-block>
|
|
37
|
-
</div>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-adapter-type-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:adapter-type="adapterType"
|
|
5
|
+
:index="props.index"
|
|
6
|
+
:disabled="props.disabled"
|
|
7
|
+
:error-text="apiError"
|
|
8
|
+
:adapter-type-options="adapterTypeOptions"
|
|
9
|
+
@remove-error="onRemoveValidationError"
|
|
10
|
+
/>
|
|
11
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-adapter-type-old
|
|
12
|
+
v-else
|
|
13
|
+
v-model:adapter-type="adapterType"
|
|
14
|
+
:index="props.index"
|
|
15
|
+
:disabled="props.disabled"
|
|
16
|
+
:error-text="apiError"
|
|
17
|
+
:adapter-type-options="adapterTypeOptions"
|
|
18
|
+
@remove-error="onRemoveValidationError"
|
|
19
|
+
/>
|
|
38
20
|
</template>
|
|
39
21
|
|
|
40
22
|
<script setup lang="ts">
|
|
41
23
|
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
42
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
43
24
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
44
25
|
import { adapterTypeOptionsConfig } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/lib/config/options'
|
|
45
26
|
|
|
46
|
-
const
|
|
27
|
+
const adapterType = defineModel<string>('adapter-type')
|
|
47
28
|
|
|
48
29
|
const props = defineProps<{
|
|
49
|
-
adapterType: string
|
|
50
30
|
index: number
|
|
51
31
|
disabled: boolean
|
|
52
32
|
errorValidationFields: UI_I_ErrorValidationField[]
|
|
53
33
|
}>()
|
|
54
34
|
const emits = defineEmits<{
|
|
55
|
-
(event: 'update:adapter-type', value: string): void
|
|
56
35
|
(event: 'remove-error-by-title', value: string): void
|
|
57
36
|
}>()
|
|
58
37
|
|
|
59
|
-
const
|
|
38
|
+
const { $store }: any = useNuxtApp()
|
|
39
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
60
40
|
|
|
61
|
-
const
|
|
62
|
-
get() {
|
|
63
|
-
return props.adapterType
|
|
64
|
-
},
|
|
65
|
-
set(newValue) {
|
|
66
|
-
emits('update:adapter-type', newValue)
|
|
67
|
-
},
|
|
68
|
-
})
|
|
41
|
+
const adapterTypeOptions = ref<UI_I_OptionItem[]>(adapterTypeOptionsConfig)
|
|
69
42
|
|
|
70
43
|
const typeError = computed<string>(
|
|
71
44
|
() => `network_devices[${props.index}].model`
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.adapterType }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<ui-select
|
|
8
|
+
:id="`vm-wizard-network-model-field-${props.index}`"
|
|
9
|
+
v-model="adapterType"
|
|
10
|
+
width="auto"
|
|
11
|
+
:items="props.adapterTypeOptions"
|
|
12
|
+
:disabled="props.disabled"
|
|
13
|
+
:test-id="`vm-wizard-network-model-field-${props.index}`"
|
|
14
|
+
:class="`vm-wizard-network-model-field-${props.index} adapter-type-select`"
|
|
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 adapterType = defineModel<string>('adapter-type')
|
|
27
|
+
|
|
28
|
+
const props = defineProps<{
|
|
29
|
+
index: number
|
|
30
|
+
disabled: boolean
|
|
31
|
+
errorText: string
|
|
32
|
+
adapterTypeOptions: 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(.adapter-type-select .ui-main-select-toggle) {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
width: 196px;
|
|
47
|
+
background-color: #ffffff;
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="">
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.adapterType }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<atoms-tooltip-error
|
|
9
|
+
:has-error="!!props.errorText"
|
|
10
|
+
:selector="`.vm-wizard-network-model-field-${props.index}`"
|
|
11
|
+
@remove="emits('remove-error')"
|
|
12
|
+
>
|
|
13
|
+
<template #elem>
|
|
14
|
+
<div class="select">
|
|
15
|
+
<select
|
|
16
|
+
:id="`vm-wizard-network-model-field-${props.index}`"
|
|
17
|
+
v-model="adapterType"
|
|
18
|
+
:data-id="`vm-wizard-network-model-field-${props.index}`"
|
|
19
|
+
:class="`vm-wizard-network-model-field-${props.index}`"
|
|
20
|
+
:disabled="props.disabled"
|
|
21
|
+
>
|
|
22
|
+
<option
|
|
23
|
+
v-for="(item, key) in props.adapterTypeOptions"
|
|
24
|
+
:key="key"
|
|
25
|
+
:value="item.value"
|
|
26
|
+
:disabled="item.disabled"
|
|
27
|
+
>
|
|
28
|
+
{{ item.text }}
|
|
29
|
+
</option>
|
|
30
|
+
</select>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
<template #content>{{ props.errorText }}</template>
|
|
34
|
+
</atoms-tooltip-error>
|
|
35
|
+
</template>
|
|
36
|
+
</atoms-stack-block>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script setup lang="ts">
|
|
41
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
42
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
43
|
+
|
|
44
|
+
const adapterType = defineModel<string>('adapter-type')
|
|
45
|
+
|
|
46
|
+
const props = defineProps<{
|
|
47
|
+
index: number
|
|
48
|
+
disabled: boolean
|
|
49
|
+
errorText: string
|
|
50
|
+
adapterTypeOptions: UI_I_OptionItem[]
|
|
51
|
+
}>()
|
|
52
|
+
const emits = defineEmits<{
|
|
53
|
+
(event: 'remove-error'): void
|
|
54
|
+
}>()
|
|
55
|
+
|
|
56
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
57
|
+
|
|
58
|
+
</script>
|
|
59
|
+
|
|
60
|
+
<style scoped></style>
|
|
@@ -1,114 +1,89 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
`vm-wizard-network-mac-address-field-${props.index}`,
|
|
25
|
-
{ 'has-error': macAddressLocalErrorText },
|
|
26
|
-
]"
|
|
27
|
-
@input="onChangeMacAddress"
|
|
28
|
-
/>
|
|
29
|
-
</template>
|
|
30
|
-
<template #content>
|
|
31
|
-
{{ macAddressLocalAndApiErrorsTexts }}
|
|
32
|
-
</template>
|
|
33
|
-
</atoms-tooltip-error>
|
|
34
|
-
|
|
35
|
-
<div class="select">
|
|
36
|
-
<select
|
|
37
|
-
:id="`mac-address-select-${props.index}`"
|
|
38
|
-
:value="props.macAddressType"
|
|
39
|
-
:data-id="`mac-address-select-${props.index}`"
|
|
40
|
-
:disabled="props.disabled"
|
|
41
|
-
@change="onChangeMacAddressType"
|
|
42
|
-
>
|
|
43
|
-
<option
|
|
44
|
-
v-for="(item, key) in macAddressOptions"
|
|
45
|
-
:key="key"
|
|
46
|
-
:value="item.value"
|
|
47
|
-
>
|
|
48
|
-
{{ item.text }}
|
|
49
|
-
</option>
|
|
50
|
-
</select>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</template>
|
|
54
|
-
</atoms-stack-block>
|
|
55
|
-
</div>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-mac-address-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
v-model:mac-address="macAddress"
|
|
5
|
+
v-model:mac-address-type="macAddressType"
|
|
6
|
+
:index="index"
|
|
7
|
+
:disabled="disabled"
|
|
8
|
+
:error-text="macAddressLocalAndApiErrorsTexts"
|
|
9
|
+
:mac-address-local-error-text="macAddressLocalErrorText"
|
|
10
|
+
:mac-address-options="macAddressOptions"
|
|
11
|
+
@remove-error="onRemoveValidationError"
|
|
12
|
+
/>
|
|
13
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-new-network-mac-address-old
|
|
14
|
+
v-else
|
|
15
|
+
v-model:mac-address="macAddress"
|
|
16
|
+
v-model:mac-address-type="macAddressType"
|
|
17
|
+
:index="index"
|
|
18
|
+
:disabled="disabled"
|
|
19
|
+
:error-text="macAddressLocalAndApiErrorsTexts"
|
|
20
|
+
:mac-address-local-error-text="macAddressLocalErrorText"
|
|
21
|
+
:mac-address-options="macAddressOptions"
|
|
22
|
+
@remove-error="onRemoveValidationError"
|
|
23
|
+
/>
|
|
56
24
|
</template>
|
|
57
25
|
|
|
58
26
|
<script setup lang="ts">
|
|
59
27
|
import type {
|
|
60
28
|
UI_I_Localization,
|
|
61
|
-
UI_I_HTMLSelectElement,
|
|
62
29
|
} from '~/lib/models/interfaces'
|
|
63
30
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
64
31
|
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
65
32
|
import { macAddressOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options'
|
|
66
33
|
|
|
67
|
-
const
|
|
34
|
+
const macAddress = defineModel<string>('mac-address', { required: true })
|
|
35
|
+
const macAddressType = defineModel<string>('mac-address-type', {
|
|
36
|
+
required: true,
|
|
37
|
+
})
|
|
68
38
|
|
|
69
39
|
const props = defineProps<{
|
|
70
|
-
macAddressType: string
|
|
71
|
-
macAddress: string
|
|
72
40
|
index: number
|
|
73
41
|
disabled: boolean
|
|
74
42
|
errorValidationFields: UI_I_ErrorValidationField[]
|
|
75
43
|
}>()
|
|
76
44
|
const emits = defineEmits<{
|
|
77
|
-
(event: 'update:mac-address', value: string): void
|
|
78
|
-
(event: 'update:mac-address-type', value: string): void
|
|
79
45
|
(event: 'invalid', value: boolean): void
|
|
80
46
|
(event: 'remove-error-by-title', value: string): void
|
|
81
47
|
}>()
|
|
82
48
|
|
|
49
|
+
const { $store }: any = useNuxtApp()
|
|
50
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
51
|
+
|
|
52
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
53
|
+
|
|
83
54
|
const macAddressOptions = ref<UI_I_OptionItem[]>(
|
|
84
55
|
macAddressOptionsFunc(localization.value)
|
|
85
56
|
)
|
|
86
57
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
58
|
+
watch(macAddressType, (newValue) => {
|
|
59
|
+
macAddress.value = newValue === 'manual' ? '00:50:56:' : ''
|
|
60
|
+
})
|
|
61
|
+
// const onChangeMacAddressType = (): void => {
|
|
62
|
+
// // emits('update:mac-address-type', event.target.value)
|
|
63
|
+
//
|
|
64
|
+
// // emits(
|
|
65
|
+
// // 'update:mac-address',
|
|
66
|
+
// // event.target.value === 'manual' ? '00:50:56:' : ''
|
|
67
|
+
// // )
|
|
68
|
+
// }
|
|
69
|
+
// const onChangeMacAddress = (event: Event): void => {
|
|
70
|
+
// const target = event.target as HTMLInputElement
|
|
71
|
+
// emits('update:mac-address', target.value)
|
|
72
|
+
// }
|
|
98
73
|
|
|
99
74
|
const macAddressLocalErrorText = computed<string>(() => {
|
|
100
75
|
/* eslint-disable no-useless-escape */
|
|
101
76
|
const isValidMacAddress =
|
|
102
77
|
/^[0-9a-f]{1,2}([\.:-])(?:[0-9a-f]{1,2}\1){4}[0-9a-f]{1,2}$/.test(
|
|
103
|
-
|
|
78
|
+
macAddress.value
|
|
104
79
|
)
|
|
105
80
|
|
|
106
|
-
return
|
|
81
|
+
return macAddressType.value === 'manual' && !isValidMacAddress
|
|
107
82
|
? localization.value.common.invalidMacAddress
|
|
108
83
|
: ''
|
|
109
84
|
})
|
|
110
|
-
watch(macAddressLocalErrorText, (
|
|
111
|
-
emits('invalid', !!
|
|
85
|
+
watch(macAddressLocalErrorText, (newValue) => {
|
|
86
|
+
emits('invalid', !!newValue.length)
|
|
112
87
|
})
|
|
113
88
|
|
|
114
89
|
const typeError = computed<string>(
|
|
@@ -141,8 +116,4 @@ const onRemoveValidationError = (): void => {
|
|
|
141
116
|
}
|
|
142
117
|
</script>
|
|
143
118
|
|
|
144
|
-
<style scoped lang="scss">
|
|
145
|
-
.has-error {
|
|
146
|
-
border: 1px solid #db2100;
|
|
147
|
-
}
|
|
148
|
-
</style>
|
|
119
|
+
<style scoped lang="scss"></style>
|