bfg-common 1.5.475 → 1.5.478

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 (61) hide show
  1. package/assets/scss/components/auth.scss +4 -3
  2. package/components/atoms/window/Window.vue +2 -0
  3. package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
  4. package/components/common/layout/theHeader/helpMenu/About.vue +2 -2
  5. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -1
  6. package/components/common/pages/shortcuts/block/BlockNew.vue +1 -1
  7. package/components/common/split/vertical/VerticalNew.vue +6 -4
  8. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +4 -1
  9. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue +1 -1
  10. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +1 -0
  11. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +1 -0
  12. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +1 -0
  13. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +84 -78
  14. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +4 -1
  15. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/hotPlug/HotPlugNew.vue +4 -1
  16. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +4 -1
  17. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +4 -1
  18. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +4 -1
  19. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +4 -1
  20. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +4 -1
  21. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +2 -0
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +4 -1
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/File.vue +1 -0
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +5 -1
  25. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +4 -1
  26. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/LocationNew.vue +4 -1
  27. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +1 -0
  28. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +5 -1
  29. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +4 -1
  30. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +4 -1
  31. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +4 -1
  32. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +4 -1
  33. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +4 -1
  34. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +69 -66
  35. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +4 -1
  36. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +1 -0
  37. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteNew.vue +49 -42
  38. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +4 -1
  39. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +4 -1
  40. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +4 -1
  41. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +4 -1
  42. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +4 -1
  43. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +4 -1
  44. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +4 -1
  45. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +4 -1
  46. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +4 -1
  47. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +4 -1
  48. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +4 -1
  49. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +16 -4
  50. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +4 -1
  51. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +4 -1
  52. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +4 -1
  53. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +4 -1
  54. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +4 -1
  55. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +4 -1
  56. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/old/SelectNetwork.vue +1 -0
  57. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/old/SelectStandardSwitch.vue +1 -0
  58. package/composables/useLocal.ts +6 -51
  59. package/composables/useLocalCommon.ts +39 -0
  60. package/{composables/productNameLocal.ts → lib/utils/localizationMapper.ts} +30 -30
  61. package/package.json +4 -4
@@ -82,7 +82,8 @@
82
82
 
83
83
  &-inner {
84
84
  position: relative;
85
- width: 660px;
85
+ max-width: 650px;
86
+ width: 100%;
86
87
  height: 545px;
87
88
  background-image: url('/login_bg1.png');
88
89
  background-size: contain;
@@ -90,11 +91,11 @@
90
91
  background-repeat: no-repeat;
91
92
  @media (max-width: 1170px) {
92
93
  background-image: url('/login_bg1024.png');
93
- width: 420px;
94
+ max-width: 420px;
94
95
  height: 376px;
95
96
  }
96
97
  @media (max-width: 768px) {
97
- width: 320px;
98
+ max-width: 320px;
98
99
  height: 265px;
99
100
  }
100
101
  }
@@ -313,6 +313,8 @@ const globalWindowResize = (): void => {
313
313
  }
314
314
  onMounted(() => {
315
315
  window.addEventListener('resize', globalWindowResize)
316
+ fixSize()
317
+ fixPosition()
316
318
  })
