bfg-common 1.5.136 → 1.5.138
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/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +3093 -3093
- package/assets/localization/local_en.json +3097 -3097
- package/assets/localization/local_hy.json +3097 -3097
- package/assets/localization/local_kk.json +3096 -3096
- package/assets/localization/local_ru.json +3098 -3098
- package/assets/localization/local_zh.json +3094 -3094
- package/components/atoms/table/compact/Compact.vue +4 -1
- package/components/atoms/table/dataGrid/DataGrid.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +1040 -1040
- package/components/common/vm/actions/add/Add.vue +785 -785
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +8 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +8 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/lib/config/options.ts +11 -8
- package/components/common/vm/actions/common/lib/config/capabilities.ts +363 -362
- package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +1 -4
- package/components/common/wizards/vm/migrate/select/storage/configure/batch/Batch.vue +1 -1
- package/components/common/wizards/vm/migrate/select/storage/configure/batch/config/virtualDiskFormat.ts +6 -5
- package/package.json +1 -1
|
@@ -34,8 +34,11 @@
|
|
|
34
34
|
<script setup lang="ts">
|
|
35
35
|
import type { UI_I_SendDataVideoCard } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
|
|
36
36
|
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
37
|
+
import type {UI_I_Localization} from "~/lib/models/interfaces";
|
|
37
38
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
38
|
-
import {
|
|
39
|
+
import {
|
|
40
|
+
videoCardModelOptionsConfigFunc
|
|
41
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/lib/config/options'
|
|
39
42
|
|
|
40
43
|
const props = defineProps<{
|
|
41
44
|
isEdit: boolean
|
|
@@ -49,6 +52,8 @@ const emits = defineEmits<{
|
|
|
49
52
|
(event: 'remove-error-by-title', value: string): void
|
|
50
53
|
}>()
|
|
51
54
|
|
|
55
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
56
|
+
|
|
52
57
|
const { $store }: any = useNuxtApp()
|
|
53
58
|
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
54
59
|
|
|
@@ -77,8 +82,8 @@ watch(
|
|
|
77
82
|
// const graphics = ref(false)
|
|
78
83
|
|
|
79
84
|
const videoCardModel = ref<string>('qxl')
|
|
80
|
-
const videoCardModelOptions =
|
|
81
|
-
|
|
85
|
+
const videoCardModelOptions = computed<UI_I_OptionItem[]>(() =>
|
|
86
|
+
videoCardModelOptionsConfigFunc(localization.value)
|
|
82
87
|
)
|
|
83
88
|
const videoCardModelName = computed<string>(
|
|
84
89
|
() =>
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
<script setup lang="ts">
|
|
17
17
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
18
|
-
import {
|
|
18
|
+
import {
|
|
19
|
+
videoCardModelOptionsConfigFunc
|
|
20
|
+
} from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/lib/config/options'
|
|
21
|
+
import type {UI_I_Localization} from "~/lib/models/interfaces";
|
|
19
22
|
|
|
20
23
|
const videoCardModel = defineModel<string>('videoCardModel')
|
|
21
24
|
|
|
@@ -23,11 +26,13 @@ const props = defineProps<{
|
|
|
23
26
|
disabled: boolean
|
|
24
27
|
}>()
|
|
25
28
|
|
|
29
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
30
|
+
|
|
26
31
|
const { $store }: any = useNuxtApp()
|
|
27
32
|
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
28
33
|
|
|
29
|
-
const videoCardModelOptions =
|
|
30
|
-
|
|
34
|
+
const videoCardModelOptions = computed<UI_I_OptionItem[]>(() =>
|
|
35
|
+
videoCardModelOptionsConfigFunc(localization.value)
|
|
31
36
|
)
|
|
32
37
|
</script>
|
|
33
38
|
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
2
|
+
import type {UI_I_Localization} from "~/lib/models/interfaces";
|
|
2
3
|
|
|
3
|
-
export const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
export const videoCardModelOptionsConfigFunc = (localization: UI_I_Localization):UI_I_OptionItem[] => {
|
|
5
|
+
return [
|
|
6
|
+
// { text: 'VGA', value: 'vga', disabled: true },
|
|
7
|
+
// { text: 'CIRRUS', value: 'cirrus' },
|
|
8
|
+
// { text: 'VMVGA', value: 'vmvga', disabled: true },
|
|
9
|
+
{ text: 'QXL', value: 'qxl' },
|
|
10
|
+
// { text: 'virtio', value: 'virtio' },
|
|
11
|
+
{ text: localization.common.none, value: 'none' },
|
|
12
|
+
]
|
|
13
|
+
}
|