bfg-common 1.5.187 → 1.5.188

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 (36) hide show
  1. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  2. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  3. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  4. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  5. package/assets/localization/local_be.json +2 -5
  6. package/assets/localization/local_en.json +2 -5
  7. package/assets/localization/local_hy.json +2 -5
  8. package/assets/localization/local_kk.json +2 -5
  9. package/assets/localization/local_ru.json +4 -7
  10. package/assets/localization/local_zh.json +2 -5
  11. package/assets/scss/clarity/local_ar.json +1 -0
  12. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1040 -1040
  13. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +109 -73
  14. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +19 -10
  15. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +1 -0
  16. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +22 -14
  17. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/hotPlug/HotPlugNew.vue +1 -0
  18. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +16 -6
  19. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipNew.vue +30 -13
  20. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +1 -0
  21. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +41 -8
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/lib/config/options.ts +4 -4
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +1 -1
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +0 -4
  25. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +21 -14
  26. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +1 -0
  27. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +0 -4
  28. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +1 -0
  29. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +1 -0
  30. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +1 -0
  31. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +1 -0
  32. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +1 -0
  33. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +1 -0
  34. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +1 -0
  35. package/lib/utils/utils.ts +48 -31
  36. package/package.json +1 -1
@@ -1,80 +1,80 @@
1
1
  <template>
2
2
  <div :class="['customize-hardware', themeMode]">
3
3
  <ui-tabs
4
- v-model="selectedNavItem"
5
- :tabs="navItemsLocal"
6
- test-id="vm-wizard-tabs"
7
- type="underline"
8
- class="navigation mx-8"
4
+ v-model="selectedNavItem"
5
+ :tabs="navItemsLocal"
6
+ test-id="vm-wizard-tabs"
7
+ type="underline"
8
+ class="navigation mx-8"
9
9
  />
10
10
  <ui-alert
11
- v-show="props.errors.length"
12
- :messages="props.errors"
13
- status="alert-danger"
14
- test-id="customize-hardware-alert"
15
- class="errors-alert"
16
- @remove="emits('remove-validation-errors')"
11
+ v-show="props.errors.length"
12
+ :messages="props.errors"
13
+ status="alert-danger"
14
+ test-id="customize-hardware-alert"
15
+ class="errors-alert"
16
+ @remove="emits('remove-validation-errors')"
17
17
  />
18
18
 
19
19
  <div v-show="selectedNavItem === 0">
20
20
  <common-vm-actions-common-customize-hardware-virtual-hardware