317
319
  onUnmounted(() => {
318
320
  window.removeEventListener('resize', globalWindowResize)
@@ -11,7 +11,7 @@
11
11
  id="tooltip-theme-mode-toggle-button"
12
12
  class="popped tooltip inline-block"
13
13
  >
14
- <ui-switch v-model="model" size="md" dark>
14
+ <ui-switch v-model="model" test-id="switch-theme-mode" size="md" dark>
15
15
  <template #rightIcon>
16
16
  <ui-icon name="light-theme" width="14" height="14" />
17
17
  </template>
@@ -72,8 +72,8 @@ const aboutDesc = computed<string[]>(() =>
72
72
  .replaceAll('{companyName}', companyName.value)
73
73
  .replaceAll('{trademark}', brandName.value).split('{url}')
74
74
  )
75
- const aboutDesc1 = computed<string>(() => aboutDesc.value[0].trim())
76
- const aboutDesc2 = computed<string>(() => aboutDesc.value[1].trim())
75
+ const aboutDesc1 = computed<string>(() => aboutDesc.value[0])
76
+ const aboutDesc2 = computed<string>(() => aboutDesc.value[1])
77
77
 
78
78
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
79
79
  </script>
@@ -75,7 +75,7 @@
75
75
  :id="`nav-item-${key}-${key2}`"
76
76
  :data-id="item2.testId"
77
77
  :class="['nav-link', { disabled: item2.disabled }]"
78
- :to="!item2.disabled && item2.to"
78
+ :to="!item2.disabled ? item2.to : ''"
79
79
  :title="
80
80
  item2.disabled ? localization.common.inDevelopment : ''
81
81
  "
@@ -3,7 +3,7 @@
3
3
  :class="['category-block-item', { disabled: props.item.disabled }]"
4
4
  >
5
5
  <nuxt-link
6
- :to="!props.item.disabled && navigate"
6
+ :to="!props.item.disabled ? navigate : ''"
7
7
  :title="
8
8
  props.item.disabled
9
9
  ? localization.common.inDevelopment
@@ -27,14 +27,16 @@
27
27
  </template>
28
28
 
29
29
  <script setup lang="ts">
30
+ import type { UI_I_SplitVerticalStyle } from '~/components/common/split/vertical/lib/models/interfaces'
31
+
30
32
  const isGrab = defineModel<boolean>('isGrab')
31
33
  const isFocus = defineModel<boolean>('isFocus')
32
34
 
33
35
  const props = defineProps<{
34
- elementId: number
35
- isDrag: number
36
- topPanelStyle: number
37
- bottomPanelStyle: number
36
+ elementId: string
37
+ isDrag: boolean
38
+ topPanelStyle: UI_I_SplitVerticalStyle
39
+ bottomPanelStyle: UI_I_SplitVerticalStyle
38
40
  }>()
39
41
  </script>
40
42
 
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`virtual-hardware-bus-stack-block-${props.componentType}-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="mt-2">
5
8
  {{ localization.common.bus }}
@@ -2,7 +2,7 @@
2
2
  <div class="">
3
3
  <atoms-stack-block
4
4
  :has-children="false"
5
- :test-id="`virtual-hardware-bus-stack-block-${props.componentType}`"
5
+ :test-id="`virtual-hardware-bus-stack-block-${props.componentType}-${props.index}`"
6
6
  >
7
7
  <template #stackBlockKey>
8
8
  {{ localization.common.bus }}
@@ -70,6 +70,7 @@
70
70
  <common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive-media
71
71
  v-if="selectedCdDvdDrive === 'datastoreIsoFile'"
72
72
  v-model:cd-dvd-media="cdDvdMedia"
73
+ :index="props.index"
73
74
  @browse="isShowFileModal = true"
74
75
  />
75
76
 
@@ -67,6 +67,7 @@
67
67
  <common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive-media
68
68
  v-if="selectedCdDvdDrive === 'datastoreIsoFile'"
69
69
  v-model:cd-dvd-media="cdDvdMedia"
70
+ :index="props.index"
70
71
  @browse="isShowFileModal = true"
71
72
  />
72
73
 
@@ -2,6 +2,7 @@
2
2
  <common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive-media-new
3
3
  v-if="isNewView"
4
4
  v-model:cd-dvd-media="cdDvdMedia"
5
+ :index="props.index"
5
6
  @browse="emits('browse')"
6
7
  />
7
8
  <common-vm-actions-common-customize-hardware-virtual-hardware-cd-dvd-drive-media-old
@@ -1,78 +1,84 @@
1
- <template>
2
- <ui-stack-block :has-children="false">
3
- <template #stackBlockKey>
4
- {{ localization.common.cdDvdMedia }}
5
- </template>
6
- <template #stackBlockContent>
7
- <div class="media-content flex-align-center">
8
- <ui-input
9
- id="vm-wizard-dvd-media-input"
10
- v-model="cdDvdMedia"
11
- test-id="vm-wizard-dvd-media-input"
12
- type="text"
13
- size="sm"
14
- disabled
15
- />
16
- <ui-button
17
- id="vm-wizard-dvd-media-button"
18
- test-id="vm-wizard-dvd-media-button"
19
- size="sm"
20
- class="media-button"
21
- variant="text"
22
- @click="emits('browse')"
23
- >
24
- {{ localization.vmWizard.browse }}
25
- </ui-button>
26
- <div class="divider"></div>
27
- <ui-button
28
- id="vm-wizard-dvd-media-eject"
29
- data-id="vm-wizard-dvd-media-eject"
30
- size="sm"
31
- class="eject-button"
32
- variant="text"
33
- type="error"
34
- @click="cdDvdMedia = ''"
35
- >
36
- {{ localization.vmWizard.eject }}
37
- </ui-button>
38
- </div>
39
- </template>
40
- </ui-stack-block>
41
- </template>
42
-
43
- <script setup lang="ts">
44
- import type { UI_I_Localization } from '~/lib/models/interfaces'
45
-
46
- const cdDvdMedia = defineModel<string>('cdDvdMedia', { required: true })
47
-
48
- const emits = defineEmits<{
49
- (event: 'browse'): void
50
- }>()
51
-
52
- const localization = computed<UI_I_Localization>(() => useLocal())
53
- </script>
54
-
55
- <style>
56
- :root {
57
- --media-content-border-color: #e9ebeda3;
58
- }
59
- :root.dark-theme {
60
- --media-content-border-color: #e9ebed1f;
61
- }
62
- </style>
63
- <style lang="scss" scoped>
64
- .media-content {
65
- gap: 12px;
66
-
67
- .media-button,
68
- .eject-button {
69
- white-space: nowrap;
70
- padding: 0;
71
- }
72
- .divider {
73
- width: 1px;
74
- height: 20px;
75
- background-color: var(--media-content-border-color);
76
- }
77
- }
78
- </style>
1
+ <template>
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`cd-dvd-media-stack-block-${props.index}`"
5
+ >
6
+ <template #stackBlockKey>
7
+ {{ localization.common.cdDvdMedia }}
8
+ </template>
9
+ <template #stackBlockContent>
10
+ <div class="media-content flex-align-center">
11
+ <ui-input
12
+ id="vm-wizard-dvd-media-input"
13
+ v-model="cdDvdMedia"
14
+ test-id="vm-wizard-dvd-media-input"
15
+ type="text"
16
+ size="sm"
17
+ disabled
18
+ />
19
+ <ui-button
20
+ id="vm-wizard-dvd-media-button"
21
+ test-id="vm-wizard-dvd-media-button"
22
+ size="sm"
23
+ class="media-button"
24
+ variant="text"
25
+ @click="emits('browse')"
26
+ >
27
+ {{ localization.vmWizard.browse }}
28
+ </ui-button>
29
+ <div class="divider"></div>
30
+ <ui-button
31
+ id="vm-wizard-dvd-media-eject"
32
+ data-id="vm-wizard-dvd-media-eject"
33
+ size="sm"
34
+ class="eject-button"
35
+ variant="text"
36
+ type="error"
37
+ @click="cdDvdMedia = ''"
38
+ >
39
+ {{ localization.vmWizard.eject }}
40
+ </ui-button>
41
+ </div>
42
+ </template>
43
+ </ui-stack-block>
44
+ </template>
45
+
46
+ <script setup lang="ts">
47
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
48
+
49
+ const cdDvdMedia = defineModel<string>('cdDvdMedia', { required: true })
50
+
51
+ const props = defineProps<{
52
+ index: number
53
+ }>()
54
+ const emits = defineEmits<{
55
+ (event: 'browse'): void
56
+ }>()
57
+
58
+ const localization = computed<UI_I_Localization>(() => useLocal())
59
+ </script>
60
+
61
+ <style>
62
+ :root {
63
+ --media-content-border-color: #e9ebeda3;
64
+ }
65
+ :root.dark-theme {
66
+ --media-content-border-color: #e9ebed1f;
67
+ }
68
+ </style>
69
+ <style lang="scss" scoped>
70
+ .media-content {
71
+ gap: 12px;
72
+
73
+ .media-button,
74
+ .eject-button {
75
+ white-space: nowrap;
76
+ padding: 0;
77
+ }
78
+ .divider {
79
+ width: 1px;
80
+ height: 20px;
81
+ background-color: var(--media-content-border-color);
82
+ }
83
+ }
84
+ </style>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ test-id="cores-per-socket-stack-block"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="cores-per-socket-title mt-2">{{ localization.common.coresPerSocket }}</span>
5
8
  </template>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ test-id="cpu-hot-plug-stack-block"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="cpu-hot-plug-title mt-2">
5
8
  {{ localization.common.cpuHotPlug }}</span
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ test-id="cpu-max-cpu-stack-block"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  {{ localization.common.maxCpu }}
5
8
  </template>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ test-id="cpu-model-stack-block"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.cpuModel }}
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ test-id="cpu-shares-stack-block"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.shares }}
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`virtual-hardware-limit-stack-block-${props.componentType}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.limit }}
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ test-id="memory-hot-plug-stack-block"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.memoryHotPlug }}
@@ -92,6 +92,7 @@
92
92
  <template #stackChildren>
