bfg-common 1.5.332 → 1.5.333

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 (38) hide show
  1. package/assets/localization/local_be.json +5 -2
  2. package/assets/localization/local_en.json +3269 -3266
  3. package/assets/localization/local_hy.json +5 -2
  4. package/assets/localization/local_kk.json +5 -2
  5. package/assets/localization/local_ru.json +8 -5
  6. package/assets/localization/local_zh.json +3266 -3263
  7. package/components/common/pages/home/widgets/WidgetsNew.vue +21 -19
  8. package/components/common/pages/home/widgets/WidgetsOld.vue +9 -7
  9. package/components/common/select/radio/RadioGroup.vue +11 -4
  10. package/components/common/select/radio/lib/models/interfaces.ts +1 -0
  11. package/components/common/vm/actions/add/New.vue +6 -1
  12. package/components/common/vm/actions/add/Old.vue +4 -1
  13. package/components/common/vm/actions/add/lib/config/steps.ts +22 -10
  14. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +3 -0
  15. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +2 -0
  16. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +2 -0
  17. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +36 -34
  18. package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +3 -0
  19. package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +2 -0
  20. package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +2 -0
  21. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +12 -0
  22. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +2 -1
  23. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsOld.vue +4 -3
  24. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +8 -6
  25. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +8 -6
  26. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsNew.vue +2 -0
  27. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/ToolsOld.vue +2 -1
  28. package/components/common/vm/actions/common/select/name/New.vue +13 -11
  29. package/components/common/vm/actions/common/select/options/Options.vue +6 -1
  30. package/components/common/vm/actions/editSettings/EditSettings.vue +3 -0
  31. package/components/common/vm/actions/editSettings/EditSettingsOld.vue +2 -0
  32. package/components/common/vm/actions/editSettings/new/New.vue +2 -0
  33. package/components/common/vmt/actions/add/Add.vue +542 -542
  34. package/components/common/vmt/actions/add/New.vue +345 -346
  35. package/components/common/vmt/actions/add/Old.vue +301 -301
  36. package/components/common/vmt/actions/add/lib/config/steps.ts +107 -107
  37. package/components/common/wizards/vm/migrate/select/type/lib/config/typeOptions.ts +16 -14
  38. package/package.json +1 -1
@@ -15,40 +15,42 @@
15
15
  </div>
16
16
  </div>
17
17
 
18
- <div class="home-total-warnings">
19
- <h1>
20
- {{ localization.home.totalAlertsWarnings }}
21
- </h1>
18
+ <!-- TODO 700-->
19
+ <!-- <div class="home-total-warnings">-->
20
+ <!-- <h1>-->
21
+ <!-- {{ localization.home.totalAlertsWarnings }}-->
22
+ <!-- </h1>-->
22
23
 
23
- <div class="grid-container">
24
- <common-pages-home-widgets-warnings
25
- :alerts="alerts || []"
26
- :loading="props.loading"
27
- />
24
+ <!-- <div class="grid-container">-->
25
+ <!-- <common-pages-home-widgets-warnings-->
26
+ <!-- :alerts="alerts || []"-->
27
+ <!-- :loading="props.loading"-->
28
+ <!-- />-->
28
29
 
29
- <common-pages-home-widgets-services
30
- :services="services || []"
31
- :loading="props.loading"
32
- />
33
- </div>
34
- </div>
30
+ <!-- <common-pages-home-widgets-services-->
31
+ <!-- :services="services || []"-->
32
+ <!-- :loading="props.loading"-->
33
+ <!-- />-->
34
+ <!-- </div>-->
35
+ <!-- </div>-->
35
36
  </template>
36
37
 
37
38
  <script lang="ts" setup>
38
39
  import type { UI_I_Localization } from '~/lib/models/interfaces'
39
40
  import type {
40
- UI_I_Alert,
41
41
  UI_I_Hosts,
42
42
  UI_I_Vms,
43
- UI_I_Service,
43
+ // UI_I_Alert,
44
+ // UI_I_Service,
44
45
  } from '~/components/common/pages/home/lib/models/interfaces'
45
46
  import type { UI_T_Project } from '~/lib/models/types'
46
47
 