21
- :vm-name="vmName"
22
- :storage="props.storage"
23
- :max-cpus="props.maxCpus"
24
- :max-memory="props.maxMemory"
25
- :cpu-models="props.cpuModels"
26
- :cpu="props.cpu"
27
- :memory="props.memory"
28
- :is-edit="props.isEdit"
29
- :is-clone="props.isClone"
30
- :state="props.state"
31
- :hard-disks="props.hardDisks"
32
- :cd-dvd-drives="props.cdDvdDrives"
33
- :networks="props.networks"
34
- :networks-table="props.networksTable"
35
- :video-card="props.videoCard"
36
- :usb-controller="props.usbController"
37
- :pci-devices="props.pciDevices"
38
- :nodes="props.nodes"
39
- :files="props.files"
40
- :error-validation-fields="props.errorValidationFields"
41
- :get-datastore-table-func="props.getDatastoreTableFunc"
42
- :datastore="props.datastore"
43
- :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
44
- :passthrough-devices="props.passthroughDevices"
45
- :mediated-devices="props.mediatedDevices"
46
- :project="props.project"
47
- :guest-machine-type="guestMachineType"
48
- :computeResource="props.computeResource"
49
- @send-data="emits('send-data-virtual-hardware-method', $event)"
50
- @get-storage="emits('get-storage', $event)"
51
- @get-folders-or-files="emits('get-folders-or-files', $event)"
52
- @get-active-device-child="emits('get-active-device-child', $event)"
53
- @show-datastore-child="emits('show-datastore-child', $event)"
54
- @remove-error-by-title="emits('remove-error-by-title', $event)"
55
- @invalid="virtualHardwareInvalid = $event"
56
- @get-networks-table="emits('get-networks-table', $event)"
57
- @get-pci-devices="emits('get-pci-devices')"
21
+ :vm-name="vmName"
22
+ :storage="props.storage"
23
+ :max-cpus="props.maxCpus"
24
+ :max-memory="props.maxMemory"
25
+ :cpu-models="props.cpuModels"
26
+ :cpu="props.cpu"
27
+ :memory="props.memory"
28
+ :is-edit="props.isEdit"
29
+ :is-clone="props.isClone"
30
+ :state="props.state"
31
+ :hard-disks="props.hardDisks"
32
+ :cd-dvd-drives="props.cdDvdDrives"
33
+ :networks="props.networks"
34
+ :networks-table="props.networksTable"
35
+ :video-card="props.videoCard"
36
+ :usb-controller="props.usbController"
37
+ :pci-devices="props.pciDevices"
38
+ :nodes="props.nodes"
39
+ :files="props.files"
40
+ :error-validation-fields="props.errorValidationFields"
41
+ :get-datastore-table-func="props.getDatastoreTableFunc"
42
+ :datastore="props.datastore"
43
+ :vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
44
+ :passthrough-devices="props.passthroughDevices"
45
+ :mediated-devices="props.mediatedDevices"
46
+ :project="props.project"
47
+ :guest-machine-type="guestMachineType"
48
+ :computeResource="props.computeResource"
49
+ @send-data="emits('send-data-virtual-hardware-method', $event)"
50
+ @get-storage="emits('get-storage', $event)"
51
+ @get-folders-or-files="emits('get-folders-or-files', $event)"
52
+ @get-active-device-child="emits('get-active-device-child', $event)"
53
+ @show-datastore-child="emits('show-datastore-child', $event)"
54
+ @remove-error-by-title="emits('remove-error-by-title', $event)"
55
+ @invalid="virtualHardwareInvalid = $event"
56
+ @get-networks-table="emits('get-networks-table', $event)"
57
+ @get-pci-devices="emits('get-pci-devices')"
58
58
  />
59
59
  </div>
60
60
  <div v-show="selectedNavItem === 1">
61
61
  <common-vm-actions-common-customize-hardware-vmoptions
62
- v-model:vm-name="vmName"
63
- v-model:guest-machine-type="guestMachineType"
64
- v-model:guest-os-family="guestOsFamily"
65
- v-model:guest-os-version="guestOsVersion"
66
- :hard-disks="props.hardDisksForBootOptions"
67
- :cd-dvd-drives="props.cdDvdDrivesForBootOptions"
68
- :networks="props.networksForBootOptions"
69
- :options="props.options"
70
- :is-edit="props.isEdit"
71
- :is-clone="props.isClone"
72
- :error-validation-fields="props.errorValidationFields"
73
- :state="props.state"
74
- @change-boot-order="emits('change-boot-order', $event)"
75
- @send-data="emits('send-data-vm-options-method', $event)"
76
- @invalid="vmOptionsInvalid = $event"
77
- @remove-error-by-title="emits('remove-error-by-title', $event)"
62
+ v-model:vm-name="vmName"
63
+ v-model:guest-machine-type="guestMachineType"
64
+ v-model:guest-os-family="guestOsFamily"
65
+ v-model:guest-os-version="guestOsVersion"
66
+ :hard-disks="props.hardDisksForBootOptions"
67
+ :cd-dvd-drives="props.cdDvdDrivesForBootOptions"
68
+ :networks="props.networksForBootOptions"
69
+ :options="props.options"
70
+ :is-edit="props.isEdit"
71
+ :is-clone="props.isClone"
72
+ :error-validation-fields="props.errorValidationFields"
73
+ :state="props.state"
74
+ @change-boot-order="emits('change-boot-order', $event)"
75
+ @send-data="emits('send-data-vm-options-method', $event)"
76
+ @invalid="vmOptionsInvalid = $event"
77
+ @remove-error-by-title="emits('remove-error-by-title', $event)"
78
78
  />