93
93
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-maximum-size
94
94
  :free-mb="props.maxHardDisk"
95
+ :index="props.index"
95
96
  />
96
97
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-location
97
98
  v-if="props.isNewType"
@@ -107,6 +108,7 @@
107
108
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-file
108
109
  v-else
109
110
  :path="props.hardDisk?.source"
111
+ :index="props.index"
110
112
  />
111
113
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-provisioning
112
114
  v-model:disk-provisioning="diskProvisioning"
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-cache-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="mt-2">
5
8
  {{ localization.common.cache }}
@@ -2,6 +2,7 @@
2
2
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-file-new
3
3
  v-if="isNewView"
4
4
  :path="props.path"
5
+ :index="props.index"
5
6
  />
6
7
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-file-old
7
8
  v-else
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-file-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.diskFile }}
@@ -18,6 +21,7 @@ const localization = computed<UI_I_Localization>(() => useLocal())
18
21
 
19
22
  const props = defineProps<{
20
23
  path: string
24
+ index: number
21
25
  }>()
22
26
  </script>
23
27
 
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-limit-iops-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="mt-2">{{ localization.common.limitIops }}</span>
5
8
  </template>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-location-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  {{ localization.common.location }}
5
8
  </template>
@@ -2,6 +2,7 @@
2
2
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-maximum-size-new
3
3
  v-if="isNewView"
4
4
  :free-gb="freeGb"
5
+ :index="props.index"
5
6
  />
6
7
  <common-vm-actions-common-customize-hardware-virtual-hardware-new-hard-disk-maximum-size-old
7
8
  v-else
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-maximum-size-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title">
5
8
  {{ localization.common.maximumSize }}
@@ -16,6 +19,7 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
16
19
 
17
20
  const props = defineProps<{
18
21
  freeGb: number
22
+ index: number
19
23
  }>()
20
24
 
21
25
  const localization = computed<UI_I_Localization>(() => useLocal())
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-mode-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="mt-2">{{ localization.common.diskMode }}</span>
5
8
  </template>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-provisioning-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.diskProvisioning }}
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`hard-disk-sharing-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="limit-title mt-2">
5
8
  {{ localization.common.sharing }}
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`network-adapter-type-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="mt-2">
5
8
  {{ localization.common.adapterType }}
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <ui-stack-block :has-children="false">
2
+ <ui-stack-block
3
+ :has-children="false"
4
+ :test-id="`network-adapter-mac-address-stack-block-${props.index}`"
5
+ >
3
6
  <template #stackBlockKey>
4
7
  <span class="mt-2">{{ localization.common.macAddress }}</span>
5
8
  </template>