bfg-common 1.2.46 → 1.2.48

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 (147) hide show
  1. package/components/common/vm/actions/add/Add.vue +14 -14
  2. package/components/common/vm/actions/add/utils.ts +2 -2
  3. package/components/common/vm/actions/clone/Clone.vue +8 -9
  4. package/components/common/vm/actions/{add → common}/config/capabilities.ts +1 -1
  5. package/components/common/vm/actions/{add → common}/customizeHardware/CustomizeHardware.vue +8 -7
  6. package/components/common/vm/actions/{add → common}/customizeHardware/models/interfaces.ts +2 -2
  7. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/VirtualHardware.vue +17 -16
  8. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/browseView/BrowseView.vue +1 -1
  9. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/bus/Bus.vue +1 -1
  10. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +8 -8
  11. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/Cpu.vue +14 -14
  12. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/shares/Shares.vue +1 -1
  13. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/limit/Limit.vue +1 -1
  14. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/memory/Memory.vue +5 -5
  15. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/Location.vue +1 -1
  16. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +13 -12
  17. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +1 -1
  18. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +1 -1
  19. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +1 -1
  20. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +1 -1
  21. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +1 -1
  22. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +5 -5
  23. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +1 -1
  24. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +1 -1
  25. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +8 -8
  26. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +1 -1
  27. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +1 -1
  28. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/other/Other.vue +1 -1
  29. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/reservation/Reservation.vue +1 -1
  30. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/VideoCard.vue +6 -6
  31. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/model/Model.vue +1 -1
  32. package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +1 -1
  33. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/Vmoptions.vue +6 -6
  34. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/BootOptions.vue +7 -7
  35. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +1 -1
  36. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +1 -1
  37. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/order/Order.vue +2 -2
  38. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +1 -1
  39. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +16 -16
  40. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +1 -1
  41. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +1 -1
  42. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +1 -1
  43. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +1 -1
  44. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +2 -2
  45. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +1 -1
  46. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +1 -1
  47. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +1 -1
  48. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +1 -1
  49. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +1 -1
  50. package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/tools/Tools.vue +1 -1
  51. package/components/common/vm/actions/{add → common}/models/interfaces.ts +2 -2
  52. package/components/common/vm/actions/{add → common}/models/types.ts +3 -3
  53. package/components/common/vm/actions/{add → common}/select/computeResource/ComputeResource.vue +1 -1
  54. package/components/common/vm/actions/{add → common}/select/createType/CreateType.vue +1 -1
  55. package/components/common/vm/actions/{add → common}/select/os/os.vue +1 -1
  56. package/components/common/vm/actions/{add → common}/select/storage/Storage.vue +1 -1
  57. package/components/common/vm/actions/{add → common}/select/storage/config/config.ts +1 -1
  58. package/components/common/vm/actions/editSettings/EditSettings.vue +4 -4
  59. package/components/common/vm/actions/editSettings/models/types.ts +2 -2
  60. package/components/common/vm/actions/editSettings/utils.ts +2 -5
  61. package/components/common/vm/actions/models/interfaces.ts +1 -1
  62. package/components/common/vm/actions/models/types.ts +1 -1
  63. package/components/common/vm/actions/utils.ts +5 -5
  64. package/models/store/vm/interfaces.ts +2 -2
  65. package/package.json +1 -1
  66. package/components/common/vm/actions/clone/readyToComplete/ReadyToComplete.vue +0 -15
  67. /package/components/common/vm/actions/{add → common}/customizeHardware/config/navItems.ts +0 -0
  68. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/browseView/models/interfaces.ts +0 -0
  69. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/bus/config/options.ts +0 -0
  70. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cdDvdDrive/config/fileTypes.ts +0 -0
  71. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cdDvdDrive/config/options.ts +0 -0
  72. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +0 -0
  73. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cdDvdDrive/models/types.ts +0 -0
  74. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/config/binaryOptions.ts +0 -0
  75. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/config/dropdownItems.ts +0 -0
  76. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +0 -0
  77. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +0 -0
  78. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/CpuModel.vue +0 -0
  79. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/Hv.vue +0 -0
  80. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/Iommu.vue +0 -0
  81. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/MaxCpu.vue +0 -0
  82. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/Pc.vue +0 -0
  83. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/Sa.vue +0 -0
  84. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/config/cpuOptions.ts +0 -0
  85. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/shares/config/options.ts +0 -0
  86. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +0 -0
  87. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/limit/config/options.ts +0 -0
  88. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/memory/MemoryHotPlug.vue +0 -0
  89. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +0 -0
  90. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/models/interfaces.ts +0 -0
  91. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/models/types.ts +0 -0
  92. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/DiskFile.vue +0 -0
  93. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/MaximumSize.vue +0 -0
  94. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/cache/config/options.ts +0 -0
  95. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/limitIops/config/options.ts +0 -0
  96. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/mode/config/options.ts +0 -0
  97. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/provisioning/config/options.ts +0 -0
  98. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newHardDisk/sharing/config/options.ts +0 -0
  99. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newNetwork/Location.vue +0 -0
  100. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newNetwork/adapterType/config/options.ts +0 -0
  101. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newNetwork/macAddress/config/options.ts +0 -0
  102. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/config/options.ts +0 -0
  103. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +0 -0
  104. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/config/options.ts +0 -0
  105. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +0 -0
  106. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +0 -0
  107. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +0 -0
  108. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/newUsbController/config/options.ts +0 -0
  109. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/other/InputDevices.vue +0 -0
  110. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/reservation/config/options.ts +0 -0
  111. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/Graphics.vue +0 -0
  112. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/TotalVideoMemory.vue +0 -0
  113. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/config/options.ts +0 -0
  114. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/model/config/options.ts +0 -0
  115. /package/components/common/vm/actions/{add → common}/customizeHardware/virtualHardware/videoCard/numberDisplays/config/options.ts +0 -0
  116. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/Menu.vue +0 -0
  117. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/Secure.vue +0 -0
  118. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/delay/config/config.ts +0 -0
  119. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/firmware/config/config.ts +0 -0
  120. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/bootOptions/order/models/interfaces.ts +0 -0
  121. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/models/interfaces.ts +0 -0
  122. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +0 -0
  123. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/FileTransfer.vue +0 -0
  124. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/FolderSharing.vue +0 -0
  125. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +0 -0
  126. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +0 -0
  127. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/config/config.ts +0 -0
  128. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/config/config.ts +0 -0
  129. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/keymap/config/config.ts +0 -0
  130. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/config/config.ts +0 -0
  131. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/password/models/interfaces.ts +0 -0
  132. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/password/utils.ts +0 -0
  133. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/config/config.ts +0 -0
  134. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/config/config.ts +0 -0
  135. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/type/config/config.ts +0 -0
  136. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/config/config.ts +0 -0
  137. /package/components/common/vm/actions/{add → common}/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/config/config.ts +0 -0
  138. /package/components/common/vm/actions/{add → common}/models/enums.ts +0 -0
  139. /package/components/common/vm/actions/{add → common}/readyToComplete/ReadyToComplete.vue +0 -0
  140. /package/components/common/vm/actions/{add → common}/select/compatibility/Compatibility.vue +0 -0
  141. /package/components/common/vm/actions/{add → common}/select/computeResource/ComputeResource.spec.ts +0 -0
  142. /package/components/common/vm/actions/{add → common}/select/computeResource/TreeView.vue +0 -0
  143. /package/components/common/vm/actions/{add → common}/select/createType/config/items.ts +0 -0
  144. /package/components/common/vm/actions/{add → common}/select/models/interfaces.ts +0 -0
  145. /package/components/common/vm/actions/{add → common}/select/models/types.ts +0 -0
  146. /package/components/common/vm/actions/{add → common}/select/name/Name.vue +0 -0
  147. /package/components/common/vm/actions/{add → common}/select/storage/models/types.ts +0 -0