79
79
  </div>
80
80
  </div>
@@ -122,8 +122,8 @@ const selectedNavItem = defineModel<UI_T_SelectedNavItem>('selectedNavItem', {
122
122
  required: true,
123
123
  })
124
124
  const guestMachineType = defineModel<UI_I_OptionItem | null>(
125
- 'guestMachineType',
126
- { required: true }
125
+ 'guestMachineType',
126
+ { required: true }
127
127
  )
128
128
  const vmOptionsInvalid = defineModel<string[]>('vmOptionsInvalid', {
129
129
  required: true,
@@ -177,8 +177,8 @@ const emits = defineEmits<{
177
177
  (event: 'remove-validation-errors'): void
178
178
  (event: 'send-data-vm-options-method', value: UI_I_SendDataVmoptions): void
179
179
  (
180
- event: 'send-data-virtual-hardware-method',
181
- value: UI_I_SendDataVirtualHardware
180
+ event: 'send-data-virtual-hardware-method',
181
+ value: UI_I_SendDataVirtualHardware
182
182
  ): void
183
183
  (event: 'change-boot-order', value: UI_T_ChangeBootOrder): void
184
184
  }>()
@@ -186,7 +186,7 @@ const emits = defineEmits<{
186
186
  const localization = computed<UI_I_Localization>(() => useLocal())
187
187
 
188
188
  const navItemsLocal = computed<UI_I_TabItem[]>(() =>
189
- navItemsNewViewFunc(localization.value)
189
+ navItemsNewViewFunc(localization.value)
190
190
  )
191
191
 
192
192
  const themeMode = useLocalStorage('themeMode')
@@ -216,14 +216,23 @@ const themeMode = useLocalStorage('themeMode')
216
216
  //flex: 0 0 280px;
217
217
  max-width: 280px;
218
218
  margin-right: 12px;
219
+ line-height: 32px;
220
+
221
+ .ui-checkbox-label {
222
+ min-height: 32px;
223
+ }
219
224
  }
220
225
  :deep(.stack-block .stack-block-label .stack-block-content) {
221
226
  width: unset;
227
+
228
+ .ui-checkbox-label {
229
+ min-height: 32px;
230
+ }
222
231
  }
223
232
  </style>
224
233
  <style lang="scss">
225
234
  .light-theme {
226
- .stack-block-label .ui-main-select-toggle {
235
+ .stack-block-label .ui-main-select-toggle:not(.error) {
227
236
  background-color: #ffffff;
228
237
  }
229
238
  .stack-block-expanded > .stack-block-label .ui-main-select-toggle {
@@ -253,6 +262,14 @@ const themeMode = useLocalStorage('themeMode')
253
262
  border-color: #e9ebed3d;
254
263
  color: #e9eaec;
255
264
  }
265
+ .stack-block-expanded {
266
+ .ui-custom-checkbox {
267
+ background-color: transparent;
268
+ }
269
+ .ui-checkbox-label-text {
270
+ color: #e9eaec;
271
+ }
272
+ }
256
273
  }
257
274
 
258
275
  .dark-theme {
@@ -267,11 +284,22 @@ const themeMode = useLocalStorage('themeMode')
267
284
  }
268
285
  }
269
286
  .stack-block-expanded > .stack-block-label .ui-main-select-toggle {
270
- background-color: #ffffff;
271
- border-color: #d3d6da;
287
+ &:not(.error) {
288
+ background-color: #ffffff;
289
+ border-color: #d3d6da;
290
+ }
291
+ &:not(.error):not(.open):not(:disabled):hover {
292
+ border-color: #9da6ad;
293
+ }
294
+ &.open {
295
+ border-color: #008FD6;
272
296
 
297
+ .ui-arrow-icon {
298
+ color: #008FD6;
299
+ }
300
+ }
273
301
  .ui-arrow-icon {
274
- color: #182531;
302
+ color: #213444;
275
303
  }
276
304
  }
277
305
  .stack-block-expanded > .stack-block-label .combobox-input {
@@ -294,5 +322,13 @@ const themeMode = useLocalStorage('themeMode')
294
322
  border-color: #d3d6da14;
295
323
  color: #bdc3c770;
296
324
  }
325
+ .stack-block-expanded {
326
+ .ui-custom-checkbox {
327
+ background-color: transparent;
328
+ }
329
+ .ui-checkbox-label-text {
330
+ color: #4d5d69;
331
+ }
332
+ }
297
333
  }
298
334
  </style>
@@ -27,7 +27,7 @@
27
27
  width="16"
28
28
  height="16"
29
29
  name="info"
30
- class="bus-help-icon cursor-pointer"
30
+ :class="['bus-help-icon cursor-pointer', {active: isShowHelp}]"
31
31
  @click.stop="isShowHelp = !isShowHelp"
32
32
  />
33
33
  <Teleport to="body">
@@ -36,8 +36,8 @@
36
36
  :elem-id="props.helpId"
37
37
  :items="[]"
38
38
  test-id=""
39
- width="auto"
40
- show-from-left
39
+ width="480px"
40
+ left
41
41
  @hide="isShowHelp = false"
42
42
  >
43
43
  <template #content>
@@ -51,7 +51,7 @@
51
51
  name="close"
52
52
  width="16"
53
53
  height="16"
54
- class="cursor-pointer"
54
+ class="bus-help-close-icon cursor-pointer"
55
55
  @click="isShowHelp = false"
56
56
  />
57
57
  </div>
@@ -95,10 +95,16 @@ const localization = computed<UI_I_Localization>(() => useLocal())
95
95
 
96
96
  <style>
97
97
  :root {
98
- --bus-help-icon-color: #4d5d69;
98
+ --bus-help-color: #4d5d69;
99
+ --bus-help-icon-hover-color: #4d5d69;
100
+ --bus-help-icon-active-color: #008fd6;
101
+ --bus-help-close-icon-color: #182531;
99
102
  }
100
103
  :root.dark-theme {
101
- --bus-help-icon-color: #e9eaec;
104
+ --bus-help-color: #e9eaec;
105
+ --bus-help-icon-hover-color: #e9eaec;
106
+ --bus-help-icon-active-color: #2ba2de;
107
+ --bus-help-close-icon-color: #e9eaec;
102
108
  }
103
109
  </style>
104
110
  <style lang="scss" scoped>
@@ -106,10 +112,10 @@ const localization = computed<UI_I_Localization>(() => useLocal())
106
112
  color: #9da6ad; // for light and dark
107
113
 
108
114
  &:hover {
109
- color: var(--bus-help-icon-color);
115
+ color: var(--bus-help-icon-hover-color);
110
116
  }
111
117
  &.active {
112
- color: #008fd6;
118
+ color: var(--bus-help-icon-active-color);
113
119
  }
114
120
  }