47
48
  const props = defineProps<{
48
49
  vms: UI_I_Vms
49
50
  hosts: UI_I_Hosts
50
- alerts: UI_I_Alert[]
51
- services: UI_I_Service[]
51
+ // TODO 700
52
+ // alerts: UI_I_Alert[]
53
+ // services: UI_I_Service[]
52
54
  loading: boolean
53
55
  project?: UI_T_Project
54
56
  }>()
@@ -7,26 +7,28 @@
7
7
  :hosts="props.hosts"
8
8
  />
9
9
 
10
- <common-pages-home-widgets-warnings :alerts="props.alerts" />
11
-
12
- <common-pages-home-widgets-services :services="props.services" />
10
+ <!-- TODO 700-->
11
+ <!-- <common-pages-home-widgets-warnings :alerts="props.alerts" />-->
12
+ <!-- TODO 700-->
13
+ <!-- <common-pages-home-widgets-services :services="props.services" />-->
13
14
  </div>
14
15
  </template>
15
16
 
16
17
  <script lang="ts" setup>
17
18
  import type {
18
- UI_I_Alert,
19
19
  UI_I_Hosts,
20
20
  UI_I_Vms,
21
- UI_I_Service,
21
+ // UI_I_Alert,
22
+ // UI_I_Service,
22
23
  } from '~/components/common/pages/home/lib/models/interfaces'
23
24
  import type { UI_T_Project } from '~/lib/models/types'
24
25
 
25
26
  const props = defineProps<{
26
27
  vms: UI_I_Vms
27
28
  hosts: UI_I_Hosts
28
- alerts: UI_I_Alert[]
29
- services: UI_I_Service[]
29
+ // TODO 700
30
+ // alerts: UI_I_Alert[]
31
+ // services: UI_I_Service[]
30
32
  project?: UI_T_Project
31
33
  }>()
32
34
  </script>
@@ -2,21 +2,21 @@
2
2
  <div class="select-option">
3
3
  <div
4
4
  v-for="radio in options"
5
- :key="radio.value"
5
+ :key="radio.id"
6
6
  v-permission="radio.permission"
7
7
  :class="['select-option__inner radio', radio.disabled && 'disabled']"
8
8
  >
9
9
  <div :class="['select-option__container', radio.value]">
10
10
  <div class="select-option__wrapper">
11
11
  <input
12
- :id="radio.label"
12
+ :id="radio.id"
13
13
  v-model="selectedType"
14
14
  :data-id="radio.testId"
15
15
  :value="radio.value"
16
16
  :disabled="radio.disabled"
17
17
  type="radio"
18
18
  />
19
- <label :for="radio.label">{{ radio.label }}</label>
19
+ <label :for="radio.id">{{ radio.label }}</label>
20
20
 
21
21
  <div
22
22
  v-if="'isTooltip' in radio"
@@ -75,7 +75,14 @@ const emits = defineEmits<{
75
75
  (event: 'update:model-value', value: string | number): void
76
76
  }>()
77
77
 
78
- const options = computed<UI_I_RadioOption[]>(() => props.options)
78
+ const options = computed<UI_I_RadioOption[]>(() =>
79
+ props.options.map((option) => {
80
+ return {
81
+ ...option,
82
+ id: option.id || `radio-btn-${useUniqueId()}`,
83
+ }
84
+ })
85
+ )
79
86
 
