bfg-common 1.3.239 → 1.3.240
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/components/atoms/switch/Switch.vue +111 -111
- package/components/atoms/table/compact/Compact.vue +526 -526
- package/components/common/BadBrowser.vue +16 -12
- package/components/common/accordion/Accordion.vue +1 -0
- package/components/common/accordion/Recursion.vue +2 -0
- package/components/common/accordion/lib/models/interfaces.ts +1 -0
- package/components/common/adapterManager/AddAdapterModal.vue +8 -5
- package/components/common/adapterManager/AddAdapterWarningModal.vue +1 -0
- package/components/common/adapterManager/ui/actions/AddAdapterButton.vue +2 -0
- package/components/common/adapterManager/ui/actions/MoveDownAdapterButton.vue +2 -0
- package/components/common/adapterManager/ui/actions/MoveUpAdapterButton.vue +2 -0
- package/components/common/adapterManager/ui/actions/RemoveAdapterButton.vue +2 -0
- package/components/common/adapterManager/ui/table/Adapters.vue +14 -13
- package/components/common/adapterManager/ui/table/Header.vue +6 -4
- package/components/common/adapterManager/ui/table/Table.vue +13 -4
- package/components/common/browse/Browse.vue +5 -1
- package/components/common/browse/blocks/Container.vue +3 -0
- package/components/common/browse/blocks/contents/Files.vue +1 -0
- package/components/common/context/ContextRecursion.vue +6 -1
- package/components/common/details/DetailsItem.vue +3 -0
- package/components/common/diagramMain/Header.vue +4 -0
- package/components/common/diagramMain/adapter/AdapterItem.vue +2 -0
- package/components/common/diagramMain/adapter/Contents.vue +2 -0
- package/components/common/diagramMain/lib/models/interfaces.ts +1 -0
- package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +1 -0
- package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +13 -27
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +1 -0
- package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +3 -0
- package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +8 -0
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +6 -0
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +2 -0
- package/components/common/diagramMain/modals/lib/config/networkModal.ts +4 -0
- package/components/common/diagramMain/modals/lib/config/portModal.ts +7 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +19 -13
- package/components/common/diagramMain/modals/remove/RemoveModal.vue +5 -0
- package/components/common/diagramMain/modals/viewSettings/ViewSettings.vue +11 -7
- package/components/common/diagramMain/network/Contents.vue +5 -4
- package/components/common/diagramMain/port/Port.vue +1 -0
- package/components/common/feedback/Buttons.vue +2 -0
- package/components/common/feedback/Feedback.vue +9 -2
- package/components/common/feedback/Message.vue +9 -0
- package/components/common/feedback/VisitPortal.vue +11 -2
- package/components/common/help/navbar/left/Left.vue +1 -0
- package/components/common/help/navbar/right/Right.vue +12 -2
- package/components/common/help/navbar/right/lib/models/interfaces.ts +1 -0
- package/components/common/home/alertsTable/AlertsTable.vue +1 -0
- package/components/common/modals/Confirmation.vue +10 -2
- package/components/common/modals/Rename.vue +1 -0
- package/components/common/monitor/advanced/tools/Tools.vue +10 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/Actions.vue +7 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +6 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/Form.vue +14 -1
- package/components/common/monitor/overview/filters/Filters.vue +12 -5
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +4 -0
- package/components/common/pages/Tasks.vue +120 -120
- package/components/common/perPage/PerPage.vue +1 -0
- package/components/common/recursionTree/RecursionTree.vue +205 -203
- package/components/common/recursionTree/lib/models/interfaces.ts +4 -2
- package/components/common/select/button/ButtonDropdown.vue +2 -0
- package/components/common/select/button/lib/models/interfaces.ts +1 -0
- package/components/common/select/input/Input.vue +1 -0
- package/components/common/select/radio/RadioGroup.vue +2 -0
- package/components/common/select/radio/lib/models/interfaces.ts +1 -0
- package/components/common/shortcuts/Block.vue +2 -0
- package/components/common/shortcuts/Category.vue +1 -0
- package/components/common/shortcuts/lib/models/interfaces.ts +1 -0
- package/components/common/spiceConsole/Drawer.vue +4 -0
- package/components/common/spiceConsole/keyboard/Keyboard.vue +1 -0
- package/components/common/spiceConsole/keyboard/lib/config/keyboardRows.ts +81 -6
- package/components/common/spiceConsole/keyboard/lib/models/interfaces.ts +1 -0
- package/components/common/split/horizontal/Horizontal.vue +1 -0
- package/components/common/vm/actions/add/Add.vue +576 -575
- package/components/common/vm/actions/clone/Clone.vue +518 -518
- package/components/common/vm/actions/clone/select/options/Options.vue +9 -3
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +269 -269
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +693 -693
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/Bus.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +7 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuModel.vue +225 -220
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Iommu.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Pc.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Sa.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +59 -59
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryHotPlug.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/Location.vue +6 -6
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +5 -6
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/cache/Cache.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/limitIops/LimitIops.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/Mode.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/provisioning/Provisioning.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/Sharing.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/Location.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +295 -294
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/adapterType/AdapterType.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +12 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +165 -165
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelection.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbController.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +3 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/Graphics.vue +6 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/TotalVideoMemory.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/model/Model.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Menu.vue +6 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Secure.vue +6 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/lib/models/interfaces.ts +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +4 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/FileTransfer.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/FolderSharing.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/imgCompression/ImgCompression.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/jpegCompression/JpegCompression.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/mouseMode/MouseMode.vue +6 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +7 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/sharePolicy/SharePolicy.vue +5 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/type/Type.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +2 -1
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/zlibCompression/ZlibCompression.vue +1 -0
- package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +6 -1
- package/components/common/vm/actions/common/select/compatibility/Compatibility.vue +31 -27
- package/components/common/vm/actions/common/select/name/Name.vue +7 -1
- package/components/common/vm/actions/common/select/os/os.vue +7 -1
- package/components/common/vm/actions/common/select/storage/lib/config/config.ts +166 -166
- package/components/common/vm/actions/editSettings/EditSettings.vue +313 -313
- package/components/common/weekSelect/WeekSelect.vue +143 -112
- package/components/common/weekSelect/lib/config/options.ts +10 -10
- package/components/common/weekSelect/lib/models/interfaces.ts +1 -0
- package/components/common/wizards/datastore/add/local/createName/CreateName.vue +1 -0
- package/components/common/wizards/datastore/add/nfs/accessibility/Accessibility.vue +8 -7
- package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +9 -1
- package/components/common/wizards/datastore/add/nfs/configuration/serversList/DeletePopover.vue +6 -3
- package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +1 -0
- package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/lib/config/radioOptions.ts +3 -0
- package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/DeviceSelection.vue +2 -0
- package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +2 -0
- package/components/common/wizards/datastore/add/types/Types.vue +1 -0
- package/components/common/wizards/network/add/modals/SelectNetwork.vue +16 -3
- package/components/common/wizards/network/add/modals/SelectStandardSwitch.vue +10 -2
- package/components/common/wizards/network/add/modals/SelectSwitch.vue +10 -2
- package/components/common/wizards/network/add/steps/ConnectionSettings.vue +5 -1
- package/components/common/wizards/network/add/steps/IpFourSettings.vue +12 -2
- package/components/common/wizards/network/add/steps/PortProperties.vue +16 -3
- package/components/common/wizards/network/add/steps/SelectConnectionType.vue +6 -3
- package/components/common/wizards/network/add/steps/SelectedTargetDevice.vue +11 -0
- package/components/common/wizards/vm/common/tooltip/Tooltip.vue +2 -0
- package/components/common/wizards/vm/migrate/select/network/Network.vue +1 -0
- package/components/common/wizards/vm/migrate/select/network/table/network/Network.vue +1 -0
- package/components/common/wizards/vm/migrate/select/storage/Storage.vue +5 -1
- package/components/common/wizards/vm/migrate/select/storage/configure/disk/Disk.vue +1 -0
- package/components/common/wizards/vm/migrate/select/storage/diskFormat/DiskFormat.vue +1 -0
- package/components/common/wizards/vm/migrate/select/storage/policy/Policy.vue +1 -0
- package/components/common/wizards/vm/migrate/select/storage/selectedPerDisk/SelectedPerDisk.vue +1 -0
- package/components/common/wizards/vm/migrate/select/targetServer/new/New.vue +9 -1
- package/composables/useAppVersion.ts +21 -21
- package/composables/useEnvLanguage.ts +20 -20
- package/lib/utils/sendTask.ts +72 -72
- package/minify.js +146 -146
- package/package.json +1 -1
- package/public/spice-console/application/codec.js +257 -257
- package/public/spice-console/lib/rasterEngine.js +907 -907
- package/public/spice-console/network/spicechannel.js +369 -369
- package/store/main/lib/interfaces.ts +9 -9
- package/store/tasks/actions.ts +133 -133
- package/store/tasks/getters.ts +25 -25
- package/store/tasks/lib/models/interfaces.ts +18 -18
- package/store/tasks/mutations.ts +58 -58
- package/store/tasks/state.ts +16 -16
|
@@ -6,7 +6,12 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
<template #stackBlockContent>
|
|
8
8
|
<div class="select">
|
|
9
|
-
<select
|
|
9
|
+
<select
|
|
10
|
+
id="mouse-mode-select"
|
|
11
|
+
v-model="mouseModeLocal"
|
|
12
|
+
data-id="mouse-mode-select"
|
|
13
|
+
disabled
|
|
14
|
+
>
|
|
10
15
|
<option
|
|
11
16
|
v-for="(item, key) in mouseModeOptions"
|
|
12
17
|
:key="key"
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
<input
|
|
10
10
|
id="enable-password"
|
|
11
11
|
v-model="isEnabledPassword"
|
|
12
|
+
data-id="enable-password-input"
|
|
12
13
|
:disabled="props.disabled"
|
|
13
14
|
type="checkbox"
|
|
14
15
|
@change="setPasswordDisable"
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
<input
|
|
23
24
|
id="password-input"
|
|
24
25
|
v-model="form.password.value"
|
|
26
|
+
data-id="password-input"
|
|
25
27
|
type="text"
|
|
26
28
|
:class="[{ 'has-error': !!passwordErrorText }]"
|
|
27
29
|
:disabled="!isEnabledPassword || props.disabled"
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
|
|
36
38
|
<button
|
|
37
39
|
id="generate-password-button"
|
|
40
|
+
data-id="generate-password-button"
|
|
38
41
|
class="generate-password-btn btn btn-primary"
|
|
39
42
|
:disabled="!isEnabledPassword || props.disabled"
|
|
40
43
|
:title="localization.generatePassword"
|
|
@@ -50,7 +53,10 @@
|
|
|
50
53
|
|
|
51
54
|
<script setup lang="ts">
|
|
52
55
|
import { UI_I_DefaultForm } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/lib/models/interfaces'
|
|
53
|
-
import {
|
|
56
|
+
import {
|
|
57
|
+
UI_I_Localization,
|
|
58
|
+
UI_I_HTMLSelectElement,
|
|
59
|
+
} from '~/lib/models/interfaces'
|
|
54
60
|
import { generatePassword } from '~/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/lib/utils'
|
|
55
61
|
|
|
56
62
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
</template>
|
|
7
7
|
<template #stackBlockContent>
|
|
8
8
|
<div class="select">
|
|
9
|
-
<select
|
|
9
|
+
<select
|
|
10
|
+
id="share-policy-select"
|
|
11
|
+
v-model="sharePolicyLocal"
|
|
12
|
+
data-id="share-policy-select"
|
|
13
|
+
>
|
|
10
14
|
<option
|
|
11
15
|
v-for="(item, key) in sharePolicyOptions"
|
|
12
16
|
:key="key"
|
|
@@ -12,7 +12,12 @@
|
|
|
12
12
|
{{ localization.toolsEnable }}
|
|
13
13
|
</template>
|
|
14
14
|
<template #stackBlockContent>
|
|
15
|
-
<input
|
|
15
|
+
<input
|
|
16
|
+
id="tools-2"
|
|
17
|
+
v-model="tools"
|
|
18
|
+
data-id="tools-2-checkbox"
|
|
19
|
+
type="checkbox"
|
|
20
|
+
/>
|
|
16
21
|
<label for="tools-2" class="label-text-normal">{{
|
|
17
22
|
localization.enable
|
|
18
23
|
}}</label>
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
@remove="onRemoveValidationError"
|
|
15
15
|
>
|
|
16
16
|
<template #elem>
|
|
17
|
-
<select
|
|
17
|
+
<select
|
|
18
|
+
id="vm-wizard-version-select"
|
|
19
|
+
v-model="selectedVersion"
|
|
20
|
+
data-id="vm-wizard-version-select"
|
|
21
|
+
>
|
|
18
22
|
<option v-for="(item, key) in versions" :key="key" :value="item">
|
|
19
23
|
{{ item.text }}
|
|
20
24
|
</option>
|
|
@@ -22,32 +26,32 @@
|
|
|
22
26
|
</template>
|
|
23
27
|
<template #content>{{ apiError }}</template>
|
|
24
28
|
</atoms-tooltip-error>
|
|
25
|
-
<!-- <div id="version-select-help-icon" class="flex-align-center relative">-->
|
|
26
|
-
<!-- <atoms-the-icon-->
|
|
27
|
-
<!-- fill="#0072a3"-->
|
|
28
|
-
<!-- width="24px"-->
|
|
29
|
-
<!-- height="24px"-->
|
|
30
|
-
<!-- name="info-circle"-->
|
|
31
|
-
<!-- @click="isShowHelp = !isShowHelp"-->
|
|
32
|
-
<!-- />-->
|
|
33
|
-
<!-- <atoms-tooltip-signpost-->
|
|
34
|
-
<!-- v-if="isShowHelp"-->
|
|
35
|
-
<!-- elem-id="version-select-help-icon"-->
|
|
36
|
-
<!-- @hide="isShowHelp = false"-->
|
|
37
|
-
<!-- >-->
|
|
38
|
-
<!-- <h3 class="help-title">{{ localization.help }}</h3>-->
|
|
39
|
-
|
|
40
|
-
<!-- <p>-->
|
|
41
|
-
<!-- {{-->
|
|
42
|
-
<!-- localization.eachVirtualMachineCompatibilitySettingIncludesHardwareAvailableVirtualMachine-->
|
|
43
|
-
<!-- }}-->
|
|
44
|
-
<!-- </p>-->
|
|
45
|
-
|
|
46
|
-
<!-- <a id="more-information-link" class="pointer">{{-->
|
|
47
|
-
<!-- localization.moreInformation-->
|
|
48
|
-
<!-- }}</a>-->
|
|
49
|
-
<!-- </atoms-tooltip-signpost>-->
|
|
50
|
-
<!-- </div>-->
|
|
29
|
+
<!-- <div id="version-select-help-icon" class="flex-align-center relative">-->
|
|
30
|
+
<!-- <atoms-the-icon-->
|
|
31
|
+
<!-- fill="#0072a3"-->
|
|
32
|
+
<!-- width="24px"-->
|
|
33
|
+
<!-- height="24px"-->
|
|
34
|
+
<!-- name="info-circle"-->
|
|
35
|
+
<!-- @click="isShowHelp = !isShowHelp"-->
|
|
36
|
+
<!-- />-->
|
|
37
|
+
<!-- <atoms-tooltip-signpost-->
|
|
38
|
+
<!-- v-if="isShowHelp"-->
|
|
39
|
+
<!-- elem-id="version-select-help-icon"-->
|
|
40
|
+
<!-- @hide="isShowHelp = false"-->
|
|
41
|
+
<!-- >-->
|
|
42
|
+
<!-- <h3 class="help-title">{{ localization.help }}</h3>-->
|
|
43
|
+
|
|
44
|
+
<!-- <p>-->
|
|
45
|
+
<!-- {{-->
|
|
46
|
+
<!-- localization.eachVirtualMachineCompatibilitySettingIncludesHardwareAvailableVirtualMachine-->
|
|
47
|
+
<!-- }}-->
|
|
48
|
+
<!-- </p>-->
|
|
49
|
+
|
|
50
|
+
<!-- <a id="more-information-link" class="pointer">{{-->
|
|
51
|
+
<!-- localization.moreInformation-->
|
|
52
|
+
<!-- }}</a>-->
|
|
53
|
+
<!-- </atoms-tooltip-signpost>-->
|
|
54
|
+
<!-- </div>-->
|
|
51
55
|
</div>
|
|
52
56
|
<p class="select-compatibility-block">
|
|
53
57
|
{{ versionDescription }}
|
|
@@ -11,9 +11,15 @@
|
|
|
11
11
|
<label for="virtual-machine-name"
|
|
12
12
|
>{{ localization.virtualMachineName }}:</label
|
|
13
13
|
>
|
|
14
|
-
<input
|
|
14
|
+
<input
|
|
15
|
+
id="virtual-machine-name"
|
|
16
|
+
v-model.trim="vmName"
|
|
17
|
+
data-id="virtual-machine-name-input"
|
|
18
|
+
type="text"
|
|
19
|
+
/>
|
|
15
20
|
<div id="vm-name-help-icon" class="content-signpost relative">
|
|
16
21
|
<atoms-the-icon
|
|
22
|
+
data-id="show-vm-name-help-icon"
|
|
17
23
|
class="icon-show-help"
|
|
18
24
|
fill="#0072a3"
|
|
19
25
|
width="24px"
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
<select
|
|
18
18
|
id="vm-wizard-machine-type-select"
|
|
19
19
|
v-model="selectedMachineType"
|
|
20
|
+
data-id="vm-wizard-machine-type-select"
|
|
20
21
|
class="table-cell"
|
|
21
22
|
>
|
|
22
23
|
<option
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
<select
|
|
46
47
|
id="vm-wizard-os-select"
|
|
47
48
|
v-model="selectedOS"
|
|
49
|
+
data-id="vm-wizard-os-select"
|
|
48
50
|
class="table-cell"
|
|
49
51
|
@change="onChangeOS"
|
|
50
52
|
>
|
|
@@ -70,6 +72,7 @@
|
|
|
70
72
|
<select
|
|
71
73
|
id="vm-wizard-os-version-select"
|
|
72
74
|
v-model="selectedVersion"
|
|
75
|
+
data-id="vm-wizard-os-version-select"
|
|
73
76
|
class="table-cell"
|
|
74
77
|
>
|
|
75
78
|
<option
|
|
@@ -89,7 +92,10 @@
|
|
|
89
92
|
|
|
90
93
|
<script setup lang="ts">
|
|
91
94
|
import { UI_I_OsChange } from '~/components/common/vm/actions/common/select/lib/models/interfaces'
|
|
92
|
-
import {
|
|
95
|
+
import {
|
|
96
|
+
UI_I_Localization,
|
|
97
|
+
UI_I_ArbitraryObject,
|
|
98
|
+
} from '~/lib/models/interfaces'
|
|
93
99
|
import { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
|
94
100
|
import { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
95
101
|
|
|
@@ -1,166 +1,166 @@
|
|
|
1
|
-
import { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
2
|
-
import type {
|
|
3
|
-
UI_I_ColumnKey,
|
|
4
|
-
UI_I_HeadItem,
|
|
5
|
-
UI_I_BodyItem,
|
|
6
|
-
} from '~/components/atoms/table/dataGrid/lib/models/interfaces'
|
|
7
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
8
|
-
import { UI_T_StorageColumnKeys } from '~/components/common/vm/actions/common/select/storage/lib/models/types'
|
|
9
|
-
import {
|
|
10
|
-
constructColumnKey,
|
|
11
|
-
constructHeadItem,
|
|
12
|
-
} from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
|
|
13
|
-
import {
|
|
14
|
-
datastoreIconByState,
|
|
15
|
-
datastoreLocalizationByState,
|
|
16
|
-
} from '~/components/common/lib/config/states'
|
|
17
|
-
|
|
18
|
-
export const storageTableKeys: UI_T_StorageColumnKeys = [
|
|
19
|
-
'name',
|
|
20
|
-
'state',
|
|
21
|
-
'capacity_mb',
|
|
22
|
-
'provisioned_mb',
|
|
23
|
-
'free_mb',
|
|
24
|
-
'used_mb',
|
|
25
|
-
'type_text',
|
|
26
|
-
'thin_provisioning',
|
|
27
|
-
'access_mode',
|
|
28
|
-
'hardware_acceleration',
|
|
29
|
-
'drive_type',
|
|
30
|
-
'device',
|
|
31
|
-
'storage_io_control',
|
|
32
|
-
]
|
|
33
|
-
|
|
34
|
-
const getItems = (
|
|
35
|
-
localization: UI_I_Localization
|
|
36
|
-
): [string, boolean, string, string][] => {
|
|
37
|
-
return [
|
|
38
|
-
[localization.name, true, '96px', storageTableKeys[0]],
|
|
39
|
-
[localization.state, true, '138px', storageTableKeys[1]],
|
|
40
|
-
[localization.capacity, true, '110px', storageTableKeys[2]],
|
|
41
|
-
[localization.provisioned, true, '128px', storageTableKeys[3]],
|
|
42
|
-
[localization.free, true, '110px', storageTableKeys[4]],
|
|
43
|
-
[localization.used, true, '110px', storageTableKeys[5]],
|
|
44
|
-
[localization.type, true, '110px', storageTableKeys[6]],
|
|
45
|
-
[localization.thinProvisioning, true, '132px', storageTableKeys[7]],
|
|
46
|
-
[localization.access, true, '110px', storageTableKeys[8]],
|
|
47
|
-
[localization.hardwareAcceleration, true, '134px', storageTableKeys[9]],
|
|
48
|
-
[localization.driverType, true, '110px', storageTableKeys[10]],
|
|
49
|
-
[localization.device, true, '110px', storageTableKeys[11]],
|
|
50
|
-
[localization.storageIoControl, true, '110px', storageTableKeys[12]],
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export const columnKeys = (
|
|
55
|
-
localization: UI_I_Localization
|
|
56
|
-
): UI_I_ColumnKey[] => {
|
|
57
|
-
const result: UI_I_ColumnKey[] = []
|
|
58
|
-
getItems(localization).forEach((item, i) => {
|
|
59
|
-
const col = i === 0 ? 'icon' : `col${i}`
|
|
60
|
-
result.push(constructColumnKey(col, item[0], item[1]))
|
|
61
|
-
})
|
|
62
|
-
return result
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
|
|
66
|
-
const result: UI_I_HeadItem[] = []
|
|
67
|
-
getItems(localization).forEach((item, i) => {
|
|
68
|
-
const col = i === 0 ? 'icon' : `col${i}`
|
|
69
|
-
result.push(constructHeadItem(col, item[0], item[3], true, item[2]))
|
|
70
|
-
})
|
|
71
|
-
return result
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export const bodyItems = (
|
|
75
|
-
data: UI_I_DatastoreTableItem[],
|
|
76
|
-
localization: UI_I_Localization
|
|
77
|
-
): UI_I_BodyItem[][] => {
|
|
78
|
-
const bodyItems: UI_I_BodyItem[][] = []
|
|
79
|
-
const { $binary } = useNuxtApp()
|
|
80
|
-
|
|
81
|
-
data.forEach((storage: UI_I_DatastoreTableItem, key: number) => {
|
|
82
|
-
const state =
|
|
83
|
-
localization[datastoreLocalizationByState[storage[storageTableKeys[1]]]]
|
|
84
|
-
bodyItems.push([
|
|
85
|
-
{
|
|
86
|
-
key: 'icon',
|
|
87
|
-
text: storage[storageTableKeys[0]].toString(),
|
|
88
|
-
data: `vsphere-icon-${datastoreIconByState[storage.state]}`,
|
|
89
|
-
id: key,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
key: 'col1',
|
|
93
|
-
text: state,
|
|
94
|
-
id: key,
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
key: 'col2',
|
|
98
|
-
text: $binary.round(storage.capacity[storageTableKeys[2]]),
|
|
99
|
-
data: {
|
|
100
|
-
sortValue: storage.capacity[storageTableKeys[2]],
|
|
101
|
-
},
|
|
102
|
-
id: key,
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
key: 'col3',
|
|
106
|
-
text: $binary.round(storage.capacity[storageTableKeys[3]].toString()),
|
|
107
|
-
data: {
|
|
108
|
-
sortValue: storage.capacity[storageTableKeys[3]],
|
|
109
|
-
},
|
|
110
|
-
id: key,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
key: 'col4',
|
|
114
|
-
text: $binary.round(storage.capacity[storageTableKeys[4]].toString()),
|
|
115
|
-
data: {
|
|
116
|
-
sortValue: storage.capacity[storageTableKeys[4]],
|
|
117
|
-
},
|
|
118
|
-
id: key,
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
key: 'col5',
|
|
122
|
-
text: $binary.round(storage.capacity[storageTableKeys[5]].toString()),
|
|
123
|
-
data: {
|
|
124
|
-
sortValue: storage.capacity[storageTableKeys[5]],
|
|
125
|
-
},
|
|
126
|
-
id: key,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
key: 'col6',
|
|
130
|
-
text: storage[storageTableKeys[6]].toString(),
|
|
131
|
-
id: key,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
key: 'col7',
|
|
135
|
-
text: storage[storageTableKeys[7]] ? localization.yes : localization.no,
|
|
136
|
-
id: key,
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
key: 'col8',
|
|
140
|
-
text: storage[storageTableKeys[8]].toString(),
|
|
141
|
-
id: key,
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
key: 'col9',
|
|
145
|
-
text: storage[storageTableKeys[9]].toString(),
|
|
146
|
-
id: key,
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
key: 'col10',
|
|
150
|
-
text: storage[storageTableKeys[10]].toString(),
|
|
151
|
-
id: key,
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
key: 'col11',
|
|
155
|
-
text: storage[storageTableKeys[11]].toString(),
|
|
156
|
-
id: key,
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
key: 'col12',
|
|
160
|
-
text: storage[storageTableKeys[12]].toString(),
|
|
161
|
-
id: key,
|
|
162
|
-
},
|
|
163
|
-
])
|
|
164
|
-
})
|
|
165
|
-
return bodyItems
|
|
166
|
-
}
|
|
1
|
+
import { UI_I_DatastoreTableItem } from '~/lib/models/store/storage/interfaces'
|
|
2
|
+
import type {
|
|
3
|
+
UI_I_ColumnKey,
|
|
4
|
+
UI_I_HeadItem,
|
|
5
|
+
UI_I_BodyItem,
|
|
6
|
+
} from '~/components/atoms/table/dataGrid/lib/models/interfaces'
|
|
7
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
8
|
+
import { UI_T_StorageColumnKeys } from '~/components/common/vm/actions/common/select/storage/lib/models/types'
|
|
9
|
+
import {
|
|
10
|
+
constructColumnKey,
|
|
11
|
+
constructHeadItem,
|
|
12
|
+
} from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
|
|
13
|
+
import {
|
|
14
|
+
datastoreIconByState,
|
|
15
|
+
datastoreLocalizationByState,
|
|
16
|
+
} from '~/components/common/lib/config/states'
|
|
17
|
+
|
|
18
|
+
export const storageTableKeys: UI_T_StorageColumnKeys = [
|
|
19
|
+
'name',
|
|
20
|
+
'state',
|
|
21
|
+
'capacity_mb',
|
|
22
|
+
'provisioned_mb',
|
|
23
|
+
'free_mb',
|
|
24
|
+
'used_mb',
|
|
25
|
+
'type_text',
|
|
26
|
+
'thin_provisioning',
|
|
27
|
+
'access_mode',
|
|
28
|
+
'hardware_acceleration',
|
|
29
|
+
'drive_type',
|
|
30
|
+
'device',
|
|
31
|
+
'storage_io_control',
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
const getItems = (
|
|
35
|
+
localization: UI_I_Localization
|
|
36
|
+
): [string, boolean, string, string][] => {
|
|
37
|
+
return [
|
|
38
|
+
[localization.name, true, '96px', storageTableKeys[0]],
|
|
39
|
+
[localization.state, true, '138px', storageTableKeys[1]],
|
|
40
|
+
[localization.capacity, true, '110px', storageTableKeys[2]],
|
|
41
|
+
[localization.provisioned, true, '128px', storageTableKeys[3]],
|
|
42
|
+
[localization.free, true, '110px', storageTableKeys[4]],
|
|
43
|
+
[localization.used, true, '110px', storageTableKeys[5]],
|
|
44
|
+
[localization.type, true, '110px', storageTableKeys[6]],
|
|
45
|
+
[localization.thinProvisioning, true, '132px', storageTableKeys[7]],
|
|
46
|
+
[localization.access, true, '110px', storageTableKeys[8]],
|
|
47
|
+
[localization.hardwareAcceleration, true, '134px', storageTableKeys[9]],
|
|
48
|
+
[localization.driverType, true, '110px', storageTableKeys[10]],
|
|
49
|
+
[localization.device, true, '110px', storageTableKeys[11]],
|
|
50
|
+
[localization.storageIoControl, true, '110px', storageTableKeys[12]],
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export const columnKeys = (
|
|
55
|
+
localization: UI_I_Localization
|
|
56
|
+
): UI_I_ColumnKey[] => {
|
|
57
|
+
const result: UI_I_ColumnKey[] = []
|
|
58
|
+
getItems(localization).forEach((item, i) => {
|
|
59
|
+
const col = i === 0 ? 'icon' : `col${i}`
|
|
60
|
+
result.push(constructColumnKey(col, item[0], item[1]))
|
|
61
|
+
})
|
|
62
|
+
return result
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
|
|
66
|
+
const result: UI_I_HeadItem[] = []
|
|
67
|
+
getItems(localization).forEach((item, i) => {
|
|
68
|
+
const col = i === 0 ? 'icon' : `col${i}`
|
|
69
|
+
result.push(constructHeadItem(col, item[0], item[3], true, item[2]))
|
|
70
|
+
})
|
|
71
|
+
return result
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export const bodyItems = (
|
|
75
|
+
data: UI_I_DatastoreTableItem[],
|
|
76
|
+
localization: UI_I_Localization
|
|
77
|
+
): UI_I_BodyItem[][] => {
|
|
78
|
+
const bodyItems: UI_I_BodyItem[][] = []
|
|
79
|
+
const { $binary } = useNuxtApp()
|
|
80
|
+
|
|
81
|
+
data.forEach((storage: UI_I_DatastoreTableItem, key: number) => {
|
|
82
|
+
const state =
|
|
83
|
+
localization[datastoreLocalizationByState[storage[storageTableKeys[1]]]]
|
|
84
|
+
bodyItems.push([
|
|
85
|
+
{
|
|
86
|
+
key: 'icon',
|
|
87
|
+
text: storage[storageTableKeys[0]].toString(),
|
|
88
|
+
data: `vsphere-icon-${datastoreIconByState[storage.state]}`,
|
|
89
|
+
id: key,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
key: 'col1',
|
|
93
|
+
text: state,
|
|
94
|
+
id: key,
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
key: 'col2',
|
|
98
|
+
text: $binary.round(storage.capacity[storageTableKeys[2]]),
|
|
99
|
+
data: {
|
|
100
|
+
sortValue: storage.capacity[storageTableKeys[2]],
|
|
101
|
+
},
|
|
102
|
+
id: key,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
key: 'col3',
|
|
106
|
+
text: $binary.round(storage.capacity[storageTableKeys[3]].toString()),
|
|
107
|
+
data: {
|
|
108
|
+
sortValue: storage.capacity[storageTableKeys[3]],
|
|
109
|
+
},
|
|
110
|
+
id: key,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
key: 'col4',
|
|
114
|
+
text: $binary.round(storage.capacity[storageTableKeys[4]].toString()),
|
|
115
|
+
data: {
|
|
116
|
+
sortValue: storage.capacity[storageTableKeys[4]],
|
|
117
|
+
},
|
|
118
|
+
id: key,
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
key: 'col5',
|
|
122
|
+
text: $binary.round(storage.capacity[storageTableKeys[5]].toString()),
|
|
123
|
+
data: {
|
|
124
|
+
sortValue: storage.capacity[storageTableKeys[5]],
|
|
125
|
+
},
|
|
126
|
+
id: key,
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
key: 'col6',
|
|
130
|
+
text: storage[storageTableKeys[6]].toString(),
|
|
131
|
+
id: key,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
key: 'col7',
|
|
135
|
+
text: storage[storageTableKeys[7]] ? localization.yes : localization.no,
|
|
136
|
+
id: key,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: 'col8',
|
|
140
|
+
text: storage[storageTableKeys[8]].toString(),
|
|
141
|
+
id: key,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
key: 'col9',
|
|
145
|
+
text: storage[storageTableKeys[9]].toString(),
|
|
146
|
+
id: key,
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
key: 'col10',
|
|
150
|
+
text: storage[storageTableKeys[10]].toString(),
|
|
151
|
+
id: key,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
key: 'col11',
|
|
155
|
+
text: storage[storageTableKeys[11]].toString(),
|
|
156
|
+
id: key,
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
key: 'col12',
|
|
160
|
+
text: storage[storageTableKeys[12]].toString(),
|
|
161
|
+
id: key,
|
|
162
|
+
},
|
|
163
|
+
])
|
|
164
|
+
})
|
|
165
|
+
return bodyItems
|
|
166
|
+
}
|