115
121
  .help-content {
@@ -126,14 +132,17 @@ const localization = computed<UI_I_Localization>(() => useLocal())
126
132
  font-size: 14px;
127
133
  font-weight: 500;
128
134
  line-height: 16.94px;
129
- color: #4d5d69;
135
+ color: var(--bus-help-color);
136
+ }
137
+ .bus-help-close-icon {
138
+ color: var(--bus-help-close-icon-color)
130
139
  }
131
140
  }
132
141
 
133
142
  .help-text {
134
143
  font-size: 13px;
135
144
  line-height: 15.73px;
136
- color: #4d5d69;
145
+ color: var(--bus-help-color);
137
146
  }
138
147
  }
139
148
  </style>
@@ -46,6 +46,7 @@
46
46
  :test-id="`cd-dvd-delete-files-from-datastore-${props.index}`"
47
47
  :disabled="props.disabled"
48
48
  :label-text="localization.common.deleteFilesFromDatastore"
49
+ size="md"
49
50
  />
50
51
  </div>
51
52
  </template>
@@ -18,15 +18,19 @@
18
18
  test-id="vm-wizard-dvd-media-button"
19
19
  size="sm"
20
20
  class="media-button"
21
+ variant="text"
21
22
  @click="emits('browse')"
22
23
  >
