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.
- package/assets/scss/components/auth.scss +4 -3
- package/components/atoms/window/Window.vue +2 -0
- package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
- package/components/common/layout/theHeader/helpMenu/About.vue +2 -2
- package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -1
- package/components/common/pages/shortcuts/block/BlockNew.vue +1 -1
- package/components/common/split/vertical/VerticalNew.vue +6 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +84 -78
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/coresPerSocket/CoresPerSocketNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/hotPlug/HotPlugNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/maxCpu/MaxCpuNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/SharesNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/hotPlug/HotPlugNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/CacheNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/File.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/file/FileNew.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIopsNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/LocationNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSize.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/maximumSize/MaximumSizeNew.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/ProvisioningNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterTypeNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +69 -66
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteNew.vue +49 -42
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/inputDevices/InputDevicesNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/ReservationNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/ModelNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplaysNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/DelayNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +16 -4
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +4 -1
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/old/SelectNetwork.vue +1 -0
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/old/SelectStandardSwitch.vue +1 -0
- package/composables/useLocal.ts +6 -51
- package/composables/useLocalCommon.ts +39 -0
- package/{composables/productNameLocal.ts → lib/utils/localizationMapper.ts} +30 -30
- package/package.json +4 -4
@@ -82,7 +82,8 @@
|
|
82
82
|
|
83
83
|
&-inner {
|
84
84
|
position: relative;
|
85
|
-
width:
|
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
|
}
|
@@ -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]
|
76
|
-
const aboutDesc2 = computed<string>(() => aboutDesc.value[1]
|
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
|
78
|
+
:to="!item2.disabled ? item2.to : ''"
|
79
79
|
:title="
|
80
80
|
item2.disabled ? localization.common.inDevelopment : ''
|
81
81
|
"
|
@@ -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:
|
35
|
-
isDrag:
|
36
|
-
topPanelStyle:
|
37
|
-
bottomPanelStyle:
|
36
|
+
elementId: string
|
37
|
+
isDrag: boolean
|
38
|
+
topPanelStyle: UI_I_SplitVerticalStyle
|
39
|
+
bottomPanelStyle: UI_I_SplitVerticalStyle
|
38
40
|
}>()
|
39
41
|
</script>
|
40
42
|
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
<template>
|
2
|
-
<ui-stack-block
|
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 }}
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusOld.vue
CHANGED
@@ -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 }}
|
@@ -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
|
3
|
-
|
4
|
-
{
|
5
|
-
|
6
|
-
<template #
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
</
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
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
|
-
|
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
|
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>
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/LimitNew.vue
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
<template>
|
2
|
-
<ui-stack-block
|
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 }}
|
@@ -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
|
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
|
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
|
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
|
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
|
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>
|