bfg-common 1.4.499 → 1.4.500
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-1.svg +407 -407
- package/assets/img/icons/icons-sprite-dark-2.svg +343 -343
- package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-4.svg +255 -255
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-dark-6.svg +94 -94
- package/assets/img/icons/icons-sprite-light-1.svg +407 -407
- package/assets/img/icons/icons-sprite-light-2.svg +343 -343
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-4.svg +255 -255
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-6.svg +94 -94
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/modal/bySteps/BySteps.vue +253 -253
- package/components/atoms/stack/StackBlock.vue +185 -185
- package/components/atoms/table/dataGrid/DataGrid.vue +1633 -1633
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +222 -222
- package/components/common/browse/blocks/lib/models/types.ts +1 -1
- package/components/common/browse/lib/models/interfaces.ts +5 -5
- package/components/common/context/lib/models/interfaces.ts +30 -30
- package/components/common/context/recursion/Recursion.vue +86 -86
- package/components/common/context/recursion/RecursionNew.vue +199 -199
- package/components/common/context/recursion/RecursionOld.vue +213 -213
- package/components/common/diagramMain/Header.vue +211 -211
- package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
- package/components/common/diagramMain/lib/config/initial.ts +50 -50
- package/components/common/diagramMain/lib/models/enums.ts +44 -44
- package/components/common/diagramMain/lib/models/types.ts +21 -21
- package/components/common/diagramMain/lib/utils/utils.ts +331 -331
- package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +330 -330
- package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
- package/components/common/diagramMain/modals/editSettings/EditSettings.vue +497 -497
- package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +812 -812
- package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
- package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
- package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
- package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +398 -398
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
- package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +23 -23
- package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
- package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
- package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +537 -537
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
- package/components/common/diagramMain/port/Ports.vue +47 -47
- package/components/common/modals/confirmation/Confirmation.vue +70 -70
- package/components/common/vm/actions/add/Add.vue +617 -617
- package/components/common/vm/actions/clone/lib/config/steps.ts +129 -129
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +267 -267
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +254 -204
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +118 -118
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +163 -164
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +25 -25
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +55 -55
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +147 -147
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +44 -44
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +124 -125
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkOld.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/Location.vue +71 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/{Location.vue → location/LocationOld.vue} +134 -145
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/New.vue +63 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/Table.vue +74 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/lib/config/config.ts +95 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +69 -69
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressOld.vue +83 -84
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +56 -53
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +27 -27
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +0 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +54 -54
- package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +145 -145
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +102 -102
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +75 -75
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +26 -26
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +57 -57
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +42 -42
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +25 -25
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +171 -171
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +141 -141
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +140 -140
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +39 -39
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +100 -100
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +38 -38
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -44
- package/components/common/vm/actions/common/select/storage/Storage.vue +130 -130
- package/components/common/vm/actions/common/select/storage/StorageOld.vue +129 -129
- package/components/common/vm/actions/common/select/storage/new/New.vue +159 -159
- package/components/common/vm/actions/editSettings/EditSettings.vue +214 -214
- package/components/common/vm/actions/editSettings/EditSettingsOld.vue +182 -182
- package/components/common/wizards/network/add/lib/config/steps.ts +464 -464
- package/composables/productNameLocal.ts +30 -30
- package/package.json +1 -1
- package/plugins/date.ts +233 -233
- package/plugins/recursion.ts +311 -311
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +383 -383
|
@@ -1,84 +1,83 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
} from '~/lib/models/interfaces'
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<atoms-stack-block :has-children="false">
|
|
4
|
+
<template #stackBlockKey>
|
|
5
|
+
{{ localization.common.macAddress }}
|
|
6
|
+
</template>
|
|
7
|
+
<template #stackBlockContent>
|
|
8
|
+
<div class="flex-align-center">
|
|
9
|
+
<atoms-tooltip-error
|
|
10
|
+
:has-error="!!props.errorText"
|
|
11
|
+
:selector="`.vm-wizard-network-mac-address-field-${props.index}`"
|
|
12
|
+
@remove="emits('remove-error')"
|
|
13
|
+
>
|
|
14
|
+
<template #elem>
|
|
15
|
+
<input
|
|
16
|
+
:id="`vm-wizard-network-mac-address-field-${props.index}`"
|
|
17
|
+
v-model="macAddress"
|
|
18
|
+
type="text"
|
|
19
|
+
:data-id="`vm-wizard-network-mac-address-field-${props.index}`"
|
|
20
|
+
:disabled="macAddressType === 'automatic' || props.disabled"
|
|
21
|
+
:class="[
|
|
22
|
+
`vm-wizard-network-mac-address-field-${props.index}`,
|
|
23
|
+
{ 'has-error': props.macAddressLocalErrorText },
|
|
24
|
+
]"
|
|
25
|
+
/>
|
|
26
|
+
</template>
|
|
27
|
+
<template #content>
|
|
28
|
+
{{ props.errorText }}
|
|
29
|
+
</template>
|
|
30
|
+
</atoms-tooltip-error>
|
|
31
|
+
|
|
32
|
+
<div class="select">
|
|
33
|
+
<select
|
|
34
|
+
:id="`mac-address-select-${props.index}`"
|
|
35
|
+
v-model="macAddressType"
|
|
36
|
+
:data-id="`mac-address-select-${props.index}`"
|
|
37
|
+
:disabled="props.disabled"
|
|
38
|
+
>
|
|
39
|
+
<option
|
|
40
|
+
v-for="(item, key) in props.macAddressOptions"
|
|
41
|
+
:key="key"
|
|
42
|
+
:value="item.value"
|
|
43
|
+
>
|
|
44
|
+
{{ item.text }}
|
|
45
|
+
</option>
|
|
46
|
+
</select>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
50
|
+
</atoms-stack-block>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script setup lang="ts">
|
|
55
|
+
import type {
|
|
56
|
+
UI_I_Localization,
|
|
57
|
+
} from '~/lib/models/interfaces'
|
|
58
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
59
|
+
|
|
60
|
+
const macAddress = defineModel<string>('mac-address', { required: true })
|
|
61
|
+
const macAddressType = defineModel<string>('mac-address-type', {
|
|
62
|
+
required: true,
|
|
63
|
+
})
|
|
64
|
+
|
|
65
|
+
const props = defineProps<{
|
|
66
|
+
index: number
|
|
67
|
+
disabled: boolean
|
|
68
|
+
errorText: string
|
|
69
|
+
macAddressLocalErrorText: string
|
|
70
|
+
macAddressOptions: UI_I_OptionItem[]
|
|
71
|
+
}>()
|
|
72
|
+
const emits = defineEmits<{
|
|
73
|
+
(event: 'remove-error'): void
|
|
74
|
+
}>()
|
|
75
|
+
|
|
76
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<style scoped lang="scss">
|
|
80
|
+
.has-error {
|
|
81
|
+
border: 1px solid #db2100;
|
|
82
|
+
}
|
|
83
|
+
</style>
|
|
@@ -1,53 +1,56 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ui-stack-block
|
|
3
|
-
:has-children="true"
|
|
4
|
-
is-disabled
|
|
5
|
-
test-id="usb-controller-stack-block"
|
|
6
|
-
>
|
|
7
|
-
<template #stackBlockKey>
|
|
8
|
-
<div
|
|
9
|
-
id="vm-wizard-toggle-block-usb-controller"
|
|
10
|
-
data-id="vm-wizard-toggle-block-usb-controller"
|
|
11
|
-
class="flex-align-center"
|
|
12
|
-
>
|
|
13
|
-
<span>{{ localization.common.newUsbController }}</span>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
<template #stackBlockContent>
|
|
17
|
-
<div v-if="props.isEdit">
|
|
18
|
-
{{ props.selectedUsbControllerText }}
|
|
19
|
-
</div>
|
|
20
|
-
<ui-select
|
|
21
|
-
v-else
|
|
22
|
-
id="usb-controller-select"
|
|
23
|
-
v-model="selectedUsbController"
|
|
24
|
-
width="auto"
|
|
25
|
-
:items="props.usbControllerOptions"
|
|
26
|
-
:disabled="props.isEdit"
|
|
27
|
-
test-id="usb-controller-select"
|
|
28
|
-
@click.stop
|
|
29
|
-
/>
|
|
30
|
-
</template>
|
|
31
|
-
</ui-stack-block>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<script setup lang="ts">
|
|
35
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
36
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
37
|
-
|
|
38
|
-
const selectedUsbController = defineModel<string>('selected-usb-controller')
|
|
39
|
-
|
|
40
|
-
const props = defineProps<{
|
|
41
|
-
isEdit: boolean
|
|
42
|
-
selectedUsbControllerText: string
|
|
43
|
-
usbControllerOptions: UI_I_OptionItem[]
|
|
44
|
-
}>()
|
|
45
|
-
|
|
46
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
47
|
-
</script>
|
|
48
|
-
|
|
49
|
-
<style scoped lang="scss">
|
|
50
|
-
#network-connect {
|
|
51
|
-
margin-right: 4px;
|
|
52
|
-
}
|
|
53
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block
|
|
3
|
+
:has-children="true"
|
|
4
|
+
is-disabled
|
|
5
|
+
test-id="usb-controller-stack-block"
|
|
6
|
+
>
|
|
7
|
+
<template #stackBlockKey>
|
|
8
|
+
<div
|
|
9
|
+
id="vm-wizard-toggle-block-usb-controller"
|
|
10
|
+
data-id="vm-wizard-toggle-block-usb-controller"
|
|
11
|
+
class="flex-align-center"
|
|
12
|
+
>
|
|
13
|
+
<span>{{ localization.common.newUsbController }}</span>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
<template #stackBlockContent>
|
|
17
|
+
<div v-if="props.isEdit" class="selected-usb-controller">
|
|
18
|
+
{{ props.selectedUsbControllerText }}
|
|
19
|
+
</div>
|
|
20
|
+
<ui-select
|
|
21
|
+
v-else
|
|
22
|
+
id="usb-controller-select"
|
|
23
|
+
v-model="selectedUsbController"
|
|
24
|
+
width="auto"
|
|
25
|
+
:items="props.usbControllerOptions"
|
|
26
|
+
:disabled="props.isEdit"
|
|
27
|
+
test-id="usb-controller-select"
|
|
28
|
+
@click.stop
|
|
29
|
+
/>
|
|
30
|
+
</template>
|
|
31
|
+
</ui-stack-block>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script setup lang="ts">
|
|
35
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
36
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
37
|
+
|
|
38
|
+
const selectedUsbController = defineModel<string>('selected-usb-controller')
|
|
39
|
+
|
|
40
|
+
const props = defineProps<{
|
|
41
|
+
isEdit: boolean
|
|
42
|
+
selectedUsbControllerText: string
|
|
43
|
+
usbControllerOptions: UI_I_OptionItem[]
|
|
44
|
+
}>()
|
|
45
|
+
|
|
46
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
47
|
+
</script>
|
|
48
|
+
|
|
49
|
+
<style scoped lang="scss">
|
|
50
|
+
#network-connect {
|
|
51
|
+
margin-right: 4px;
|
|
52
|
+
}
|
|
53
|
+
.selected-usb-controller {
|
|
54
|
+
line-height: 26px;
|
|
55
|
+
}
|
|
56
|
+
</style>
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-other-new
|
|
3
|
-
v-if="isNewView"
|
|
4
|
-
/>
|
|
5
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-other-old
|
|
6
|
-
v-else
|
|
7
|
-
/>
|
|
8
|
-
</template>
|
|
9
|
-
|
|
10
|
-
<script setup lang="ts">
|
|
11
|
-
const { $store }: any = useNuxtApp()
|
|
12
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<style scoped lang="scss">
|
|
16
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-other-new
|
|
3
|
+
v-if="isNewView"
|
|
4
|
+
/>
|
|
5
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-other-old
|
|
6
|
+
v-else
|
|
7
|
+
/>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup lang="ts">
|
|
11
|
+
const { $store }: any = useNuxtApp()
|
|
12
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<style scoped lang="scss">
|
|
16
|
+
</style>
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ui-stack-block :has-children="true" test-id="other-stack-block">
|
|
3
|
-
<template #stackBlockKey>
|
|
4
|
-
<div
|
|
5
|
-
id="vm-wizard-toggle-block-other"
|
|
6
|
-
data-id="vm-wizard-toggle-block-other"
|
|
7
|
-
>
|
|
8
|
-
<span>{{ localization.common.other }}</span>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
<template #stackBlockContent>
|
|
12
|
-
<span>{{ localization.common.additionalHardware }} (2)</span>
|
|
13
|
-
</template>
|
|
14
|
-
<template #stackChildren>
|
|
15
|
-
<common-vm-actions-common-customize-hardware-virtual-hardware-other-input-devices />
|
|
16
|
-
</template>
|
|
17
|
-
</ui-stack-block>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script setup lang="ts">
|
|
21
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
22
|
-
|
|
23
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
24
|
-
</script>
|
|
25
|
-
|
|
26
|
-
<style scoped lang="scss">
|
|
27
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="true" test-id="other-stack-block">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
<div
|
|
5
|
+
id="vm-wizard-toggle-block-other"
|
|
6
|
+
data-id="vm-wizard-toggle-block-other"
|
|
7
|
+
>
|
|
8
|
+
<span>{{ localization.common.other }}</span>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<template #stackBlockContent>
|
|
12
|
+
<span>{{ localization.common.additionalHardware }} (2)</span>
|
|
13
|
+
</template>
|
|
14
|
+
<template #stackChildren>
|
|
15
|
+
<common-vm-actions-common-customize-hardware-virtual-hardware-other-input-devices />
|
|
16
|
+
</template>
|
|
17
|
+
</ui-stack-block>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
22
|
+
|
|
23
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<style scoped lang="scss">
|
|
27
|
+
</style>
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ui-stack-block :has-children="false">
|
|
3
|
-
<template #stackBlockKey>
|
|
4
|
-
{{ localization.common.totalVideoMemory }}
|
|
5
|
-
</template>
|
|
6
|
-
<template #stackBlockContent>
|
|
7
|
-
<div class="total-video-memory-content flex-align-center">
|
|
8
|
-
<div v-show="props.disabled">
|
|
9
|
-
{{ localization.common.automatic }}
|
|
10
|
-
</div>
|
|
11
|
-
<div v-show="!props.disabled">
|
|
12
|
-
<ui-input-with-tooltip
|
|
13
|
-
id="vm-wizard-video-card-memory-field"
|
|
14
|
-
v-model="totalVideoMemory"
|
|
15
|
-
test-id="vm-wizard-video-card-memory-input"
|
|
16
|
-
type="text"
|
|
17
|
-
size="sm"
|
|
18
|
-
:error-text="props.errorText"
|
|
19
|
-
/>
|
|
20
|
-
</div>
|
|
21
|
-
<span class="unit-text">{{ localization.common.mb }}</span>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
</ui-stack-block>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<script setup lang="ts">
|
|
28
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
29
|
-
|
|
30
|
-
const totalVideoMemory = defineModel<number>('total-video-memory', {
|
|
31
|
-
required: true,
|
|
32
|
-
})
|
|
33
|
-
|
|
34
|
-
const props = defineProps<{
|
|
35
|
-
disabled: boolean
|
|
36
|
-
errorText: string
|
|
37
|
-
totalVideoMemoryLocalErrorText: string
|
|
38
|
-
}>()
|
|
39
|
-
// const emits = defineEmits<{
|
|
40
|
-
// (event: 'remove-error'): void
|
|
41
|
-
// }>()
|
|
42
|
-
|
|
43
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
-
</script>
|
|
45
|
-
|
|
46
|
-
<style scoped lang="scss">
|
|
47
|
-
.unit-text {
|
|
48
|
-
margin-left: 10px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:deep(.ui-main.ui-main-sm .ui-main-input) {
|
|
52
|
-
height: 26px;
|
|
53
|
-
}
|
|
54
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<ui-stack-block :has-children="false">
|
|
3
|
+
<template #stackBlockKey>
|
|
4
|
+
{{ localization.common.totalVideoMemory }}
|
|
5
|
+
</template>
|
|
6
|
+
<template #stackBlockContent>
|
|
7
|
+
<div class="total-video-memory-content flex-align-center">
|
|
8
|
+
<div v-show="props.disabled">
|
|
9
|
+
{{ localization.common.automatic }}
|
|
10
|
+
</div>
|
|
11
|
+
<div v-show="!props.disabled">
|
|
12
|
+
<ui-input-with-tooltip
|
|
13
|
+
id="vm-wizard-video-card-memory-field"
|
|
14
|
+
v-model="totalVideoMemory"
|
|
15
|
+
test-id="vm-wizard-video-card-memory-input"
|
|
16
|
+
type="text"
|
|
17
|
+
size="sm"
|
|
18
|
+
:error-text="props.errorText"
|
|
19
|
+
/>
|
|
20
|
+
</div>
|
|
21
|
+
<span class="unit-text">{{ localization.common.mb }}</span>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
</ui-stack-block>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup lang="ts">
|
|
28
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
29
|
+
|
|
30
|
+
const totalVideoMemory = defineModel<number>('total-video-memory', {
|
|
31
|
+
required: true,
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
const props = defineProps<{
|
|
35
|
+
disabled: boolean
|
|
36
|
+
errorText: string
|
|
37
|
+
totalVideoMemoryLocalErrorText: string
|
|
38
|
+
}>()
|
|
39
|
+
// const emits = defineEmits<{
|
|
40
|
+
// (event: 'remove-error'): void
|
|
41
|
+
// }>()
|
|
42
|
+
|
|
43
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<style scoped lang="scss">
|
|
47
|
+
.unit-text {
|
|
48
|
+
margin-left: 10px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:deep(.ui-main.ui-main-sm .ui-main-input) {
|
|
52
|
+
height: 26px;
|
|
53
|
+
}
|
|
54
|
+
</style>
|