23
- {{ localization.common.browse }}...
24
+ {{ localization.vmWizard.browse }}
24
25
  </ui-button>
26
+ <div class="divider"></div>
25
27
  <ui-button
26
28
  id="vm-wizard-dvd-media-eject"
27
29
  data-id="vm-wizard-dvd-media-eject"
28
30
  size="sm"
29
31
  class="eject-button"
32
+ variant="text"
33
+ type="error"
30
34
  @click="cdDvdMedia = ''"
31
35
  >
32
36
  {{ localization.vmWizard.eject }}
@@ -48,23 +52,27 @@ const emits = defineEmits<{
48
52
  const localization = computed<UI_I_Localization>(() => useLocal())
49
53
  </script>
50
54
 
51
- <style scoped>
55
+ <style>
56
+ :root {
57
+ --media-content-border-color: #e9ebeda3;
58
+ }
59
+ :root {
60
+ --media-content-border-color: #e9ebed1f;
61
+ }
62
+ </style>
63
+ <style lang="scss" scoped>
52
64
  .media-content {
53
- gap: 8px;
65
+ gap: 12px;
54
66
 
55
- .media-button {
56
- min-width: 89px;
57
- height: 26px;
58
- white-space: nowrap;
59
- }
67
+ .media-button,
60
68
  .eject-button {
61
- min-width: 63px;
62
- height: 26px;
63
69
  white-space: nowrap;
70
+ padding: 0;
71
+ }
72
+ .divider {
73
+ width: 1px;
74
+ height: 20px;
75
+ background-color: var(--media-content-border-color);
64
76
  }
65
- }
66
- :deep(.ui-main.ui-main-sm .ui-main-input) {
67
- width: 190px;
68
- height: 26px;
69
77
  }
70
78
  </style>
@@ -11,6 +11,7 @@
11
11
  :disabled="props.disabled"
12
12
  :label-text="localization.common.enableCpuHotAdd"
13
13
  test-id="enable-cpu-hot-add"
14
+ size="md"
14
15
  />
15
16
  </template>
16
17
  </ui-stack-block>
@@ -29,7 +29,10 @@
29
29
  height="16"
30
30
  name="info"
31
31
  data-id="show-passthrough-help-icon"
32
- class="passthrough-help-icon cursor-pointer"
32
+ :class="[
33
+ 'passthrough-help-icon cursor-pointer disabled',
34
+ { active: isShowPassthroughHost },
35
+ ]"
33
36
  @click.stop="isShowPassthroughHost = !isShowPassthroughHost"
34
37
  />
35
38
  <Teleport to="body">
@@ -38,8 +41,8 @@
38
41
  :items="[]"
39
42
  elem-id="passthrough-help-icon"
40
43
  test-id=""
41
- width="auto"
42
- show-from-left
44
+ width="480px"
45
+ left
43
46
  @hide="isShowPassthroughHost = false"
44
47
  >
45
48
  <template #content>
@@ -84,7 +87,10 @@
84
87
  height="16"
85
88
  name="info"
86
89
  data-id="show-host-model-help-icon"
87
- class="host-model-help-icon cursor-pointer"
90
+ :class="[
91
+ 'host-model-help-icon cursor-pointer disabled',
92
+ { active: isShowHostModel },
93
+ ]"
88
94
  @click.stop="isShowHostModel = !isShowHostModel"
89
95
  />
90
96
  <Teleport to="body">
@@ -93,8 +99,8 @@
93
99
  :items="[]"
94
100
  elem-id="host-model-help-icon"
95
101
  test-id=""
96
- width="auto"
97
- show-from-left
102
+ width="480px"
103
+ left
98
104
  @hide="isShowHostModel = false"
99
105
  >
100
106
  <template #content>
@@ -199,6 +205,10 @@ const onChangeCpuModel = (data: UI_T_SelectedValue): void => {
199
205
  &.active {
200
206
  color: #008fd6;
201
207
  }
208
+ &.disabled {
209
+ color: #bdc3c7;
210
+ pointer-events: none;
211
+ }
202
212
  }