@@ -16,12 +16,12 @@
16
16
  <p>{{ stepSubTitle }}</p>
17
17
  </div>
18
18
 
19
- <common-vm-actions-add-select-create-type
19
+ <common-vm-actions-common-select-create-type
20
20
  v-show="stepPosition === 0"
21
21
  :import-from-v-m-warev-sphere="props.importFromVMWarevSphere"
22
22
  @next="onNext"
23
23
  />
24
- <common-vm-actions-add-select-name
24
+ <common-vm-actions-common-select-name
25
25
  v-show="stepPosition === 1"
26
26
  :show="stepPosition === 1"
27
27
  :name-form-submit="nameFormSubmit"
@@ -31,7 +31,7 @@
31
31
  @check-name="emits('check-name', $event)"
32
32
  @loading="loading = $event"
33
33
  />
34
- <common-vm-actions-add-select-compute-resource
34
+ <common-vm-actions-common-select-compute-resource
35
35
  v-if="props.project === 'sphere'"
36
36
  v-show="stepPosition === 2"
37
37
  v-model="vmForm.computeResource"
@@ -51,7 +51,7 @@
51
51
  emits('clear-compute-resource-tree', $event)
52
52
  "
53
53
  />
54
- <common-vm-actions-add-select-storage
54
+ <common-vm-actions-common-select-storage
55
55
  v-show="
56
56
  props.project === 'sphere'
57
57
  ? stepPosition === 3
@@ -62,7 +62,7 @@
62
62
  :get-datastore-table-func="props.getDatastoreTableFunc"
63
63
  @submit="onChangeStorageAndNext"
64
64
  />
65
- <common-vm-actions-add-select-compatibility
65
+ <common-vm-actions-common-select-compatibility
66
66
  v-show="
67
67
  props.project === 'sphere'
