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.
Files changed (290) hide show
  1. package/components/common/layout/theHeader/feedback/new/New.vue +12 -12
  2. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +7 -4
  3. package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -1
  4. package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
  5. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +6 -3
  6. package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +24 -8
  7. package/components/common/layout/theHeader/feedback/new/tabs/lib/config/tabs.ts +2 -2
  8. package/components/common/summary/notification/Notification.vue +28 -0
  9. package/components/common/summary/notification/NotificationNew.vue +135 -0
  10. package/components/common/summary/notification/NotificationOld.vue +46 -0
  11. package/components/common/vm/actions/common/_customizeHardware/CustomizeHardware.vue +274 -0
  12. package/components/common/vm/actions/common/_customizeHardware/lib/config/navItems.ts +21 -0
  13. package/components/common/vm/actions/common/_customizeHardware/lib/models/interfaces.ts +7 -0
  14. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/VirtualHardware.vue +702 -0
  15. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/BrowseView.vue +203 -0
  16. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/browseView/lib/models/interfaces.ts +8 -0
  17. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/Bus.vue +156 -0
  18. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/bus/lib/config/options.ts +20 -0
  19. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +270 -0
  20. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/fileTypes.ts +9 -0
  21. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/config/options.ts +11 -0
  22. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/lib/models/types.ts +1 -0
  23. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +57 -0
  24. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Cpu.vue +403 -0
  25. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Hv.vue +99 -0
  26. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Iommu.vue +55 -0
  27. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Pc.vue +55 -0
  28. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/Sa.vue +106 -0
  29. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/lib/config/cpuOptions.ts +21 -0
  30. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/Shares.vue +160 -0
  31. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -0
  32. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +59 -0
  33. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/binaryOptions.ts +12 -0
  34. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/config/dropdownItems.ts +66 -0
  35. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/interfaces.ts +118 -0
  36. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/lib/models/types.ts +4 -0
  37. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/Limit.vue +236 -0
  38. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/limit/lib/config/options.ts +28 -0
  39. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/Memory.vue +329 -0
  40. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/memory/lib/config/memoryOptions.ts +35 -0
  41. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +462 -0
  42. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +81 -0
  43. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/cache/lib/config/options.ts +7 -0
  44. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +153 -0
  45. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/limitIops/lib/config/options.ts +28 -0
  46. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/Location.vue +172 -0
  47. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +52 -0
  48. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +88 -0
  49. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/mode/lib/config/options.ts +18 -0
  50. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +88 -0
  51. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/provisioning/lib/config/options.ts +15 -0
  52. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +86 -0
  53. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newHardDisk/sharing/lib/config/options.ts +12 -0
  54. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/Location.vue +145 -0
  55. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +305 -0
  56. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +87 -0
  57. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/adapterType/lib/config/options.ts +9 -0
  58. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +148 -0
  59. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newNetwork/macAddress/lib/config/options.ts +11 -0
  60. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +168 -0
  61. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +48 -0
  62. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +49 -0
  63. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/lib/config/options.ts +10 -0
  64. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +7 -0
  65. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/note/Note.vue +27 -0
  66. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +42 -0
  67. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +57 -0
  68. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +82 -0
  69. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/newUsbController/lib/config/options.ts +6 -0
  70. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/other/Other.vue +32 -0
  71. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/Reservation.vue +237 -0
  72. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/reservation/lib/config/options.ts +33 -0
  73. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/Graphics.vue +50 -0
  74. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/VideoCard.vue +182 -0
  75. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/lib/config/options.ts +11 -0
  76. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/Model.vue +59 -0
  77. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/model/lib/config/options.ts +10 -0
  78. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +83 -0
  79. package/components/common/vm/actions/common/_customizeHardware/virtualHardware/videoCard/numberDisplays/lib/config/options.ts +14 -0
  80. package/components/common/vm/actions/common/_customizeHardware/vmoptions/Vmoptions.vue +181 -0
  81. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/BootOptions.vue +114 -0
  82. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/Secure.vue +50 -0
  83. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/Delay.vue +54 -0
  84. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/delay/lib/config/config.ts +14 -0
  85. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +84 -0
  86. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/firmware/lib/config/config.ts +11 -0
  87. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/Order.vue +201 -0
  88. package/components/common/vm/actions/common/_customizeHardware/vmoptions/bootOptions/order/lib/models/interfaces.ts +9 -0
  89. package/components/common/vm/actions/common/_customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +192 -0
  90. package/components/common/vm/actions/common/_customizeHardware/vmoptions/lib/models/interfaces.ts +34 -0
  91. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +52 -0
  92. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +50 -0
  93. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +254 -0
  94. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +85 -0
  95. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/lib/config/config.ts +14 -0
  96. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +85 -0
  97. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/lib/config/config.ts +12 -0
  98. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +56 -0
  99. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/keymap/lib/config/config.ts +6 -0
  100. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +57 -0
  101. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/lib/config/config.ts +11 -0
  102. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +142 -0
  103. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/models/interfaces.ts +5 -0
  104. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/password/lib/utils.ts +12 -0
  105. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +56 -0
  106. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/lib/config/config.ts +11 -0
  107. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -0
  108. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/lib/config/config.ts +12 -0
  109. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +85 -0
  110. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/type/lib/config/config.ts +7 -0
  111. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +57 -0
  112. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/lib/config/config.ts +14 -0
  113. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +85 -0
  114. package/components/common/vm/actions/common/_customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/lib/config/config.ts +12 -0
  115. package/components/common/vm/actions/common/_customizeHardware/vmoptions/tools/Tools.vue +72 -0
  116. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +119 -126
  117. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +189 -0
  118. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +158 -0
  119. package/components/common/vm/actions/common/customizeHardware/lib/config/navItems.ts +17 -2
  120. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +165 -182
  121. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +392 -0
  122. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +267 -0
  123. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +34 -93
  124. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +118 -0
  125. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue +109 -0
  126. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +69 -111
  127. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +159 -0
  128. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +158 -0
  129. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +13 -45
  130. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +55 -0
  131. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaOld.vue +42 -0
  132. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +73 -139
  133. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +185 -0
  134. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue +174 -0
  135. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +90 -90
  136. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Iommu.vue +50 -50
  137. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Pc.vue +50 -50
  138. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +98 -98
  139. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocket.vue +86 -0
  140. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +68 -0
  141. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketOld.vue +63 -0
  142. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlug.vue +40 -0
  143. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlugNew.vue +31 -0
  144. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuHotPlug/CpuHotPlugOld.vue +38 -0
  145. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModel.vue +121 -0
  146. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModelNew.vue +209 -0
  147. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/cpuModel/CpuModelOld.vue +171 -0
  148. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpu.vue +94 -0
  149. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +40 -0
  150. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuOld.vue +51 -0
  151. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +29 -49
  152. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +58 -0
  153. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesOld.vue +76 -0
  154. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +10 -48
  155. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +111 -0
  156. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipOld.vue +59 -0
  157. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +83 -2
  158. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +32 -52
  159. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +70 -0
  160. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitOld.vue +75 -0
  161. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +53 -94
  162. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +151 -0
  163. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryOld.vue +154 -0
  164. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlug.vue +29 -0
  165. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +30 -0
  166. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugOld.vue +43 -0
  167. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +77 -188
  168. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +224 -0
  169. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +240 -0
  170. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +21 -47
  171. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +40 -0
  172. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheOld.vue +57 -0
  173. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/File.vue +22 -0
  174. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +28 -0
  175. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileOld.vue +24 -0
  176. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +32 -85
  177. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +63 -0
  178. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsOld.vue +86 -0
  179. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +5 -16
  180. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModal.vue +52 -0
  181. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalNew.vue +74 -0
  182. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/StorageModalOld.vue +1 -1
  183. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +23 -0
  184. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +28 -0
  185. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeOld.vue +25 -0
  186. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +24 -47
  187. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +46 -0
  188. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeOld.vue +57 -0
  189. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +24 -51
  190. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +44 -0
  191. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningOld.vue +58 -0
  192. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +24 -47
  193. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +44 -0
  194. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingOld.vue +58 -0
  195. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +56 -89
  196. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +124 -0
  197. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkOld.vue +131 -0
  198. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +22 -49
  199. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +49 -0
  200. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeOld.vue +60 -0
  201. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +51 -80
  202. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +69 -0
  203. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressOld.vue +84 -0
  204. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +1 -1
  205. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +16 -40
  206. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +53 -0
  207. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerOld.vue +61 -0
  208. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +8 -24
  209. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +27 -0
  210. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherOld.vue +32 -0
  211. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevices.vue +15 -0
  212. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +33 -0
  213. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesOld.vue +21 -0
  214. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +30 -71
  215. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +98 -0
  216. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationOld.vue +96 -0
  217. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +39 -77
  218. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +96 -0
  219. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +108 -0
  220. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +16 -41
  221. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +40 -0
  222. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelOld.vue +44 -0
  223. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +21 -47
  224. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +45 -0
  225. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysOld.vue +56 -0
  226. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemory.vue +105 -0
  227. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +54 -0
  228. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryOld.vue +60 -0
  229. package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +57 -93
  230. package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +102 -0
  231. package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +96 -0
  232. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptions.vue +39 -53
  233. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +75 -0
  234. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsOld.vue +80 -0
  235. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +13 -41
  236. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +35 -0
  237. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayOld.vue +41 -0
  238. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +20 -47
  239. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +42 -0
  240. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareOld.vue +56 -0
  241. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/Menu.vue +20 -0
  242. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +25 -0
  243. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuOld.vue +36 -0
  244. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +13 -43
  245. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +50 -0
  246. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderOld.vue +60 -0
  247. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +40 -155
  248. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +141 -0
  249. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsOld.vue +137 -0
  250. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +140 -0
  251. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +254 -0
  252. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +1 -1
  253. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +28 -110
  254. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPaste.vue +26 -0
  255. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +30 -0
  256. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteOld.vue +41 -0
  257. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransfer.vue +26 -0
  258. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +30 -0
  259. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferOld.vue +41 -0
  260. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharing.vue +20 -0
  261. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +30 -0
  262. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingOld.vue +37 -0
  263. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +16 -40
  264. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +39 -0
  265. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapOld.vue +43 -0
  266. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +32 -73
  267. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +100 -0
  268. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordOld.vue +92 -0
  269. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +13 -42
  270. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +38 -0
  271. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -0
  272. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +15 -38
  273. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +39 -0
  274. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsOld.vue +48 -0
  275. package/package.json +2 -2
  276. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CoresPerSocket.vue +0 -0
  277. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CpuHotPlug.vue +0 -0
  278. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/CpuModel.vue +0 -0
  279. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/cpu/MaxCpu.vue +0 -0
  280. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/memory/MemoryHotPlug.vue +0 -0
  281. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/DiskFile.vue +0 -0
  282. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/MaximumSize.vue +0 -0
  283. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/location/storageModalNew/StorageModalNew.vue +0 -0
  284. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/newHardDisk/location/storageModalNew/lib/config/table.ts +0 -0
  285. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/other/InputDevices.vue +0 -0
  286. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/virtualHardware/videoCard/TotalVideoMemory.vue +0 -0
  287. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/bootOptions/Menu.vue +0 -0
  288. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/CopyPaste.vue +0 -0
  289. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/FileTransfer.vue +0 -0
  290. /package/components/common/vm/actions/common/{customizeHardware → _customizeHardware}/vmoptions/remoteConsoleOptions/FolderSharing.vue +0 -0