203
213
  .help-content {
204
214
  padding: 16px;
@@ -30,7 +30,7 @@
30
30
  name="close"
31
31
  width="16"
32
32
  height="16"
33
- class="cursor-pointer"
33
+ class="cpu-help-close-icon cursor-pointer"
34
34
  @click="isShowCpuHelp = false"
35
35
  />
36
36
  </div>
@@ -75,12 +75,33 @@ const localization = computed<UI_I_Localization>(() => useLocal())
75
75
  const isShowCpuHelp = ref<boolean>(false)
76
76
  </script>
77
77
 
78
- <style>
78
+ <style lang="scss">
79
79
  :root {
80
+ --cpu-help-color: #4d5d69;
80
81
  --cpu-help-icon-hover-color: #4d5d69;
82
+ --cpu-help-icon-active-color: #008fd6;
83
+ --cpu-help-close-icon-color: #182531;
84
+ --cpu-help-more-info-color: #008fd6;
81
85
  }
82
86
  :root.dark-theme {
87
+ --cpu-help-color: #e9eaec;
83
88
  --cpu-help-icon-hover-color: #e9eaec;
89
+ --cpu-help-icon-active-color: #2ba2de;
90
+ --cpu-help-close-icon-color: #e9eaec;
91
+ --cpu-help-more-info-color: #2ba2de;
92
+ }
93
+
94
+ .light-theme {
95
+ .stack-block-expanded {
96
+ --cpu-help-icon-hover-color: #e9eaec;
97
+ --cpu-help-icon-active-color: #2ba2de;
98
+ }
99
+ }
100
+ .dark-theme {
101
+ .stack-block-expanded {
102
+ --cpu-help-icon-hover-color: #4d5d69;
103
+ --cpu-help-icon-active-color: #008fd6;
104
+ }
84
105
  }
85
106
  </style>
86
107
  <style lang="scss" scoped>
@@ -91,7 +112,7 @@ const isShowCpuHelp = ref<boolean>(false)
91
112
  color: var(--cpu-help-icon-hover-color);
92
113
  }
93
114
  &.active {
94
- color: #008fd6;
115
+ color: var(--cpu-help-icon-active-color);
95
116
  }
96
117
  }
97
118
  .cpu-help-content {
@@ -108,14 +129,17 @@ const isShowCpuHelp = ref<boolean>(false)
108
129
  font-size: 14px;
109
130
  font-weight: 500;
110
131
  line-height: 16.94px;
111
- color: #4d5d69;
132
+ color: var(--cpu-help-color);
133
+ }
134
+ .cpu-help-close-icon {
135
+ color: var(--cpu-help-close-icon-color);
112
136
  }
113
137
  }
114
138
 
115
139
  .cpu-help-text {
116
140
  font-size: 13px;
117
141
  line-height: 15.73px;
118
- color: #4d5d69;
142
+ color: var(--cpu-help-color);
119
143
  margin-bottom: 12px;
120
144
  }
121
145
 
@@ -123,15 +147,8 @@ const isShowCpuHelp = ref<boolean>(false)
123
147
  font-size: 13px;
124
148
  font-weight: 500;
125
149
  line-height: 15.73px;
126
- color: #008fd6;
150
+ color: var(--cpu-help-more-info-color);
127
151
  text-decoration: none;
128
152
  }
129
153
  }
130
154
  </style>
131
- <style lang="scss">
132
- .light-theme {
133
- .stack-block-expanded {
134
- --cpu-help-icon-hover-color: #e9eaec;
135
- }
136
- }
137
- </style>
@@ -9,6 +9,7 @@
9
9
  :disabled="props.disabled"
10
10
  :label-text="localization.common.enable"
11
11
  test-id="memory-hot-plug-input"
12
+ size="md"
12
13
  />
13
14
  </template>
14
15
  </ui-stack-block>
@@ -69,7 +69,7 @@
69
69
  :error-text="props.errorText"
70
70
  input-style="rounded"
