bfg-common 1.5.326 → 1.5.328
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.
- package/assets/localization/local_be.json +1 -1
- package/assets/localization/local_en.json +1 -1
- package/assets/localization/local_hy.json +1 -1
- package/assets/localization/local_kk.json +1 -1
- package/assets/localization/local_ru.json +1 -1
- package/assets/localization/local_zh.json +1 -1
- package/components/common/pages/home/widgets/WidgetsNew.vue +21 -19
- package/components/common/pages/home/widgets/WidgetsOld.vue +9 -7
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +155 -153
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +7 -5
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsOld.vue +7 -5
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +8 -6
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue +8 -6
- package/components/common/wizards/vm/migrate/select/type/lib/config/typeOptions.ts +14 -14
- package/package.json +1 -1
@@ -1786,7 +1786,7 @@
|
|
1786
1786
|
"commands": "Каманда",
|
1787
1787
|
"perc": "Пярко",
|
1788
1788
|
"bytes": "Байт",
|
1789
|
-
"vmNameValidationDescription": "Імя павінна ўтрымліваць лацінскія літары, лічбы, '-', '_', '.' і павінна ўтрымліваць ад 5 да
|
1789
|
+
"vmNameValidationDescription": "Імя павінна ўтрымліваць лацінскія літары, лічбы, '-', '_', '.' і павінна ўтрымліваць ад 5 да 64 знакаў. Калі прапусціць дадзены крок, сістэма згенеруе імя аўтаматычна.",
|
1790
1790
|
"tokens": "Tokens",
|
1791
1791
|
"deleteToken": "Выдаліць маркер",
|
1792
1792
|
"deleteTokenDesc": "Вы хочаце выдаліць выбраны токен?",
|
@@ -1785,7 +1785,7 @@
|
|
1785
1785
|
"commands": "Commands",
|
1786
1786
|
"perc": "Perc",
|
1787
1787
|
"bytes": "Bytes",
|
1788
|
-
"vmNameValidationDescription": "The name must contain Latin letters and numbers, '-', '_', '.' and it must contain from 5 to
|
1788
|
+
"vmNameValidationDescription": "The name must contain Latin letters and numbers, '-', '_', '.' and it must contain from 5 to 64 characters. If you skip this step, the system will generate the name automatically.",
|
1789
1789
|
"tokens": "Tokens",
|
1790
1790
|
"deleteToken": "Delete Token",
|
1791
1791
|
"deleteTokenDesc": "Do you want to delete the selected Token?",
|
@@ -1785,7 +1785,7 @@
|
|
1785
1785
|
"commands": "Հրամաններ",
|
1786
1786
|
"perc": "Պերկ",
|
1787
1787
|
"bytes": "Բայթ",
|
1788
|
-
"vmNameValidationDescription": "Անունը պետք է պարունակի լատինական տառեր, թվեր, '-', '_', '.' և պետք է պարունակի 5-ից
|
1788
|
+
"vmNameValidationDescription": "Անունը պետք է պարունակի լատինական տառեր, թվեր, '-', '_', '.' և պետք է պարունակի 5-ից 64 նիշ: Եթե բաց թողնենք այս քայլը, համակարգը ինքնաբերաբար կստեղծի անուն:",
|
1789
1789
|
"tokens": "Tokens",
|
1790
1790
|
"deleteToken": "Ջնջել Token",
|
1791
1791
|
"deleteTokenDesc": "Ցանկանու՞մ եք ջնջել ընտրված Token:",
|
@@ -1785,7 +1785,7 @@
|
|
1785
1785
|
"commands": "Командалар",
|
1786
1786
|
"perc": "Жеңілдік",
|
1787
1787
|
"bytes": "Байттар",
|
1788
|
-
"vmNameValidationDescription": "Атауында латын әріптері, сандары болуы керек, '-', '_', '.' және 5-тен
|
1788
|
+
"vmNameValidationDescription": "Атауында латын әріптері, сандары болуы керек, '-', '_', '.' және 5-тен 64 таңбаға дейін болуы керек. Егер сіз бұл қадамды өткізіп жіберсеңіз, жүйе автоматты түрде атау жасайды.",
|
1789
1789
|
"tokens": "Tokens",
|
1790
1790
|
"deleteToken": "Токенді жою",
|
1791
1791
|
"deleteTokenDesc": "Таңдалған таңбалауышты жою керек пе?",
|
@@ -1785,7 +1785,7 @@
|
|
1785
1785
|
"commands": "Команды",
|
1786
1786
|
"perc": "Перк",
|
1787
1787
|
"bytes": "Байты",
|
1788
|
-
"vmNameValidationDescription": "Имя должно содержать латинские буквы, цифры, '-', '_', '.' и должно содержать от 5 до
|
1788
|
+
"vmNameValidationDescription": "Имя должно содержать латинские буквы, цифры, '-', '_', '.' и должно содержать от 5 до 64 символов. Если пропустить данный шаг, система сгенерирует имя автоматически.",
|
1789
1789
|
"tokens": "Токены",
|
1790
1790
|
"deleteToken": "Удалить токен",
|
1791
1791
|
"deleteTokenDesc": "Вы хотите удалить выбранный токен?",
|
@@ -1784,7 +1784,7 @@
|
|
1784
1784
|
"commands": "命令",
|
1785
1785
|
"perc": "全氯乙烯",
|
1786
1786
|
"bytes": "字节",
|
1787
|
-
"vmNameValidationDescription": "名称必须包含拉丁字母、数字、'-' 、'_' 、'.' 。 并且必须包含 5 到
|
1787
|
+
"vmNameValidationDescription": "名称必须包含拉丁字母、数字、'-' 、'_' 、'.' 。 并且必须包含 5 到 64 个字符。 如果跳过此步骤,系统会自动生成一个名称。",
|
1788
1788
|
"tokens": "Tokens",
|
1789
1789
|
"deleteToken": "删除令牌",
|
1790
1790
|
"deleteTokenDesc": "您想删除选定的令牌吗?",
|
@@ -15,40 +15,42 @@
|
|
15
15
|
</div>
|
16
16
|
</div>
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
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
|
-
|
51
|
-
|
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
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
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
|
-
|
29
|
-
|
29
|
+
// TODO 700
|
30
|
+
// alerts: UI_I_Alert[]
|
31
|
+
// services: UI_I_Service[]
|
30
32
|
project?: UI_T_Project
|
31
33
|
}>()
|
32
34
|
</script>
|
@@ -1,153 +1,155 @@
|
|
1
|
-
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
2
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
3
|
-
import type { UI_I_DropdownTreeItem } from '~/components/atoms/dropdown/tree/lib/models/interfaces'
|
4
|
-
import type { UI_I_PciDevice } from '~/lib/models/store/vm/interfaces'
|
5
|
-
|
6
|
-
export const dropdownItemsFunc = (
|
7
|
-
localization: UI_I_Localization,
|
8
|
-
state: string | number | undefined,
|
9
|
-
passthroughDevices?: UI_I_PciDevice[],
|
10
|
-
mediatedDevices?: any[]
|
11
|
-
): UI_I_DropdownTreeItem[] => {
|
12
|
-
const { $text } = useNuxtApp()
|
13
|
-
|
14
|
-
return [
|
15
|
-
{
|
16
|
-
text: localization.common.disksDrivesStorage,
|
17
|
-
children: [
|
18
|
-
{
|
19
|
-
text: $text.toCapitalizeEveryWord(localization.common.hardDisk),
|
20
|
-
value: 1,
|
21
|
-
testId: 'disks-drives-storage',
|
22
|
-
},
|
23
|
-
{
|
24
|
-
text: $text.toCapitalizeEveryWord(
|
25
|
-
localization.common.existingHardDisk
|
26
|
-
),
|
27
|
-
value: 2,
|
28
|
-
testId: 'existing-hard-disk',
|
29
|
-
},
|
30
|
-
// { text: 'RDM Disk', value: 2 },
|
31
|
-
// { text: 'Host USB Device', value: 3 },
|
32
|
-
// { text: 'NVDIMM', value: 4 },
|
33
|
-
{
|
34
|
-
text: localization.common.cdDvdDrive,
|
35
|
-
value: 5,
|
36
|
-
testId: 'cd-dvd-drive',
|
37
|
-
},
|
38
|
-
],
|
39
|
-
},
|
40
|
-
// {
|
41
|
-
// text: 'Controllers',
|
42
|
-
// children: [
|
43
|
-
// { text: 'NVMe Controller', value: 6 },
|
44
|
-
// { text: 'SATA Controller', value: 7 },
|
45
|
-
// { text: 'SCSI Controller', value: 8 },
|
46
|
-
// { text: 'USB Controller', value: 9 },
|
47
|
-
// ],
|
48
|
-
// },
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
// { text: '
|
106
|
-
// { text: '
|
107
|
-
{
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
//
|
116
|
-
//
|
117
|
-
//
|
118
|
-
// { text: '
|
119
|
-
// { text: '
|
120
|
-
// { text: '
|
121
|
-
//
|
122
|
-
//
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
},
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
}
|
1
|
+
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
2
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
3
|
+
import type { UI_I_DropdownTreeItem } from '~/components/atoms/dropdown/tree/lib/models/interfaces'
|
4
|
+
import type { UI_I_PciDevice } from '~/lib/models/store/vm/interfaces'
|
5
|
+
|
6
|
+
export const dropdownItemsFunc = (
|
7
|
+
localization: UI_I_Localization,
|
8
|
+
state: string | number | undefined,
|
9
|
+
passthroughDevices?: UI_I_PciDevice[],
|
10
|
+
mediatedDevices?: any[]
|
11
|
+
): UI_I_DropdownTreeItem[] => {
|
12
|
+
const { $text } = useNuxtApp()
|
13
|
+
|
14
|
+
return [
|
15
|
+
{
|
16
|
+
text: localization.common.disksDrivesStorage,
|
17
|
+
children: [
|
18
|
+
{
|
19
|
+
text: $text.toCapitalizeEveryWord(localization.common.hardDisk),
|
20
|
+
value: 1,
|
21
|
+
testId: 'disks-drives-storage',
|
22
|
+
},
|
23
|
+
{
|
24
|
+
text: $text.toCapitalizeEveryWord(
|
25
|
+
localization.common.existingHardDisk
|
26
|
+
),
|
27
|
+
value: 2,
|
28
|
+
testId: 'existing-hard-disk',
|
29
|
+
},
|
30
|
+
// { text: 'RDM Disk', value: 2 },
|
31
|
+
// { text: 'Host USB Device', value: 3 },
|
32
|
+
// { text: 'NVDIMM', value: 4 },
|
33
|
+
{
|
34
|
+
text: localization.common.cdDvdDrive,
|
35
|
+
value: 5,
|
36
|
+
testId: 'cd-dvd-drive',
|
37
|
+
},
|
38
|
+
],
|
39
|
+
},
|
40
|
+
// {
|
41
|
+
// text: 'Controllers',
|
42
|
+
// children: [
|
43
|
+
// { text: 'NVMe Controller', value: 6 },
|
44
|
+
// { text: 'SATA Controller', value: 7 },
|
45
|
+
// { text: 'SCSI Controller', value: 8 },
|
46
|
+
// { text: 'USB Controller', value: 9 },
|
47
|
+
// ],
|
48
|
+
// },
|
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
|
+
// },
|
66
|
+
{
|
67
|
+
text: localization.common.network,
|
68
|
+
children: [
|
69
|
+
{
|
70
|
+
text: $text.toCapitalizeEveryWord(localization.common.networkAdapter),
|
71
|
+
value: 14,
|
72
|
+
testId: 'network-adapter',
|
73
|
+
},
|
74
|
+
],
|
75
|
+
},
|
76
|
+
]
|
77
|
+
}
|
78
|
+
|
79
|
+
export const dropdownItemsNewFunc = (
|
80
|
+
localization: UI_I_Localization,
|
81
|
+
state: string | number | undefined,
|
82
|
+
passthroughDevices?: UI_I_PciDevice[],
|
83
|
+
mediatedDevices?: any
|
84
|
+
): UI_I_Dropdown[] => {
|
85
|
+
const { $text } = useNuxtApp()
|
86
|
+
|
87
|
+
return [
|
88
|
+
{
|
89
|
+
text: localization.common.disksDrivesStorage,
|
90
|
+
value: -1,
|
91
|
+
divider: true,
|
92
|
+
items: [
|
93
|
+
{
|
94
|
+
text: $text.toCapitalizeEveryWord(localization.common.hardDisk),
|
95
|
+
value: 1,
|
96
|
+
testId: 'disks-drives-storage',
|
97
|
+
},
|
98
|
+
{
|
99
|
+
text: $text.toCapitalizeEveryWord(
|
100
|
+
localization.common.existingHardDisk
|
101
|
+
),
|
102
|
+
value: 2,
|
103
|
+
testId: 'existing-hard-disk',
|
104
|
+
},
|
105
|
+
// { text: 'RDM Disk', value: 2 },
|
106
|
+
// { text: 'Host USB Device', value: 3 },
|
107
|
+
// { text: 'NVDIMM', value: 4 },
|
108
|
+
{
|
109
|
+
text: localization.common.cdDvdDrive,
|
110
|
+
value: 5,
|
111
|
+
testId: 'cd-dvd-drive',
|
112
|
+
},
|
113
|
+
],
|
114
|
+
},
|
115
|
+
// {
|
116
|
+
// text: 'Controllers',
|
117
|
+
// children: [
|
118
|
+
// { text: 'NVMe Controller', value: 6 },
|
119
|
+
// { text: 'SATA Controller', value: 7 },
|
120
|
+
// { text: 'SCSI Controller', value: 8 },
|
121
|
+
// { text: 'USB Controller', value: 9 },
|
122
|
+
// ],
|
123
|
+
// },
|
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
|
+
// },
|
143
|
+
{
|
144
|
+
text: localization.common.network,
|
145
|
+
value: -1,
|
146
|
+
items: [
|
147
|
+
{
|
148
|
+
text: $text.toCapitalizeEveryWord(localization.common.networkAdapter),
|
149
|
+
value: 14,
|
150
|
+
testId: 'network-adapter',
|
151
|
+
},
|
152
|
+
],
|
153
|
+
},
|
154
|
+
]
|
155
|
+
}
|
@@ -19,10 +19,11 @@
|
|
19
19
|
@invalid="remoteConsoleOptionsInvalid = $event"
|
20
20
|
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
21
21
|
/>
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
<!-- TODO 700-->
|
23
|
+
<!-- <common-vm-actions-common-customize-hardware-vmoptions-tools-->
|
24
|
+
<!-- :tools="props.options?.guest_tools?.enabled"-->
|
25
|
+
<!-- @send-data="emits('send-data-tools', $event)"-->
|
26
|
+
<!-- />-->
|
26
27
|
<common-vm-actions-common-customize-hardware-vmoptions-boot-options
|
27
28
|
:error-validation-fields="props.errorValidationFields"
|
28
29
|
:hard-disks="props.hardDisks"
|
@@ -101,7 +102,8 @@ const emits = defineEmits<{
|
|
101
102
|
event: 'send-data-remote-console-options',
|
102
103
|
value: UI_I_SendDataRemoteConsoleOptions
|
103
104
|
): void
|
104
|
-
|
105
|
+
// TODO 700
|
106
|
+
// (event: 'send-data-tools', value: UI_I_SendDataTools): void
|
105
107
|
(event: 'send-data-boot-options', value: UI_I_SendDataBootOptions): void
|
106
108
|
(event: 'remove-error-by-title', value: string): void
|
107
109
|
}>()
|
@@ -21,10 +21,11 @@
|
|
21
21
|
@invalid="remoteConsoleOptionsInvalid = $event"
|
22
22
|
@remove-error-by-title="emits('remove-error-by-title', $event)"
|
23
23
|
/>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
24
|
+
<!-- TODO 700-->
|
25
|
+
<!-- <common-vm-actions-common-customize-hardware-vmoptions-tools-->
|
26
|
+
<!-- :tools="props.options?.guest_tools?.enabled"-->
|
27
|
+
<!-- @send-data="emits('send-data-tools', $event)"-->
|
28
|
+
<!-- />-->
|
28
29
|
<common-vm-actions-common-customize-hardware-vmoptions-boot-options
|
29
30
|
:error-validation-fields="props.errorValidationFields"
|
30
31
|
:hard-disks="props.hardDisks"
|
@@ -97,7 +98,8 @@ const emits = defineEmits<{
|
|
97
98
|
event: 'send-data-remote-console-options',
|
98
99
|
value: UI_I_SendDataRemoteConsoleOptions
|
99
100
|
): void
|
100
|
-
|
101
|
+
// TODO 700
|
102
|
+
// (event: 'send-data-tools', value: UI_I_SendDataTools): void
|
101
103
|
(event: 'send-data-boot-options', value: UI_I_SendDataBootOptions): void
|
102
104
|
(event: 'remove-error-by-title', value: string): void
|
103
105
|
}>()
|
package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue
CHANGED
@@ -102,11 +102,12 @@
|
|
102
102
|
v-model:usb-redirection="usbRedirection"
|
103
103
|
:disabled="props.isDisabled"
|
104
104
|
/>
|
105
|
-
|
106
|
-
|
107
|
-
v-
|
108
|
-
:
|
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
|
-
|
131
|
+
// TODO 700
|
132
|
+
// const folderSharing = defineModel<boolean>('folderSharing', { required: true })
|
131
133
|
|
132
134
|
const props = defineProps<{
|
133
135
|
// TODO возможно вернем, НЕ УДАЛЯТЬ
|
package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/Old.vue
CHANGED
@@ -98,11 +98,12 @@
|
|
98
98
|
v-model:usb-redirection="usbRedirection"
|
99
99
|
:disabled="props.isDisabled"
|
100
100
|
/>
|
101
|
-
|
102
|
-
|
103
|
-
v-
|
104
|
-
:
|
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
|
-
|
128
|
+
// TODO 700
|
129
|
+
// const folderSharing = defineModel<boolean>('folderSharing', { required: true })
|
128
130
|
|
129
131
|
const props = defineProps<{
|
130
132
|
// TODO возможно вернем, НЕ УДАЛЯТЬ
|
@@ -23,20 +23,20 @@ export const vmMigrateTypesFunc = (
|
|
23
23
|
permissions: ['sphere', 'procurator'],
|
24
24
|
permission: 'VirtualMachines.MigrateDatastore',
|
25
25
|
},
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
},
|
33
|
-
{
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
},
|
26
|
+
// {
|
27
|
+
// label: localization.common.changeBothComputeResourceStorage,
|
28
|
+
// value: 'resource-storage',
|
29
|
+
// disabled: true,
|
30
|
+
// description: localization.common.changeBothComputeResourceStorageDesc,
|
31
|
+
// permissions: ['sphere'],
|
32
|
+
// },
|
33
|
+
// {
|
34
|
+
// label: localization.common.crossVCenterServerExport,
|
35
|
+
// value: 'server',
|
36
|
+
// disabled: true,
|
37
|
+
// description: localization.common.crossVCenterServerExportDesc,
|
38
|
+
// permissions: ['sphere'],
|
39
|
+
// },
|
40
40
|
]
|
41
41
|
|
42
42
|
return options.filter((option) => option.permissions.includes(project))
|