68
68
  ? stepPosition === 4
@@ -73,7 +73,7 @@
73
73
  @change="onChangeCompatibility"
74
74
  @remove-error-by-title="emits('remove-error-by-title', $event)"
75
75
  />
76
- <common-vm-actions-add-select-os
76
+ <common-vm-actions-common-select-os
77
77
  v-show="
78
78
  props.project === 'sphere'
79
79
  ? stepPosition === 5
@@ -86,7 +86,7 @@
86
86
  @change="onChangeOs"
87
87
  @remove-error-by-title="emits('remove-error-by-title', $event)"
88
88
  />
89
- <common-vm-actions-add-customize-hardware
89
+ <common-vm-actions-common-customize-hardware
90
90
  v-show="
91
91
  props.project === 'sphere'
92
92
  ? stepPosition === 6
@@ -125,7 +125,7 @@
125
125
  @get-pci-devices="emits('get-pci-devices')"
126
126
  @next="onNext(true)"
127
127
  />
128
- <common-vm-actions-add-ready-to-complete
128
+ <common-vm-actions-common-ready-to-complete
129
129
  v-if="
130
130
  props.project === 'sphere'
131
131
  ? stepPosition === 7
@@ -213,21 +213,21 @@ import { UI_I_Localization, UI_I_ArbitraryObject } from '~/models/interfaces'
213
213
  import {
214
214
  UI_I_VmForm,
215
215
  UI_I_VmFormCash,
216
- } from '~/components/common/vm/actions/add/models/interfaces'
217
- import { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/add/customizeHardware/models/interfaces'
216
+ } from '~/components/common/vm/actions/common/models/interfaces'
217
+ import { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/common/customizeHardware/models/interfaces'
218
218
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
219
- import { UI_I_OsChange } from '~/components/common/vm/actions/add/select/models/interfaces'
219
+ import { UI_I_OsChange } from '~/components/common/vm/actions/common/select/models/interfaces'
220
220
  import {
221
221
  UI_I_SendDataCpu,
222
222
  UI_I_SendDataMemory,
223
223
  UI_I_SendDataNewCdDvdDrive,
224
224
  UI_I_SendDataNewHardDisk,
225
225
  UI_I_SendDataNewNetwork,
226
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
226
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
227
227
  import {
228
228
  UI_T_AddVmFinishFunc,
229
229
  UI_T_SelectedNavItem,
230
- } from '~/components/common/vm/actions/add/models/types'
230
+ } from '~/components/common/vm/actions/common/models/types'
231
231
  import {
232
232
  UI_I_OptionItem,
233
233
  UI_I_VerticalStepItem,
@@ -237,7 +237,7 @@ import { UI_I_ConfigurePciDevicesTable } from '~/models/store/host/interfaces'
237
237
  import { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/models/types'
238
238
  import { UI_T_Project } from '~/models/types'
239
239
  import { UI_I_TreeNode } from '~/components/common/recursionTree/models/interfaces'
240
- import { capabilities } from '~/components/common/vm/actions/add/config/capabilities'
240
+ import { capabilities } from '~/components/common/vm/actions/common/config/capabilities'
241
241
  import {
242
242
  stepItemsFunc,
243
243
  subTitleFunc,
@@ -1,10 +1,10 @@
1
1
  import { UI_I_ArbitraryObject } from '~/models/interfaces'
2
- import { UI_E_Fields } from '~/components/common/vm/actions/add/models/enums'
2
+ import { UI_E_Fields } from '~/components/common/vm/actions/common/models/enums'
3
3
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
4
4
  import { UI_I_Localization } from '~/models/interfaces'
5
5
  import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
6
- import { checkAllField } from '~/components/common/vm/actions/utils'
7
6
  import { UI_T_Project } from '~/models/types'
7
+ import { checkAllField } from '~/components/common/vm/actions/utils'
8
8
 
9
9
  export const objectToOptionItem = (
10
10
  // TODO переместить в более глобальное место
@@ -17,7 +17,7 @@
17
17
  <p>{{ stepSubTitle }}</p>
18
18
  </div>
19
19
 
20
- <common-vm-actions-add-select-name
20
+ <common-vm-actions-common-select-name
21
21
  v-show="stepPosition === 0"
22
22
  :show="stepPosition === 0"
23
23
  :name-form-submit="nameFormSubmit"
@@ -26,7 +26,7 @@
26
26
  @check-name="emits('check-name', $event)"
27
27
  @loading="loading = $event"
28
28
  />
29
- <common-vm-actions-add-select-storage
29
+ <common-vm-actions-common-select-storage
30
30
  v-show="stepPosition === 1"
31
31
  :storage-submit="storageSubmit"
32
32
  :datastore="props.datastore"
@@ -38,7 +38,7 @@
38
38
  :select-options-submit="selectOptionsSubmit"
39
39
  @submit="onChangeSelectOptionsAndNext"
40
40
  />
41
- <common-vm-actions-add-customize-hardware
41
+ <common-vm-actions-common-customize-hardware
42
42
  v-show="stepPosition === 3"
43
43
  v-model:vm-name="vmName"
44
44
  v-model:guest-machine-type="vmSettings.guestMachineType"
@@ -82,7 +82,7 @@
82
82
  @get-pci-devices="emits('get-pci-devices')"
83
83
  @next="onNext(true)"
84
84
  />
85
- <common-vm-actions-clone-ready-to-complete
85
+ <common-vm-actions-common-ready-to-complete
86
86
  v-if="stepPosition === 4"
87
87
  :ready-complete-table-info="props.readyCompleteTableInfo"
88
88
  />
@@ -154,7 +154,7 @@ import type {
154
154
  } from '~/models/store/interfaces'
155
155
  import type { UI_I_FileTreeNode } from '~/components/models/interfaces'
156
156
  import type { UI_I_Localization } from '~/models/interfaces'
157
- import type { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/add/customizeHardware/models/interfaces'
157
+ import type { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/common/customizeHardware/models/interfaces'
158
158
  import type { UI_I_ErrorValidationField } from '~/models/store/interfaces'
159
159
  import type {
160
160
  UI_I_SendDataCpu,
@@ -162,11 +162,10 @@ import type {
162
162
  UI_I_SendDataNewCdDvdDrive,
163
163
  UI_I_SendDataNewHardDisk,
164
164
  UI_I_SendDataNewNetwork,
165
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
165
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
166
166
  import type {
167
- UI_T_AddVmFinishFunc,
168
167
  UI_T_SelectedNavItem,
169
- } from '~/components/common/vm/actions/add/models/types'
168
+ } from '~/components/common/vm/actions/common/models/types'
170
169
  import type {
171
170
  UI_I_OptionItem,
172
171
  UI_I_VerticalStepItem,
@@ -177,7 +176,7 @@ import type { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/models
177
176
  import type { UI_T_Project } from '~/models/types'
178
177
  import type { UI_I_VmSettings } from '~/models/store/vm/interfaces'
179
178
  import type { UI_I_VmForm } from '~/components/common/vm/actions/clone/models/interfaces'
180
- import { capabilities } from '~/components/common/vm/actions/add/config/capabilities'
179
+ import { capabilities } from '~/components/common/vm/actions/common/config/capabilities'
181
180
  import {
182
181
  stepItemsFunc,
183
182
  subTitleFunc,
@@ -1,4 +1,4 @@
1
- import { UI_I_Compatibility } from '~/components/common/vm/actions/add/select/models/interfaces'
1
+ import { UI_I_Compatibility } from '~/components/common/vm/actions/common/select/models/interfaces'
2
2
 
3
3
  export const capabilities: UI_I_Compatibility = {
4
4
  compatibility: [
@@ -9,7 +9,7 @@
9
9
  />
10
10
 
11
11
  <div v-show="selectedNavItem === 0">
12
- <common-vm-actions-add-customize-hardware-virtual-hardware
12
+ <common-vm-actions-common-customize-hardware-virtual-hardware
13
13
  :vm-name="vmNameLocal"
14
14
  :storage="props.storage"
15
15
  :max-cpus="props.maxCpus"
@@ -18,6 +18,7 @@
18
18
  :cpu="props.cpu"
19
19
  :memory="props.memory"
20
20
  :is-edit="props.isEdit"
21
+ :is-clone="props.isClone"
21
22
  :state="props.state"
22
23
  :hard-disks="props.hardDisks"
23
24
  :cd-dvd-drives="props.cdDvdDrives"
@@ -45,7 +46,7 @@
45
46
  />
46
47
  </div>
47
48
  <div v-show="selectedNavItem === 1">
48
- <common-vm-actions-add-customize-hardware-vmoptions
49
+ <common-vm-actions-common-customize-hardware-vmoptions
49
50
  v-model:vm-name="vmNameLocal"
50
51
  v-model:guest-machine-type="guestMachineTypeLocal"
51
52
  v-model:guest-os-family="guestOsFamilyLocal"
@@ -80,10 +81,10 @@ import {
80
81
  UI_I_SendDataNewNetwork,
81
82
  UI_I_SendDataVideoCard,
82
83
  UI_I_SendDataVirtualHardware,
83
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
84
- import { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/add/customizeHardware/models/interfaces'
85
- import { UI_I_SendDataVmoptions } from '~/components/common/vm/actions/add/customizeHardware/vmoptions/models/interfaces'
86
- import { UI_T_SelectedNavItem } from '~/components/common/vm/actions/add/models/types'
84
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
85
+ import { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/common/customizeHardware/models/interfaces'
86
+ import { UI_I_SendDataVmoptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/models/interfaces'
87
+ import { UI_T_SelectedNavItem } from '~/components/common/vm/actions/common/models/types'
87
88
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
88
89
  import { UI_I_Localization } from '~/models/interfaces'
89
90
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
@@ -94,7 +95,7 @@ import {
94
95
  API_UI_I_VmEditCpu,
95
96
  API_UI_I_VmEditMemory,
96
97
  } from '~/models/store/vm/interfaces'
97
- import { navItemsFunc } from '~/components/common/vm/actions/add/customizeHardware/config/navItems'
98
+ import { navItemsFunc } from '~/components/common/vm/actions/common/customizeHardware/config/navItems'
98
99
 
99
100
  const props = defineProps<{
100
101
  vmName: string
@@ -1,5 +1,5 @@
1
- import { UI_I_SendDataVirtualHardware } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
2
- import { UI_I_SendDataVmoptions } from '~/components/common/vm/actions/add/customizeHardware/vmoptions/models/interfaces'
1
+ import { UI_I_SendDataVirtualHardware } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
2
+ import { UI_I_SendDataVmoptions } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/models/interfaces'
3
3
 
4
4
  export interface UI_I_SendDataCustomizeHardware {
5
5
  virtualHardware: UI_I_SendDataVirtualHardware | null
@@ -10,7 +10,7 @@
10
10
 
11
11
  <div class="clr-component">
12
12
  <div class="stack-view">
13
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu
13
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu
14
14
  :max-cpus="props.maxCpus"
15
15
  :cpu-models="props.cpuModels"
16
16
  :cpu="props.cpu"
@@ -22,7 +22,7 @@
22
22
  @remove-error-by-title="emits('remove-error-by-title', $event)"
23
23
  @invalid="cpuInvalid = $event"
24
24
  />
25
- <common-vm-actions-add-customize-hardware-virtual-hardware-memory
25
+ <common-vm-actions-common-customize-hardware-virtual-hardware-memory
26
26
  :max-memory="props.maxMemory"
27
27
  :is-edit="props.isEdit"
28
28
  :memory="props.memory"
@@ -32,7 +32,7 @@
32
32
  @invalid="memoryInvalid = $event"
33
33
  @remove-error-by-title="emits('remove-error-by-title', $event)"
34
34
  />
35
- <common-vm-actions-add-customize-hardware-virtual-hardware-new-hard-disk
35
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk
36
36
  v-for="(item, key) in hardDisks"
37
37
  :key="hardDisksIndex[key]"
38
38
  :index="hardDisksIndex[key]"
@@ -50,7 +50,7 @@
50
50
  @invalid="onSetInvalidHardDisk($event, hardDisksIndex[key])"
51
51
  @remove-error-by-title="emits('remove-error-by-title', $event)"
52
52
  />
53
- <common-vm-actions-add-customize-hardware-virtual-hardware-new-network
53
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-network
54
54
  v-for="(item, key) in networks"
55
55
  :key="networksIndex[key]"
56
56
  :index="networksIndex[key]"
@@ -66,7 +66,7 @@
66
66
  @remove-error-by-title="emits('remove-error-by-title', $event)"
67
67
  @get-networks-table="emits('get-networks-table', $event)"
68
68
  />
69
- <common-vm-actions-add-customize-hardware-virtual-hardware-cd-dvd-drive
69
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive
70
70
  v-for="(item, key) in cdDvdDrives"
71
71
  :key="cdDvdDrivesIndex[key]"
72
72
  :index="cdDvdDrivesIndex[key]"
@@ -89,14 +89,14 @@
89
89
  sendDataNewCdDvdDriveMethod($event, cdDvdDrivesIndex[key])
90
90
  "
91
91
  />
92
- <common-vm-actions-add-customize-hardware-virtual-hardware-new-usb-controller
92
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-usb-controller
93
93
  :usb-controller="props.usbController"
94
94
  :is-edit="props.isEdit"
95
95
  :state="props.state"
96
96
  @send-data="onSendDataNewUsbControllerMethod"
97
97
  />
98
98
  <template v-if="props.passthroughDevices">
99
- <common-vm-actions-add-customize-hardware-virtual-hardware-new-pci-device
99
+ <common-vm-actions-common-customize-hardware-virtual-hardware-new-pci-device
100
100
  v-for="(item, key) in pciDevices"
101
101
  :key="pciDevicesIndex[key]"
102
102
  :index="pciDevicesIndex[key]"
@@ -112,7 +112,7 @@
112
112
  @remove-error-by-title="emits('remove-error-by-title', $event)"
113
113
  />
114
114
  </template>
115
- <common-vm-actions-add-customize-hardware-virtual-hardware-video-card
115
+ <common-vm-actions-common-customize-hardware-virtual-hardware-video-card
116
116
  :is-edit="props.isEdit"
117
117
  :video-card="props.videoCard"
118
118
  :error-validation-fields="props.errorValidationFields"
@@ -121,12 +121,12 @@
121
121
  @invalid="videoCardInvalid = $event"
122
122
  @remove-error-by-title="emits('remove-error-by-title', $event)"
123
123
  />
124
- <common-vm-actions-add-customize-hardware-virtual-hardware-other />
124
+ <common-vm-actions-common-customize-hardware-virtual-hardware-other />
125
125
  </div>
126
126
  </div>
127
127
 
128
128
  <Teleport to="body">
129
- <common-vm-actions-add-customize-hardware-virtual-hardware-browse-view
129
+ <common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
130
130
  v-if="isShowFileModal"
131
131
  :show="isShowFileModal"
132
132
  :nodes="props.nodes"
@@ -160,13 +160,13 @@ import {
160
160
  UI_I_HardDisk,
161
161
  UI_I_PciDevice,
162
162
  UI_I_SendDataNewPciDevice,
163
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
163
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
164
164
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
165
165
  import {
166
166
  UI_T_HardDiskType,
167
167
  UI_T_NetworkType,
168
168
  UI_T_CdDvdType,
169
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/types'
169
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/types'
170
170
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
171
171
  import {
172
172
  UI_I_DropdownTreeItem,
@@ -187,6 +187,7 @@ const props = defineProps<{
187
187
  maxCpus: number
188
188
  maxMemory: number
189
189
  isEdit: boolean
190
+ isClone: boolean
190
191
  errorValidationFields: UI_I_ErrorValidationField<string>[]
191
192
  nodes: UI_I_FileTreeNode[]
192
193
  files: UI_I_FileTreeNode[]
@@ -237,7 +238,7 @@ const hardDisks = ref<UI_I_SendDataNewHardDisk[]>([
237
238
  watch(
238
239
  () => props.hardDisks,
239
240
  (newValue) => {
240
- if (!props.isEdit || !newValue) return
241
+ if (!props.isEdit && !props.isClone || !newValue) return
241
242
 
242
243
  const count = newValue?.length || 0
243
244
  hardDisksIndex.value = [...Array(count).keys()]
@@ -319,7 +320,7 @@ const networksIndex = ref<number[]>([0])
319
320
  watch(
320
321
  () => props.networks,
321
322
  (newValue) => {
322
- if (!props.isEdit || !newValue) return
323
+ if (!props.isEdit && !props.isClone || !newValue) return
323
324
 
324
325
  // networks.value = newValue
325
326
  // networksType.value = Array(newValue.length).fill('edit')
@@ -371,7 +372,7 @@ const cdDvdDrivesType = ref<UI_T_CdDvdType[]>(['new'])
371
372
  watch(
372
373
  () => props.cdDvdDrives,
373
374
  (newValue) => {
374
- if (!props.isEdit || !newValue) return
375
+ if (!props.isEdit && !props.isClone || !newValue) return
375
376
 
376
377
  // cdDvdDrives.value = newValue
377
378
  // cdDvdDrivesType.value = Array(newValue.length).fill('edit')
@@ -441,7 +442,7 @@ const pciDevices = ref<UI_I_PciDevice[]>([])
441
442
  watch(
442
443
  () => props.pciDevices,
443
444
  (newValue) => {
444
- if (!props.isEdit) return
445
+ if (!props.isEdit && !props.isClone) return
445
446
 
446
447
  const count = newValue?.length || 0
447
448
  pciDevicesIndex.value = [...Array(count).keys()]
@@ -20,7 +20,7 @@
20
20
  import { UI_I_FileTreeNode } from '~/components/models/interfaces'
21
21
  import { UI_I_TablePayload } from '~/models/store/interfaces'
22
22
  import { UI_I_FolderOrFileTreePayload } from '~/models/store/storage/interfaces'
23
- import { UI_I_CurrentDirNodesArguments } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/browseView/models/interfaces'
23
+ import { UI_I_CurrentDirNodesArguments } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/models/interfaces'
24
24
  import { UI_I_Localization } from '~/models/interfaces'
25
25
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
26
26
  import { UI_I_FileInfo } from '~/components/common/browse/models/interfaces'
@@ -63,7 +63,7 @@
63
63
  import { UI_I_Localization } from '~/models/interfaces'
64
64
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
65
65
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
66
- import { busOptionsFunc } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/bus/config/options'
66
+ import { busOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/config/options'
67
67
 
68
68
  const localization = computed<UI_I_Localization>(() => useLocal())
69
69
 
@@ -59,13 +59,13 @@
59
59
  </div>
60
60
  </template>
61
61
  <template #stackChildren>
62
- <common-vm-actions-add-customize-hardware-virtual-hardware-cd-dvd-drive-media
62
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive-media
63
63
  v-if="selectedCdDvdDrive === 'datastoreIsoFile'"
64
64
  v-model:cd-dvd-media="cdDvdMedia"
65
65
  @browse="isShowFileModal = true"
66
66
  />
67
67
 
68
- <common-vm-actions-add-customize-hardware-virtual-hardware-bus
68
+ <common-vm-actions-common-customize-hardware-virtual-hardware-bus
69
69
  v-model:bus="bus"
70
70
  :index="indexByHardDisks"
71
71
  :validation-type="busValidationType"
@@ -78,7 +78,7 @@
78
78
  </atoms-stack-block>
79
79
 
80
80
  <Teleport to="body">
81
- <common-vm-actions-add-customize-hardware-virtual-hardware-browse-view
81
+ <common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
82
82
  v-if="isShowFileModal"
83
83
  :show="isShowFileModal"
84
84
  :file-types="fileTypes"
@@ -98,15 +98,15 @@
98
98
  <script lang="ts" setup>
99
99
  import { UI_I_FileTreeNode } from '~/components/models/interfaces'
100
100
  import { UI_I_TablePayload } from '~/models/store/interfaces'
101
- import { UI_T_CdDvdDrive } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/cdDvdDrive/models/types'
102
- import { UI_I_SendDataNewCdDvdDrive } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
101
+ import { UI_T_CdDvdDrive } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/models/types'
102
+ import { UI_I_SendDataNewCdDvdDrive } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
103
103
  import { UI_I_Localization, UI_I_HTMLSelectElement } from '~/models/interfaces'
104
104
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
105
105
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
106
106
  import { UI_I_FolderOrFileTreePayload } from '~/models/store/storage/interfaces'
107
- import { UI_T_CdDvdType } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/types'
108
- import { cdDvdDriveOptionsFunc } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/cdDvdDrive/config/options'
109
- import { fileTypesFunc } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/cdDvdDrive/config/fileTypes'
107
+ import { UI_T_CdDvdType } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/types'
108
+ import { cdDvdDriveOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/config/options'
109
+ import { fileTypesFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/config/fileTypes'
110
110
 
111
111
  const props = defineProps<{
112
112
  hardDisksCount: number
@@ -35,13 +35,13 @@
35
35
  </atoms-tooltip-error>
36
36
  </div>
37
37
 
38
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-tooltip
38
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-tooltip
39
39
  :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
40
40
  />
41
41
  </div>
42
42
  </template>
43
43
  <template #stackChildren>
44
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-cores-per-socket
44
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-cores-per-socket
45
45
  v-model:selected-core-per-socket="selectedCorePerSocket"
46
46
  :selected-cpus="selectedCpus"
47
47
  :cpu-options="cpuOptions"
@@ -50,11 +50,11 @@
50
50
  :error-validation-fields="props.errorValidationFields"
51
51
  @remove-error-by-title="emits('remove-error-by-title', $event)"
52
52
  />
53
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-hot-plug
53
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-hot-plug
54
54
  v-model:enable-cpu-hot-add="enableCpuHotAdd"
55
55
  :disabled="enableCpuHotAddDisabled"
56
56
  />
57
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-max-cpu
57
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-max-cpu
58
58
  v-show="enableCpuHotAdd"
59
59
  v-model:selected-max-cpu.number="selectedMaxCpu"
60
60
  :cpu-options="maxCpuOptions"
@@ -63,7 +63,7 @@
63
63
  @invalid="maxCpuInvalid = $event"
64
64
  @remove-error-by-title="emits('remove-error-by-title', $event)"
65
65
  />
66
- <common-vm-actions-add-customize-hardware-virtual-hardware-reservation
66
+ <common-vm-actions-common-customize-hardware-virtual-hardware-reservation
67
67
  v-model:reservation="reservation"
68
68
  v-model:reservation-type="reservationType"
69
69
  :error-validation-fields="props.errorValidationFields"
@@ -73,7 +73,7 @@
73
73
  @invalid="reservationInvalid = $event"
74
74
  @remove-error-by-title="emits('remove-error-by-title', $event)"
75
75
  />
76
- <common-vm-actions-add-customize-hardware-virtual-hardware-limit
76
+ <common-vm-actions-common-customize-hardware-virtual-hardware-limit
77
77
  v-model:limit="limit"
78
78
  v-model:limit-type="limitType"
79
79
  :error-validation-fields="props.errorValidationFields"
@@ -83,7 +83,7 @@
83
83
  @invalid="limitInvalid = $event"
84
84
  @remove-error-by-title="emits('remove-error-by-title', $event)"
85
85
  />
86
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-shares
86
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-shares
87
87
  v-model:shares="shares"
88
88
  v-model:shares-type="sharesType"
89
89
  :error-validation-fields="props.errorValidationFields"
@@ -91,19 +91,19 @@
91
91
  @remove-error-by-title="emits('remove-error-by-title', $event)"
92
92
  @invalid="sharesInvalid = $event"
93
93
  />
94
- <!-- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-hv-->
94
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-hv-->
95
95
  <!-- v-model:hardwareVirtualization="hardwareVirtualization"-->
96
96
  <!-- />-->
97
- <!-- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-pc-->
97
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-pc-->
98
98
  <!-- v-model:performanceCounters="performanceCounters"-->
99
99
  <!-- />-->
100
- <!-- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-sa-->
100
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-sa-->
101
101
  <!-- v-model:schedulingAffinity="schedulingAffinity"-->
102
102
  <!-- />-->
103
- <!-- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-iommu-->
103
+ <!-- <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-iommu-->
104
104
  <!-- v-model:iommu="iommu"-->
105
105
  <!-- />-->
106
- <common-vm-actions-add-customize-hardware-virtual-hardware-cpu-model
106
+ <common-vm-actions-common-customize-hardware-virtual-hardware-cpu-model
107
107
  v-model:cpu-model="cpuModel"
108
108
  v-model:passthrough-host-cpu="passthroughHostCpu"
109
109
  v-model:host-model-cpu="hostModelCpu"
@@ -119,12 +119,12 @@
119
119
  </template>
120
120
 
121
121
  <script setup lang="ts">
122
- import { UI_I_SendDataCpu } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
122
+ import { UI_I_SendDataCpu } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
123
123
  import { UI_I_Localization } from '~/models/interfaces'
124
124
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
125
125
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
126
126
  import { API_UI_I_VmEditCpu } from '~/models/store/vm/interfaces'
127
- import { cpuOptionsFunc } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/config/cpuOptions'
127
+ import { cpuOptionsFunc } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/config/cpuOptions'
128
128
 
129
129
  const props = defineProps<{
130
130
  maxCpus: number
@@ -50,7 +50,7 @@
50
50
  import {
51
51
  sharesTypeOptionsFunc,
52
52
  sharesOptionsFunc,
53
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/shares/config/options'
53
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/config/options'
54
54
  import { UI_I_Localization, UI_I_HTMLSelectElement } from '~/models/interfaces'
55
55
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
56
56
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
@@ -50,7 +50,7 @@
50
50
  import {
51
51
  limitOptionsFunc,
52
52
  limitTypeOptionsFunc,
53
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/config/options'
53
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options'
54
54
  import { UI_I_Localization } from '~/models/interfaces'
55
55
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
56
56
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  </template>
55
55
  <template #stackChildren>
56
- <common-vm-actions-add-customize-hardware-virtual-hardware-reservation
56
+ <common-vm-actions-common-customize-hardware-virtual-hardware-reservation
57
57
  v-model:reservation="reservation"
58
58
  v-model:reservation-type="reservationType"
59
59
  v-model:reserve-guest-memory="reserveGuestMemory"
@@ -66,7 +66,7 @@
66
66
  @remove-error-by-title="emits('remove-error-by-title', $event)"
67
67
  @invalid="reservationInvalid = $event"
68
68
  />
69
- <common-vm-actions-add-customize-hardware-virtual-hardware-limit
69
+ <common-vm-actions-common-customize-hardware-virtual-hardware-limit
70
70
  v-model:limit="limit"
71
71
  v-model:limit-type="limitType"
72
72
  :error-validation-fields="props.errorValidationFields"
@@ -79,7 +79,7 @@
79
79
  @invalid="limitInvalid = $event"
80
80
  @remove-error-by-title="emits('remove-error-by-title', $event)"
81
81
  />
82
- <common-vm-actions-add-customize-hardware-virtual-hardware-memory-hot-plug
82
+ <common-vm-actions-common-customize-hardware-virtual-hardware-memory-hot-plug
83
83
  v-model:memory-hot-plug="memoryHotPlug"
84
84
  :disabled="isDisabledMemoryHotPlug"
85
85
  />
@@ -90,14 +90,14 @@
90
90
 
91
91
  <script setup lang="ts">
92
92
  import { API_UI_I_VmEditMemory } from '~/models/store/vm/interfaces'
93
- import { UI_I_SendDataMemory } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/models/interfaces'
93
+ import { UI_I_SendDataMemory } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/models/interfaces'
94
94
  import { UI_I_Localization } from '~/models/interfaces'
95
95
  import { UI_I_ErrorValidationField } from '~/models/store/interfaces'
96
96
  import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
97
97
  import {
98
98
  memoryOptionsFunc,
99
99
  memoryTypeOptionsFunc,
100
- } from '~/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/config/memoryOptions'
100
+ } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions'
101
101
 
102
102
  const props = defineProps<{
103
103
  maxMemory: number
@@ -45,7 +45,7 @@
45
45
  <span>{{
46
46
  localization.followingDatastoresAccessibleDestinationResourceThatSelected
47
47
  }}</span>
48
- <common-vm-actions-add-select-storage
48
+ <common-vm-actions-common-select-storage
49
49
  :storage-submit="storageSubmit"
50
50
  :datastore="props.datastore"
51
51
  :get-datastore-table-func="props.getDatastoreTableFunc"