@@ -0,0 +1,254 @@
1
+ <template>
2
+ <div class="hardware-remote-console">
3
+ <atoms-stack-block :has-children="true" test-id="remote-console-stack-block">
4
+ <template #stackBlockKey>
5
+ <div
6
+ id="vm-wizard-toggle-block-remote-console"
7
+ data-id="vm-wizard-toggle-block-remote-console"
8
+ class="flex-align-center"
9
+ >
10
+ <span>{{ localization.common.remoteConsoleOptions }}</span>
11
+ <atoms-the-icon
12
+ v-show="remoteConsoleOptionsInvalid"
13
+ width="24px"
14
+ height="24px"
15
+ class="is-error tooltip-trigger"
16
+ name="info"
17
+ />
18
+ </div>
19
+ </template>
20
+ <template #stackChildren>
21
+ <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
22
+
23
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-type-->
24
+ <!-- v-models:remote-console-type="remoteConsoleType"-->
25
+ <!-- :error-validation-fields="props.errorValidationFields"-->
26
+ <!-- :disabled="isDisabled"-->
27
+ <!-- @input="changeRemoteConsoleType"-->
28
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
29
+ <!-- />-->
30
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-keymap
31
+ v-model:keymap="keymap"
32
+ :disabled="isDisabled"
33
+ />
34
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-password
35
+ v-model:password="password"
36
+ :disabled="isDisabled"
37
+ @valid="passwordIsValid = $event"
38
+ />
39
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-power-control-->
40
+ <!-- v-if="remoteConsoleType === 'vnc'"-->
41
+ <!-- v-models:power-control="powerControl"-->
42
+ <!-- />-->
43
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-share-policy-->
44
+ <!-- v-if="remoteConsoleType === 'vnc'"-->
45
+ <!-- v-models:share-policy="sharePolicy"-->
46
+ <!-- />-->
47
+ <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
48
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-img-compression-->
49
+ <!-- v-if="remoteConsoleType === 'spice'"-->
50
+ <!-- v-models:img-compression="imgCompression"-->
51
+ <!-- :error-validation-fields="props.errorValidationFields"-->
52
+ <!-- :disabled="isDisabled"-->
53
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
54
+ <!-- />-->
55
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-jpeg-compression-->
56
+ <!-- v-if="remoteConsoleType === 'spice'"-->
57
+ <!-- v-models:jpeg-compression="jpegCompression"-->
58
+ <!-- :error-validation-fields="props.errorValidationFields"-->
59
+ <!-- :disabled="isDisabled"-->
60
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
61
+ <!-- />-->
62
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-zlib-compression-->
63
+ <!-- v-if="remoteConsoleType === 'spice'"-->
64
+ <!-- v-models:zlib-compression="zlibCompression"-->
65
+ <!-- :error-validation-fields="props.errorValidationFields"-->
66
+ <!-- :disabled="isDisabled"-->
67
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
68
+ <!-- />-->
69
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-playback-compression-->
70
+ <!-- v-if="remoteConsoleType === 'spice'"-->
71
+ <!-- :disabled="isDisabled"-->
72
+ <!-- v-models:playback-compression="playbackCompression"-->
73
+ <!-- />-->
74
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-streaming-mode-->
75
+ <!-- v-if="remoteConsoleType === 'spice'"-->
76
+ <!-- v-models:streaming-mode="streamingMode"-->
77
+ <!-- :error-validation-fields="props.errorValidationFields"-->
78
+ <!-- :disabled="isDisabled"-->
79
+ <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
80
+ <!-- />-->
81
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-copy-paste
82
+ v-if="remoteConsoleType === 'spice'"
83
+ v-model:copy-paste="copyPaste"
84
+ :disabled="isDisabled"
85
+ />
86
+ <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
87
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-mouse-mode-->
88
+ <!-- v-if="remoteConsoleType === 'spice'"-->
89
+ <!-- v-models:mouse-mode="mouseMode"-->
90
+ <!-- />-->
91
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-file-transfer
92
+ v-if="remoteConsoleType === 'spice'"
93
+ v-model:file-transfer="fileTransfer"
94
+ :disabled="isDisabled"
95
+ />
96
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-usb-redirection
97
+ v-if="remoteConsoleType === 'spice'"
98
+ v-model:usb-redirection="usbRedirection"
99
+ :disabled="isDisabled"
100
+ />
101
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing
102
+ v-if="remoteConsoleType === 'spice'"
103
+ v-model:folder-sharing="folderSharing"
104
+ :disabled="isDisabled"
105
+ />
106
+ </template>
107
+ </atoms-stack-block>
108
+ </div>
109
+ </template>
110
+
111
+ <script setup lang="ts">
112
+ import type { UI_I_SendDataRemoteConsoleOptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
113
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
114
+ // import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
115
+
116
+ const props = defineProps<{
117
+ remoteConsoleOptions?: UI_I_SendDataRemoteConsoleOptions
118
+ // TODO возможно вернем, НЕ УДАЛЯТЬ
119
+ // errorValidationFields: UI_I_ErrorValidationField<string>[]
120
+ isEdit: boolean
121
+ state?: string | number
122
+ }>()
123
+ const emits = defineEmits<{
124
+ (event: 'send-data', value: UI_I_SendDataRemoteConsoleOptions): void
125
+ (event: 'invalid', value: boolean): void
126
+ // TODO возможно вернем, НЕ УДАЛЯТЬ
127
+ // (event: 'remove-error-by-title', value: string): void
128
+ }>()
129
+
130
+ const localization = computed<UI_I_Localization>(() => useLocal())
131
+
132
+ const isDisabled = computed<boolean>(() => props.isEdit && props.state !== 1)
133
+
134
+ const remoteConsoleType = ref<string>('spice')
135
+ // TODO возможно вернем, НЕ УДАЛЯТЬ
136
+ // const changeRemoteConsoleType = (): void => {
137
+ // // powerControl.value = false
138
+ // // sharePolicy.value = 'allow-exclusive'
139
+ // imgCompression.value = 'auto_glz'
140
+ // jpegCompression.value = 'auto'
141
+ // zlibCompression.value = 'auto'
142
+ // playbackCompression.value = true
143
+ // streamingMode.value = 'all'
144
+ // copyPaste.value = true
145
+ // mouseMode.value = 'client'
146
+ // fileTransfer.value = true
147
+ // usbRedirection.value = 3
148
+ // folderSharing.value = true
149
+ // }
150
+
151
+ const keymap = ref<string>('en_US')
152
+
153
+ const password = ref<string>('')
154
+ const passwordIsValid = ref<boolean>(true)
155
+
156
+ // const powerControl = ref<boolean>(false)
157
+
158
+ // const sharePolicy = ref<string>('allow-exclusive')
159
+
160
+ const imgCompression = ref<string>('auto_glz')
161
+
162
+ const jpegCompression = ref<string>('auto')
163
+
164
+ const zlibCompression = ref<string>('auto')
165
+
166
+ const playbackCompression = ref<boolean>(true)
167
+
168
+ const streamingMode = ref<string>('all')
169
+
170
+ const copyPaste = ref<boolean>(true)
171
+
172
+ const mouseMode = ref<string>('client')
173
+
174
+ const fileTransfer = ref<boolean>(true)
175
+
176
+ const usbRedirection = ref<number>(3)
177
+
178
+ const folderSharing = ref<boolean>(true)
179
+
180
+ watch(
181
+ [
182
+ remoteConsoleType,
183
+ keymap,
184
+ password,
185
+ // powerControl,
186
+ // sharePolicy,
187
+ imgCompression,
188
+ jpegCompression,
189
+ zlibCompression,
190
+ playbackCompression,
191
+ streamingMode,
192
+ copyPaste,
193
+ mouseMode,
194
+ fileTransfer,
195
+ usbRedirection,
196
+ folderSharing,
197
+ ],
198
+ () => {
199
+ emits('send-data', {
200
+ type: remoteConsoleType.value,
201
+ port: 0,
202
+ keymap: keymap.value,
203
+ password: password.value,
204
+ guest_os_lock: false,
205
+ limit_sessions: 0,
206
+ spice: {
207
+ img_compression: imgCompression.value,
208
+ jpeg_compression: jpegCompression.value,
209
+ zlib_glz_compression: zlibCompression.value,
210
+ streaming_mode: streamingMode.value,
211
+ playback_compression: playbackCompression.value,
212
+ file_transfer: fileTransfer.value,
213
+ clipboard: copyPaste.value,
214
+ },
215
+ })
216
+ },
217
+ { immediate: true }
218
+ )
219
+
220
+ // Добавляем данные для редактирования
221
+ watch(
222
+ () => props.remoteConsoleOptions,
223
+ (newValue) => {
224
+ if (!newValue || !props.remoteConsoleOptions) return
225
+
226
+ remoteConsoleType.value = props.remoteConsoleOptions.type
227
+ keymap.value = props.remoteConsoleOptions.keymap
228
+ password.value = props.remoteConsoleOptions.password
229
+ imgCompression.value = props.remoteConsoleOptions.spice.img_compression
230
+ jpegCompression.value = props.remoteConsoleOptions.spice.jpeg_compression
231
+ zlibCompression.value =
232
+ props.remoteConsoleOptions.spice.zlib_glz_compression
233
+ streamingMode.value = props.remoteConsoleOptions.spice.streaming_mode
234
+ playbackCompression.value =
235
+ props.remoteConsoleOptions.spice.playback_compression
236
+ fileTransfer.value = props.remoteConsoleOptions.spice.file_transfer
237
+ copyPaste.value = props.remoteConsoleOptions.spice.clipboard
238
+ },
239
+ { immediate: true }
240
+ )
241
+
242
+ const remoteConsoleOptionsInvalid = computed<boolean>(
243
+ () => !passwordIsValid.value
244
+ )
245
+ watch(
246
+ remoteConsoleOptionsInvalid,
247
+ (newValue) => {
248
+ emits('invalid', newValue)
249
+ },
250
+ { immediate: true }
251
+ )
252
+ </script>
253
+
254
+ <style scoped lang="scss"></style>
@@ -37,7 +37,7 @@ const powerControlLocal = computed<boolean>({
37
37
  get() {
38
38
  return props.powerControl
39
39
  },
40
- set(newValue) {
40
+ set(newValue: boolean) {
41
41
  emits('update:power-control', newValue)
42
42
  },
43
43
  })
@@ -1,117 +1,34 @@
1
1
  <template>
2
- <div class="hardware-remote-console">
3
- <atoms-stack-block :has-children="true" test-id="remote-console-stack-block">
4
- <template #stackBlockKey>
5
- <div
6
- id="vm-wizard-toggle-block-remote-console"
7
- data-id="vm-wizard-toggle-block-remote-console"
8
- class="flex-align-center"
9
- >
10
- <span>{{ localization.common.remoteConsoleOptions }}</span>
11
- <atoms-the-icon
12
- v-show="remoteConsoleOptionsInvalid"
13
- width="24px"
14
- height="24px"
15
- class="is-error tooltip-trigger"
16
- name="info"
17
- />
18
- </div>
19
- </template>
20
- <template #stackChildren>
21
- <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
22
-
23
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-type-->
24
- <!-- v-models:remote-console-type="remoteConsoleType"-->
25
- <!-- :error-validation-fields="props.errorValidationFields"-->
26
- <!-- :disabled="isDisabled"-->
27
- <!-- @input="changeRemoteConsoleType"-->
28
- <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
29
- <!-- />-->
30
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-keymap
31
- v-model:keymap="keymap"
32
- :disabled="isDisabled"
33
- />
34
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-password
35
- v-model:password="password"
36
- :disabled="isDisabled"
37
- @valid="passwordIsValid = $event"
38
- />
39
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-power-control-->
40
- <!-- v-if="remoteConsoleType === 'vnc'"-->
41
- <!-- v-models:power-control="powerControl"-->
42
- <!-- />-->
43
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-share-policy-->
44
- <!-- v-if="remoteConsoleType === 'vnc'"-->
45
- <!-- v-models:share-policy="sharePolicy"-->
46
- <!-- />-->
47
- <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
48
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-img-compression-->
49
- <!-- v-if="remoteConsoleType === 'spice'"-->
50
- <!-- v-models:img-compression="imgCompression"-->
51
- <!-- :error-validation-fields="props.errorValidationFields"-->
52
- <!-- :disabled="isDisabled"-->
53
- <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
54
- <!-- />-->
55
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-jpeg-compression-->
56
- <!-- v-if="remoteConsoleType === 'spice'"-->
57
- <!-- v-models:jpeg-compression="jpegCompression"-->
58
- <!-- :error-validation-fields="props.errorValidationFields"-->
59
- <!-- :disabled="isDisabled"-->
60
- <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
61
- <!-- />-->
62
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-zlib-compression-->
63
- <!-- v-if="remoteConsoleType === 'spice'"-->
64
- <!-- v-models:zlib-compression="zlibCompression"-->
65
- <!-- :error-validation-fields="props.errorValidationFields"-->
66
- <!-- :disabled="isDisabled"-->
67
- <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
68
- <!-- />-->
69
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-playback-compression-->
70
- <!-- v-if="remoteConsoleType === 'spice'"-->
71
- <!-- :disabled="isDisabled"-->
72
- <!-- v-models:playback-compression="playbackCompression"-->
73
- <!-- />-->
74
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-streaming-mode-->
75
- <!-- v-if="remoteConsoleType === 'spice'"-->
76
- <!-- v-models:streaming-mode="streamingMode"-->
77
- <!-- :error-validation-fields="props.errorValidationFields"-->
78
- <!-- :disabled="isDisabled"-->
79
- <!-- @remove-error-by-title="emits('remove-error-by-title', $event)"-->
80
- <!-- />-->
81
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-copy-paste
82
- v-if="remoteConsoleType === 'spice'"
83
- v-model:copy-paste="copyPaste"
84
- :disabled="isDisabled"
85
- />
86
- <!-- TODO возможно вернем, НЕ УДАЛЯТЬ-->
87
- <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-mouse-mode-->
88
- <!-- v-if="remoteConsoleType === 'spice'"-->
89
- <!-- v-models:mouse-mode="mouseMode"-->
90
- <!-- />-->
91
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-file-transfer
92
- v-if="remoteConsoleType === 'spice'"
93
- v-model:file-transfer="fileTransfer"
94
- :disabled="isDisabled"
95
- />
96
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-usb-redirection
97
- v-if="remoteConsoleType === 'spice'"
98
- v-model:usb-redirection="usbRedirection"
99
- :disabled="isDisabled"
100
- />
101
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing
102
- v-if="remoteConsoleType === 'spice'"
103
- v-model:folder-sharing="folderSharing"
104
- :disabled="isDisabled"
105
- />
106
- </template>
107
- </atoms-stack-block>
108
- </div>
2
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-new
3
+ v-if="isNewView"
4
+ v-model:keymap="keymap"
5
+ v-model:password="password"
6
+ v-model:password-is-valid="passwordIsValid"
7
+ v-model:remote-console-type="remoteConsoleType"
8
+ v-model:copy-paste="copyPaste"
9
+ v-model:file-transfer="fileTransfer"
10
+ v-model:usb-redirection="usbRedirection"
11
+ v-model:folder-sharing="folderSharing"
12
+ :remote-console-options-invalid="remoteConsoleOptionsInvalid"
13
+ :is-disabled="isDisabled"
14
+ />
15
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-old
16
+ v-else
17
+ v-model:keymap="keymap"
18
+ v-model:password="password"
19
+ v-model:password-is-valid="passwordIsValid"
20
+ v-model:remote-console-type="remoteConsoleType"
21
+ v-model:copy-paste="copyPaste"
22
+ v-model:file-transfer="fileTransfer"
23
+ v-model:usb-redirection="usbRedirection"
24
+ v-model:folder-sharing="folderSharing"
25
+ :remote-console-options-invalid="remoteConsoleOptionsInvalid"
26
+ :is-disabled="isDisabled"
27
+ />
109
28
  </template>
110
29
 
111
30
  <script setup lang="ts">
112
31
  import type { UI_I_SendDataRemoteConsoleOptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/lib/models/interfaces'
113
- import type { UI_I_Localization } from '~/lib/models/interfaces'
114
- // import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
115
32
 
116
33
  const props = defineProps<{
117
34
  remoteConsoleOptions?: UI_I_SendDataRemoteConsoleOptions
@@ -127,7 +44,8 @@ const emits = defineEmits<{
127
44
  // (event: 'remove-error-by-title', value: string): void
128
45
  }>()
129
46
 
130
- const localization = computed<UI_I_Localization>(() => useLocal())
47
+ const { $store }: any = useNuxtApp()
48
+ const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
131
49
 
132
50
  const isDisabled = computed<boolean>(() => props.isEdit && props.state !== 1)
133
51
 
@@ -0,0 +1,26 @@
1
+ <template>
2
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-copy-paste-new
3
+ v-if="isNewView"
4
+ v-model:copy-paste="copyPaste"
5
+ :disabled="props.disabled"
6
+ />
7
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-copy-paste-old
8
+ v-else
9
+ v-model:copy-paste="copyPaste"
10
+ :disabled="props.disabled"
11
+ />
12
+ </template>
13
+
14
+ <script setup lang="ts">
15
+ const copyPaste = defineModel<boolean>('copy-paste')
16
+
17
+ const props = defineProps<{
18
+ disabled: boolean
19
+ }>()
20
+
21
+ const { $store }: any = useNuxtApp()
22
+ const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
23
+ </script>
24
+
25
+ <style scoped>
26
+ </style>
@@ -0,0 +1,30 @@
1
+ <template>
2
+ <ui-stack-block :has-children="false">
3
+ <template #stackBlockKey>
4
+ {{ localization.common.copyPaste }}
5
+ </template>
6
+ <template #stackBlockContent>
7
+ <ui-checkbox
8
+ id="copy-paste"
9
+ v-model="copyPaste"
10
+ test-id="copy-paste-checkbox"
11
+ :disabled="props.disabled"
12
+ :label-text="localization.common.enable"
13
+ />
14
+ </template>
15
+ </ui-stack-block>
16
+ </template>
17
+
18
+ <script setup lang="ts">
19
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
20
+
21
+ const copyPaste = defineModel<boolean>('copy-paste')
22
+
23
+ const props = defineProps<{
24
+ disabled: boolean
25
+ }>()
26
+
27
+ const localization = computed<UI_I_Localization>(() => useLocal())
28
+ </script>
29
+
30
+ <style scoped></style>
@@ -0,0 +1,41 @@
1
+ <template>
2
+ <div class="">
3
+ <atoms-stack-block :has-children="false">
4
+ <template #stackBlockKey>
5
+ {{ localization.common.copyPaste }}
6
+ </template>
7
+ <template #stackBlockContent>
8
+ <div class="flex-align-center">
9
+ <input
10
+ id="copy-paste"
11
+ v-model="copyPaste"
12
+ data-id="copy-paste-checkbox"
13
+ :disabled="props.disabled"
14
+ type="checkbox"
15
+ />
16
+ <label for="copy-paste" class="label-text-normal">{{
17
+ localization.common.enable
18
+ }}</label>
19
+ </div>
20
+ </template>
21
+ </atoms-stack-block>
22
+ </div>
23
+ </template>
24
+
25
+ <script setup lang="ts">
26
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
27
+
28
+ const copyPaste = defineModel<boolean>('copy-paste')
29
+
30
+ const props = defineProps<{
31
+ disabled: boolean
32
+ }>()
33
+
34
+ const localization = computed<UI_I_Localization>(() => useLocal())
35
+ </script>
36
+
37
+ <style scoped>
38
+ #copy-paste {
39
+ margin: 0 4px 4px 0;
40
+ }
41
+ </style>
@@ -0,0 +1,26 @@
1
+ <template>
2
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-file-transfer-new
3
+ v-if="isNewView"
4
+ v-model:file-transfer="fileTransfer"
5
+ :disabled="props.disabled"
6
+ />
7
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-file-transfer-old
8
+ v-else
9
+ v-model:file-transfer="fileTransfer"
10
+ :disabled="props.disabled"
11
+ />
12
+ </template>
13
+
14
+ <script setup lang="ts">
15
+ const fileTransfer = defineModel<boolean>('file-transfer', {required: true})
16
+
17
+ const props = defineProps<{
18
+ disabled: boolean
19
+ }>()
20
+
21
+ const { $store }: any = useNuxtApp()
22
+ const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
23
+ </script>
24
+
25
+ <style scoped>
26
+ </style>
@@ -0,0 +1,30 @@
1
+ <template>
2
+ <ui-stack-block :has-children="false">
3
+ <template #stackBlockKey>
4
+ {{ localization.common.fileTransfer }}
5
+ </template>
6
+ <template #stackBlockContent>
7
+ <ui-checkbox
8
+ id="file-transfer"
9
+ v-model="fileTransfer"
10
+ test-id="file-transfer-checkbox"
11
+ :disabled="props.disabled"
12
+ :label-text="localization.common.enable"
13
+ />
14
+ </template>
15
+ </ui-stack-block>
16
+ </template>
17
+
18
+ <script setup lang="ts">
19
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
20
+
21
+ const fileTransfer = defineModel<boolean>('file-transfer', { required: true })
22
+
23
+ const props = defineProps<{
24
+ disabled: boolean
25
+ }>()
26
+
27
+ const localization = computed<UI_I_Localization>(() => useLocal())
28
+ </script>
29
+
30
+ <style scoped></style>
@@ -0,0 +1,41 @@
1
+ <template>
2
+ <div class="">
3
+ <atoms-stack-block :has-children="false">
4
+ <template #stackBlockKey>
5
+ {{ localization.common.fileTransfer }}
6
+ </template>
7
+ <template #stackBlockContent>
8
+ <div class="flex-align-center">
9
+ <input
10
+ id="file-transfer"
11
+ v-model="fileTransfer"
12
+ data-id="file-transfer-checkbox"
13
+ :disabled="props.disabled"
14
+ type="checkbox"
15
+ />
16
+ <label for="file-transfer" class="label-text-normal">{{
17
+ localization.common.enable
18
+ }}</label>
19
+ </div>
20
+ </template>
21
+ </atoms-stack-block>
22
+ </div>
23
+ </template>
24
+
25
+ <script setup lang="ts">
26
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
27
+
28
+ const fileTransfer = defineModel<boolean>('file-transfer', {required: true})
29
+
30
+ const props = defineProps<{
31
+ disabled: boolean
32
+ }>()
33
+
34
+ const localization = computed<UI_I_Localization>(() => useLocal())
35
+ </script>
36
+
37
+ <style scoped>
38
+ #file-transfer {
39
+ margin: 0 4px 4px 0;
40
+ }
41
+ </style>
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing-new
3
+ v-if="isNewView"
4
+ v-model:folder-sharing="folderSharing"
5
+ />
6
+ <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing-old
7
+ v-else
8
+ v-model:folder-sharing="folderSharing"
9
+ />
10
+ </template>
11
+
12
+ <script setup lang="ts">
13
+ const folderSharing = defineModel<boolean>('folder-sharing')
14
+
15
+ const { $store }: any = useNuxtApp()
16
+ const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
17
+ </script>
18
+
19
+ <style scoped>
20
+ </style>
@@ -0,0 +1,30 @@
1
+ <template>
2
+ <ui-stack-block :has-children="false">
3
+ <template #stackBlockKey>
4
+ {{ localization.common.folderSharing }}
5
+ </template>
6
+ <template #stackBlockContent>
7
+ <ui-checkbox
8
+ id="folder-sharing"
9
+ v-model="folderSharing"
10
+ test-id="folder-sharing-checkbox"
11
+ :label-text="localization.common.enable"
12
+ disabled
13
+ />
14
+ </template>
15
+ </ui-stack-block>
16
+ </template>
17
+
18
+ <script setup lang="ts">
19
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
20
+
21
+ const folderSharing = defineModel<boolean>('folder-sharing')
22
+
23
+ const localization = computed<UI_I_Localization>(() => useLocal())
24
+ </script>
25
+
26
+ <style scoped>
27
+ #folder-sharing {
28
+ margin: 0 4px 4px 0;
29
+ }
30
+ </style>