80
87
  const selectedType = computed<string | number>({
81
88
  get() {
@@ -1,6 +1,7 @@
1
1
  export interface UI_I_RadioOption {
2
2
  label: string
3
3
  value: string | number
4
+ id?: string
4
5
  disabled?: boolean
5
6
  isTooltip?: boolean
6
7
  description?: string
@@ -152,7 +152,12 @@
152
152
  />
153
153
  </template>
154
154
  </ui-wizard-block>
155
- <ui-wizard-block v-if="selectedStep.id === dynamicSteps.selectOptions">
155
+ <ui-wizard-block
156
+ v-if="
157
+ selectedStep.id === dynamicSteps.selectOptions ||
158
+ selectedStep.id === dynamicSteps.selectOptionsForDeployment
159
+ "
160
+ >
156
161
  <template #content>
157
162
  <common-vm-actions-common-select-options
158
163
  :is-create-template="selectedCreateType === '1'"
@@ -75,7 +75,10 @@
75
75
  @submit="emits('change-storage', $event)"
76
76
  />
77
77
  <common-vm-actions-common-select-options
78
- v-show="selectedStep.id === dynamicSteps.selectOptions"
78
+ v-show="
79
+ selectedStep.id === dynamicSteps.selectOptions ||
80
+ selectedStep.id === dynamicSteps.selectOptionsForDeployment
81
+ "
79
82
  :is-create-template="selectedCreateType === '1'"
80
83
  @change="emits('change-select-options', $event)"
81
84
  />
@@ -10,12 +10,13 @@ export const dynamicSteps = {
10
10
  selectComputeResource: 4,
11
11
  selectStorage: 5,
12
12
  selectOptions: 6,
13
- compatibility: 7,
14
- selectGuestOSMachineType: 8,
15
- selectGuestOS: 9,
16
- customizeHardware: 10,
17
- customizeHardwareTemplate: 11,
18
- readyComplete: 12,
13
+ selectOptionsForDeployment: 7,
14
+ compatibility: 8,
15
+ selectGuestOSMachineType: 9,
16
+ selectGuestOS: 10,
17
+ customizeHardware: 11,
18
+ customizeHardwareTemplate: 12,
19
+ readyComplete: 13,
19
20
  }
20
21
 
21
22
  export const stepsFunc = (
@@ -121,6 +122,17 @@ export const stepsFunc = (
121
122
  testId: 'vm-wizard-select-clone-options',
122
123
  fields: {},
123
124
  },
125
+ {
126
+ id: dynamicSteps.selectOptionsForDeployment,
127
+ stepName: '',
128
+ title: localization.common.selectOptionsTargetVm,
129
+ subTitle:
130
+ localization.common.chooseGuestOSInstalledVmAndMachineTypeUsedCreateVm,
131
+ status: UI_E_WIZARD_STATUS.INACTIVE,
132
+ isValid: true,
133
+ testId: 'vm-wizard-select-clone-options',
134
+ fields: {},
135
+ },
124
136
  {
125
137
  id: dynamicSteps.compatibility,
126
138
  stepName: '',
@@ -226,7 +238,7 @@ export const stepsSchemeInitial = [
226
238
  dynamicSteps.selectTemplate,
227
239
  dynamicSteps.selectName,
228
240
  dynamicSteps.selectStorage,
229
- dynamicSteps.selectOptions,
241
+ dynamicSteps.selectOptionsForDeployment,
230
242
  dynamicSteps.readyComplete,
231
243
  ],
232
244
  // Deploy from template with Customize the operating system (Procurator)
@@ -235,7 +247,7 @@ export const stepsSchemeInitial = [
235
247
  dynamicSteps.selectTemplate,
236
248
  dynamicSteps.selectName,
237
249
  dynamicSteps.selectStorage,
238
- dynamicSteps.selectOptions,
250
+ dynamicSteps.selectOptionsForDeployment,
239
251
  dynamicSteps.selectGuestOSMachineType,
240
252
  dynamicSteps.readyComplete,
241
253
  ],
@@ -245,7 +257,7 @@ export const stepsSchemeInitial = [
245
257
  dynamicSteps.selectTemplate,
246
258
  dynamicSteps.selectName,
247
259
  dynamicSteps.selectStorage,
248
- dynamicSteps.selectOptions,
260
+ dynamicSteps.selectOptionsForDeployment,
249
261
  dynamicSteps.customizeHardwareTemplate,
250
262
  dynamicSteps.readyComplete,
251
263
  ],
@@ -255,7 +267,7 @@ export const stepsSchemeInitial = [
255
267
  dynamicSteps.selectTemplate,
256
268
  dynamicSteps.selectName,
257
269
  dynamicSteps.selectStorage,
258
- dynamicSteps.selectOptions,
270
+ dynamicSteps.selectOptionsForDeployment,
259
271
  dynamicSteps.selectGuestOSMachineType,
260
272
  dynamicSteps.customizeHardwareTemplate,
261
273
  dynamicSteps.readyComplete,
@@ -42,6 +42,7 @@
42
42
  :errors="errors"
43
43
  :compute-resource="props.computeResource"
44
44
  :compatibility-info="props.compatibilityInfo"
45
+ :is-vmt="props.isVmt"
45
46
  @change-boot-order="emits('change-boot-order', $event)"
46
47
  @send-data="emits('send-data', $event)"
47
48
  @next="emits('next')"
@@ -98,6 +99,7 @@
98
99
  :nav-items="navItems"
99
100
  :errors="errors"
100
101
  :compute-resource="props.computeResource"
102
+ :is-vmt="props.isVmt"
101
103
  @change-boot-order="emits('change-boot-order', $event)"
102
104
  @send-data="emits('send-data', $event)"
103
105
  @next="emits('next')"
@@ -188,6 +190,7 @@ const props = defineProps<{
188
190
  project?: UI_T_Project
189
191
  computeResource?: UI_I_TreeNode | null
190
192
  compatibilityInfo?: string
193
+ isVmt?: boolean
191
194
  }>()
192
195
  const emits = defineEmits<{
193
196
  (event: 'change-boot-order', value: UI_T_ChangeBootOrder): void
@@ -81,6 +81,7 @@
81
81
  :error-validation-fields="props.errorValidationFields"
82
82
  :state="props.state"
83
83
  :compatibility-info="props.compatibilityInfo"
84
+ :is-vmt="props.isVmt"
84
85
  @change-boot-order="emits('change-boot-order', $event)"
85
86
  @send-data="emits('send-data-vm-options-method', $event)"
86
87
  @invalid="vmOptionsInvalid = $event"
@@ -177,6 +178,7 @@ const props = defineProps<{
177
178
  getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
178
179
  computeResource?: UI_I_TreeNode | null
179
180
  compatibilityInfo?: string
181
+ isVmt?: boolean
180
182
  }>()
181
183
  const emits = defineEmits<{
182
184
  (event: 'get-storage', value: UI_I_TablePayload): void
@@ -65,6 +65,7 @@
65
65
  :is-clone="props.isClone"
66
66
  :error-validation-fields="props.errorValidationFields"
67
67
  :state="props.state"
68
+ :is-vmt="props.isVmt"
68
69
  @change-boot-order="emits('change-boot-order', $event)"
69
70
  @send-data="emits('send-data-vm-options-method', $event)"
70
71
  @invalid="vmOptionsInvalid = $event"
@@ -158,6 +159,7 @@ const props = defineProps<{
158
159
  vmCpuHelpTextSecond?: string
159
160
  getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
160
161
  computeResource?: UI_I_TreeNode | null
162
+ isVmt?: boolean
161
163
  }>()
162
164
  const emits = defineEmits<{
163
165
  (event: 'get-storage', value: UI_I_TablePayload): void
@@ -46,22 +46,23 @@ export const dropdownItemsFunc = (
46
46
  // { text: 'USB Controller', value: 9 },
47
47
  // ],
48
48
  // },
49
- {
50
- text: localization.common.otherDevices,
51
- children: [
52
- {
53
- text: localization.common.pciDevice,
54
- value: 10,
55
- disabled:
56
- state === 2 ||
57
- (!passthroughDevices?.length && !mediatedDevices?.length),
58
- testId: 'pci-device',
59
- },
60
- // { text: 'Watchdog Timer', value: 11 },
61
- // { text: 'Precision Clock', value: 12 },
62
- // { text: 'Serial Port', value: 13 },
63
- ],
64
- },
49
+ // TODO 700
50
+ // {
51
+ // text: localization.common.otherDevices,
52
+ // children: [
53
+ // {
54
+ // text: localization.common.pciDevice,
55
+ // value: 10,
56
+ // disabled:
57
+ // state === 2 ||
58
+ // (!passthroughDevices?.length && !mediatedDevices?.length),
59
+ // testId: 'pci-device',
60
+ // },
61
+ // // { text: 'Watchdog Timer', value: 11 },
62
+ // // { text: 'Precision Clock', value: 12 },
63
+ // // { text: 'Serial Port', value: 13 },
64
+ // ],
65
+ // },
65
66
  {
66
67
  text: localization.common.network,
67
68
  children: [
@@ -120,24 +121,25 @@ export const dropdownItemsNewFunc = (
120
121
  // { text: 'USB Controller', value: 9 },
121
122
  // ],
122
123
  // },
123
- {
124
- text: localization.common.otherDevices,
125
- value: -1,
126
- divider: true,
127
- items: [
128
- {
129
- text: localization.common.pciDevice,
130
- value: 10,
131
- disabled:
132
- state === 2 ||
133
- (!passthroughDevices?.length && !mediatedDevices?.length),
134
- testId: 'pci-device',
135
- },
136
- // { text: 'Watchdog Timer', value: 11 },
137
- // { text: 'Precision Clock', value: 12 },
138
- // { text: 'Serial Port', value: 13 },
139
- ],
140
- },
124
+ // TODO 700
125
+ // {
126
+ // text: localization.common.otherDevices,
127
+ // value: -1,
128
+ // divider: true,
129
+ // items: [
130
+ // {
131
+ // text: localization.common.pciDevice,
132
+ // value: 10,
133
+ // disabled:
134
+ // state === 2 ||
135
+ // (!passthroughDevices?.length && !mediatedDevices?.length),
136
+ // testId: 'pci-device',
137
+ // },
138
+ // // { text: 'Watchdog Timer', value: 11 },
139
+ // // { text: 'Precision Clock', value: 12 },
140
+ // // { text: 'Serial Port', value: 13 },
141
+ // ],
142
+ // },
141
143
  {
142
144
  text: localization.common.network,
143
145
  value: -1,
@@ -15,6 +15,7 @@
15
15
  :options="props.options"
16
16
  :state="props.state"
17
17
  :compatibility-info="props.compatibilityInfo"
18
+ :is-vmt="props.isVmt"
18
19
  @change-boot-order="emits('change-boot-order', $event)"
19
20
  @send-data-remote-console-options="sendDataRemoteConsoleOptionsMethod"
20
21
  @send-data-tools="sendDataToolsMethod"
@@ -36,6 +37,7 @@
36
37
  :error-validation-fields="props.errorValidationFields"
37
38
  :options="props.options"
38
39
  :state="props.state"
40
+ :is-vmt="props.isVmt"
39
41
  @change-boot-order="emits('change-boot-order', $event)"
40
42
  @send-data-remote-console-options="sendDataRemoteConsoleOptionsMethod"
41
43
  @send-data-tools="sendDataToolsMethod"
@@ -88,6 +90,7 @@ const props = defineProps<{
88
90
  options?: UI_I_SendDataVmoptions
89
91
  state?: string | number
90
92
  compatibilityInfo?: string
93
+ isVmt?: boolean
91
94
  }>()
92
95
  const emits = defineEmits<{
93
96
  (
@@ -8,6 +8,7 @@
8
8
  :is-edit="props.isEdit"
9
9
  :is-clone="props.isClone"
10
10
  :state="props.state"
11
+ :is-vmt="props.isVmt"
11
12
  />
12
13
  <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options
13
14
  :error-validation-fields="props.errorValidationFields"
@@ -85,6 +86,7 @@ const props = defineProps<{
85
86
  options?: UI_I_SendDataVmoptions
86
87
  state?: string | number
87
88
  compatibilityInfo?: string
89
+ isVmt?: boolean
88
90
  }>()
89
91
  const emits = defineEmits<{
90
92
  (
@@ -10,6 +10,7 @@
10
10
  :is-edit="props.isEdit"
11
11
  :is-clone="props.isClone"
12
12
  :state="props.state"
13
+ :is-vmt="props.isVmt"
13
14
  />
14
15
  <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options
15
16
  :error-validation-fields="props.errorValidationFields"
@@ -81,6 +82,7 @@ const props = defineProps<{
81
82
  errorValidationFields: UI_I_ErrorValidationField[]
82
83
  options?: UI_I_SendDataVmoptions
83
84
  state?: string | number
85
+ isVmt?: boolean
84
86
  }>()
85
87
  const emits = defineEmits<{
86
88
  (
@@ -6,6 +6,7 @@
6
6
  v-model:guest-os-family="guestOsFamily"
7
7
  v-model:guest-os-version="guestOsVersion"
8
8
  v-model:block-is-open="blockIsOpen"
9
+ :name-label="nameLabel"
9
10
  :is-disabled="isDisabled"
10
11
  :machine-type-options="machineTypeOptions"
11
12
  :os-options="osOptions"
@@ -19,6 +20,7 @@
19
20
  v-model:guest-os-family="guestOsFamily"
20
21
  v-model:guest-os-version="guestOsVersion"
21
22
  v-model:block-is-open="blockIsOpen"
23
+ :name-label="nameLabel"
22
24
  :is-disabled="isDisabled"
23
25
  :machine-type-options="machineTypeOptions"
24
26
  :os-options="osOptions"
@@ -29,6 +31,7 @@
29
31
 
30
32
  <script setup lang="ts">
31
33
  import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
34
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
32
35
  import { capabilities } from '~/components/common/vm/actions/common/lib/config/capabilities'
33
36
 
34
37
  const vmName = defineModel<string>('vmName', { required: true })
@@ -47,6 +50,7 @@ const props = defineProps<{
47
50
  isEdit: boolean
48
51
  isClone: boolean
49
52
  state?: string | number
53
+ isVmt?: boolean
50
54
  }>()
51
55
 
52
56
  const { $store }: any = useNuxtApp()
@@ -78,6 +82,14 @@ watch(
78
82
  )
79
83
 
80
84
  const blockIsOpen = ref<boolean>(false)
85
+
86
+ const localization = computed<UI_I_Localization>(() => useLocal())
87
+
88
+ const nameLabel = computed<string>(() => {
89
+ return props.isVmt
90
+ ? localization.value.common.vmtName
91
+ : localization.value.common.vmName
92
+ })
81
93
  </script>
82
94
 
83
95
  <style scoped lang="scss"></style>
@@ -25,7 +25,7 @@
25
25
  <template #stackChildren>
26
26
  <ui-stack-block :has-children="false">
27
27
  <template #stackBlockKey>
28
- {{ localization.common.vmName }}
28
+ {{ props.nameLabel }}
29
29
  </template>
30
30
  <template #stackBlockContent>
31
31
  <div class="vm-name-wrap">
@@ -124,6 +124,7 @@ const guestOsVersion = defineModel<UI_I_OptionItem | null>('guestOsVersion', {
124
124
 
125
125
  const props = defineProps<{
126
126
  isDisabled: boolean
127
+ nameLabel: string
127
128
  machineTypeOptions: UI_I_OptionItem[]
128
129
  osOptions: UI_I_OptionItem[]
129
130
  versionsOptions: UI_I_OptionItem[]
@@ -16,13 +16,13 @@
16
16
  </template>
17
17
  <template #stackBlockContent>
18
18
  <div v-show="!blockIsOpen">
19
- {{ localization.common.vmName }}: {{ vmName }}
19
+ {{ props.nameLabel }}: {{ vmName }}
20
20
  </div>
21
21
  </template>
22
22
  <template #stackChildren>
23
23
  <atoms-stack-block :has-children="false">
24
24
  <template #stackBlockKey>
25
- {{ localization.common.vmName }}
25
+ {{ props.nameLabel }}
26
26
  </template>
27
27
  <template #stackBlockContent>
28
28
  <span>{{ vmName }}</span>
@@ -138,11 +138,12 @@ const guestOsVersion = defineModel<UI_I_OptionItem | null>('guestOsVersion', {
138
138
  const props = defineProps<{
139
139
  isEdit: boolean
140
140
  isClone: boolean
141
- state?: string | number
142
141
  isDisabled: boolean
142
+ nameLabel: string
143
143
  machineTypeOptions: UI_I_OptionItem[]
144
144
  osOptions: UI_I_OptionItem[]
145
145
  versionsOptions: UI_I_OptionItem[]
146
+ state?: string | number
146
147
  }>()
147
148
  const emits = defineEmits<{
148
149
  (event: 'change-os'): void
@@ -102,11 +102,12 @@
102
102
  v-model:usb-redirection="usbRedirection"
103
103
  :disabled="props.isDisabled"
104
104
  />
105
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing
106
- v-if="remoteConsoleType === 'spice'"
107
- v-model:folder-sharing="folderSharing"
108
- :disabled="props.isDisabled"
109
- />
105
+ <!-- TODO 700-->
106
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing-->
107
+ <!-- v-if="remoteConsoleType === 'spice'"-->
108
+ <!-- v-model:folder-sharing="folderSharing"-->
109
+ <!-- :disabled="props.isDisabled"-->
110
+ <!-- />-->
110
111
  </template>
111
112
  </ui-stack-block>
112
113
  </template>
@@ -127,7 +128,8 @@ const fileTransfer = defineModel<boolean>('fileTransfer', { required: true })
127
128
  const usbRedirection = defineModel<number>('usbRedirection', {
128
129
  required: true,
129
130
  })
130
- const folderSharing = defineModel<boolean>('folderSharing', { required: true })
131
+ // TODO 700
132
+ // const folderSharing = defineModel<boolean>('folderSharing', { required: true })
131
133
 
132
134
  const props = defineProps<{
133
135
  // TODO возможно вернем, НЕ УДАЛЯТЬ
@@ -98,11 +98,12 @@
98
98
  v-model:usb-redirection="usbRedirection"
99
99
  :disabled="props.isDisabled"
100
100
  />
101
- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing
102
- v-if="remoteConsoleType === 'spice'"
103
- v-model:folder-sharing="folderSharing"
104
- :disabled="props.isDisabled"
105
- />
101
+ <!-- TODO 700-->
102
+ <!-- <common-vm-actions-common-customize-hardware-vmoptions-remote-console-options-folder-sharing-->
103
+ <!-- v-if="remoteConsoleType === 'spice'"-->
104
+ <!-- v-model:folder-sharing="folderSharing"-->
105
+ <!-- :disabled="props.isDisabled"-->
106
+ <!-- />-->
106
107
  </template>
107
108
  </atoms-stack-block>
108
109
  </div>
@@ -124,7 +125,8 @@ const fileTransfer = defineModel<boolean>('fileTransfer', { required: true })
124
125
  const usbRedirection = defineModel<number>('usbRedirection', {
125
126
  required: true,
126
127
  })
127
- const folderSharing = defineModel<boolean>('folderSharing', { required: true })
128
+ // TODO 700
129
+ // const folderSharing = defineModel<boolean>('folderSharing', { required: true })
128
130
 
129
131
  const props = defineProps<{
130
132
  // TODO возможно вернем, НЕ УДАЛЯТЬ
@@ -1,5 +1,7 @@
1
1
  <template>
2
+ <!-- TODO 700-->
2
3
  <ui-stack-block
4
+ v-show="false"
3
5
  :has-children="true"
4
6
  test-id="tools-stack-block"
5
7
  is-toggle-on-stack-view-key
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <div class="hardware-tools">
2
+ <!-- TODO 700-->
3
+ <div v-show="false" class="hardware-tools">
3
4
  <atoms-stack-block :has-children="true" test-id="tools-stack-block">
4
5
  <template #stackBlockKey>
5
6
  <div
@@ -1,16 +1,18 @@
1
1
  <template>
2
2
  <div :class="['select-name', { 'pb-6': props.project === 'sphere' }]">
3
- <Teleport to="#name-alert-wrapper">
4
- <ui-alert
5
- v-show="props.errors.length"
6
- :messages="props.errors"
7
- status="alert-danger"
8
- test-id="name-alert"
9
- class="errors-alert"
10
- size="md"
11
- @hide="emits('remove-validation-errors')"
12
- />
13
- </Teleport>
3
+ <client-only>
4
+ <Teleport to="#name-alert-wrapper">
5
+ <ui-alert
6
+ v-show="props.errors.length"
7
+ :messages="props.errors"
8
+ status="alert-danger"
9
+ test-id="name-alert"
10
+ class="errors-alert"
11
+ size="md"
12
+ @hide="emits('remove-validation-errors')"
13
+ />
14
+ </Teleport>
15
+ </client-only>
14
16
 
15
17
  <div class="name-field">
16
18
  <div class="flex-1 flex-align-center">