71
71
  type="number"
72
- size="md"
72
+ size="sm"
73
73
  @blur="emits('validate-size')"
74
74
  />
75
75
 
@@ -222,8 +222,44 @@ const emits = defineEmits<{
222
222
  const localization = computed<UI_I_Localization>(() => useLocal())
223
223
  </script>
224
224
 
225
- <style scoped lang="scss">
225
+ <style>
226
+ :root {
227
+ --device-will-removed-color: #9da6ad;
228
+ --device-will-removed-border-color: #e9ebeda3;
229
+ }
230
+ :root.dark-theme {
231
+ --device-will-removed-color: #9da6ad;
232
+ --device-will-removed-border-color: #e9ebed1f;
233
+ }
234
+
235
+ .light-theme {
236
+ .stack-block-expanded {
237
+ --device-will-removed-color: #9da6ad;
238
+ --device-will-removed-border-color: #e9ebed1f;
226
239
 
240
+ .ui-custom-checkbox {
241
+ background-color: transparent;
242
+ }
243
+ .ui-checkbox-label-text {
244
+ color: #e9eaec;
245
+ }
246
+ }
247
+ }
248
+ .dark-theme {
249
+ .stack-block-expanded {
250
+ --device-will-removed-color: #9da6ad;
251
+ --device-will-removed-border-color: #d3d6da66;
252
+
253
+ .ui-custom-checkbox {
254
+ background-color: transparent;
255
+ }
256
+ .ui-checkbox-label-text {
257
+ color: #4d5d69;
258
+ }
259
+ }
260
+ }
261
+ </style>
262
+ <style scoped lang="scss">
227
263
  .new-hard-disk-content {
228
264
  gap: 8px;
229
265
  &.removed {
@@ -232,13 +268,13 @@ const localization = computed<UI_I_Localization>(() => useLocal())
232
268
 
233
269
  .device-will-removed-text {
234
270
  font-size: 13px;
235
- color: #9da6ad;
271
+ color: var(--device-will-removed-color);
236
272
  }
237
273
  .checkbox-wrap {
238
274
  padding: 0 12px;
239
275
  margin: 0 12px;
240
- border-right: 1px solid #e9ebeda3;
241
- border-left: 1px solid #e9ebeda3;
276
+ border-right: 1px solid var(--device-will-removed-border-color);
277
+ border-left: 1px solid var(--device-will-removed-border-color);
242
278
  }
243
279
  }
244
280
 
@@ -256,7 +292,4 @@ const localization = computed<UI_I_Localization>(() => useLocal())
256
292
  :deep(.unit .ui-main-select-toggle) {
257
293
  width: 80px;
258
294
  }
259
- :deep(.ui-main.ui-main-sm .ui-main-input) {
260
- height: 26px;
261
- }
262
295
  </style>
@@ -4,9 +4,9 @@ import type {UI_I_OptionItem} from "~/components/atoms/lib/models/interfaces";
4
4
  export const cacheOptionsFunc = (localization: UI_I_Localization): UI_I_OptionItem[] => {
5
5
  return [
6
6
  { text: localization.common.none2, value: 'none' },
7
- { text: localization.vmWizard.writeThrough, value: 'writethrough' },
8
- { text: localization.vmWizard.writeBack, value: 'writeback' },
9
- { text: localization.vmWizard.directSync, value: 'directsync' },
10
- { text: localization.vmWizard.unsafe, value: 'unsafe' },
7
+ { text: localization.common.writeThrough, value: 'writethrough' },
8
+ { text: localization.common.writeBack, value: 'writeback' },
9
+ { text: localization.common.directSync, value: 'directsync' },
10
+ { text: localization.common.unsafe, value: 'unsafe' },
11
11
  ]
12
12
  }
@@ -30,7 +30,7 @@ const props = defineProps<{
30
30
  <style scoped>
31
31
  .file-path {
32
32
  font-size: 13px;
33
- line-height: 15.73px;
34
33
  color: var(--vm-wizard-file-path-color);
34
+ line-height: 32px;
35
35
  }
36
36
  </style>