bfg-common 1.6.22 → 1.6.24
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 +5 -65
- package/assets/localization/local_en.json +12 -72
- package/assets/localization/local_hy.json +6 -66
- package/assets/localization/local_kk.json +5 -65
- package/assets/localization/local_ru.json +11 -71
- package/assets/localization/local_zh.json +5 -65
- package/assets/scss/common/theme.scss +2 -2
- package/components/atoms/stack/StackBlock.vue +1 -1
- package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +1 -1
- package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +1 -0
- package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +0 -1
- package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +0 -6
- package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +192 -219
- package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +4 -6
- package/components/common/configure/physicalAdapters/buttons/Buttons.vue +0 -1
- package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +1 -26
- package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +1 -30
- package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +0 -5
- package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +1 -12
- package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
- package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +5 -12
- package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +1 -4
- package/components/common/diagramMain/DiagramMain.vue +0 -6
- package/components/common/diagramMain/modals/Modals.vue +0 -4
- package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +2 -2
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +1 -1
- package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
- package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +9 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +0 -4
- package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +2 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +7 -11
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +1 -7
- package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +5 -8
- package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +5 -9
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +9 -5
- package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +6 -9
- package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -3
- package/components/common/monitor/lib/utils/local_be.json +698 -690
- package/components/common/monitor/lib/utils/local_en.json +698 -690
- package/components/common/monitor/lib/utils/local_hy.json +698 -690
- package/components/common/monitor/lib/utils/local_kk.json +698 -690
- package/components/common/monitor/lib/utils/local_ru.json +698 -690
- package/components/common/monitor/lib/utils/local_zh.json +698 -690
- package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
- package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +0 -9
- package/components/common/pages/scheduledTasks/table/new/New.vue +10 -12
- package/components/common/pages/tasks/Tasks.vue +1 -4
- package/components/common/pages/tasks/table/Table.vue +22 -24
- package/components/common/split/vertical/New.vue +6 -11
- package/components/common/vm/actions/add/New.vue +6 -21
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +0 -1
- package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +15 -13
- package/components/common/vm/actions/confirm/Confirm.vue +0 -3
- package/components/common/vm/snapshots/DetailView.vue +6 -6
- package/components/common/wizards/datastore/add/New.vue +0 -6
- package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
- package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
- package/components/common/wizards/network/add/Add.vue +2 -13
- package/components/common/wizards/network/add/AddNew.vue +26 -22
- package/components/common/wizards/network/add/lib/config/initialData.ts +4 -4
- package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
- package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +8 -2
- package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +8 -2
- package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +3 -10
- package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +1 -5
- package/components/common/wizards/network/add/validations/common.ts +1 -1
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +13 -31
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +1 -3
- package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +4 -5
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +0 -4
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +1 -3
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +3 -8
- package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +1 -7
- package/lib/models/store/tasks/enums.ts +0 -3
- package/lib/models/store/tasks/types.ts +6 -7
- package/package.json +2 -2
- package/store/tasks/actions.ts +8 -26
- package/store/tasks/mappers/recentTasks.ts +0 -1
- package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +0 -19
- package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +0 -340
|
@@ -191,19 +191,19 @@ export const getBodyDataFunc = (
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
col: 'col2',
|
|
194
|
-
text: $binary.round(datastore.capacity.capacity_mb
|
|
194
|
+
text: $binary.round(datastore.capacity.capacity_mb, false, lang)
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
col: 'col3',
|
|
198
|
-
text: $binary.round(datastore.capacity.provisioned_mb
|
|
198
|
+
text: $binary.round(datastore.capacity.provisioned_mb, false, lang)
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
col: 'col4',
|
|
202
|
-
text: $binary.round(datastore.capacity.free_mb
|
|
202
|
+
text: $binary.round(datastore.capacity.free_mb, false, lang)
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
col: 'col5',
|
|
206
|
-
text: $binary.round(datastore.capacity.used_mb
|
|
206
|
+
text: $binary.round(datastore.capacity.used_mb, false, lang)
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
col: 'col6',
|
|
@@ -83,7 +83,7 @@ export const bodyItems = (
|
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
key: 'col2',
|
|
86
|
-
text: $binary.round(datastore.capacity[tableKeys[2]]
|
|
86
|
+
text: $binary.round(datastore.capacity[tableKeys[2]], false, lang),
|
|
87
87
|
id: datastore.id,
|
|
88
88
|
testId: `backup-datastore-table-item-${datastore.id}`,
|
|
89
89
|
data: {
|
|
@@ -93,7 +93,7 @@ export const bodyItems = (
|
|
|
93
93
|
{
|
|
94
94
|
key: 'col3',
|
|
95
95
|
text: $binary.round(
|
|
96
|
-
datastore.capacity[tableKeys[3]]
|
|
96
|
+
datastore.capacity[tableKeys[3]],
|
|
97
97
|
false,
|
|
98
98
|
lang
|
|
99
99
|
),
|
|
@@ -105,7 +105,7 @@ export const bodyItems = (
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
key: 'col4',
|
|
108
|
-
text: $binary.round(datastore.capacity[tableKeys[4]]
|
|
108
|
+
text: $binary.round(datastore.capacity[tableKeys[4]], false, lang),
|
|
109
109
|
id: datastore.id,
|
|
110
110
|
testId: `backup-datastore-table-item-${datastore.id}`,
|
|
111
111
|
data: {
|
|
@@ -114,7 +114,7 @@ export const bodyItems = (
|
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
key: 'col5',
|
|
117
|
-
text: $binary.round(datastore.capacity[tableKeys[5]]
|
|
117
|
+
text: $binary.round(datastore.capacity[tableKeys[5]], false, lang),
|
|
118
118
|
id: datastore.id,
|
|
119
119
|
testId: `backup-datastore-table-item-${datastore.id}`,
|
|
120
120
|
data: {
|
|
@@ -2,12 +2,3 @@ export enum UI_E_SchedulerRunStatus {
|
|
|
2
2
|
RUNNING = 'this task has been started',
|
|
3
3
|
SUCCESS = 'success',
|
|
4
4
|
}
|
|
5
|
-
|
|
6
|
-
export enum E_SchedulerFrequencyModeLocale {
|
|
7
|
-
Once = 'once',
|
|
8
|
-
Startup = 'afterVCenterStartup',
|
|
9
|
-
Hourly = 'hourly',
|
|
10
|
-
Daily = 'daily',
|
|
11
|
-
Weekly = 'weekly',
|
|
12
|
-
Monthly = 'monthly',
|
|
13
|
-
}
|
|
@@ -82,18 +82,16 @@
|
|
|
82
82
|
<ui-icon name="vertical-dotes" width="20" height="20" />
|
|
83
83
|
</span>
|
|
84
84
|
</ui-button>
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/>
|
|
96
|
-
</Teleport>
|
|
85
|
+
<ui-dropdown
|
|
86
|
+
:show="actionsShowId === item.data.id"
|
|
87
|
+
:test-id="`event-table-action-dropdown-${item.data.id}`"
|
|
88
|
+
:items="schedulerDropActions"
|
|
89
|
+
:elem-id="`event-table-action-${item.data.id}`"
|
|
90
|
+
width="max-content"
|
|
91
|
+
left
|
|
92
|
+
@select="onSelectAction"
|
|
93
|
+
@hide="onHideActionsDropdown"
|
|
94
|
+
/>
|
|
97
95
|
</div>
|
|
98
96
|
</template>
|
|
99
97
|
|
|
@@ -58,10 +58,7 @@ const getTasks = async (): Promise<void> => {
|
|
|
58
58
|
sortBy: sort.value || '',
|
|
59
59
|
filter: filter.value || '',
|
|
60
60
|
}
|
|
61
|
-
await $store.dispatch('tasks/A_GET_TASKS',
|
|
62
|
-
data: payload,
|
|
63
|
-
project: props.project,
|
|
64
|
-
})
|
|
61
|
+
await $store.dispatch('tasks/A_GET_TASKS', payload)
|
|
65
62
|
}
|
|
66
63
|
const onUpdatePagination = (event: UI_I_Pagination): void => {
|
|
67
64
|
pagination.value = event
|
|
@@ -67,30 +67,28 @@
|
|
|
67
67
|
<ui-icon name="vertical-dotes" width="20" height="20" />
|
|
68
68
|
</span>
|
|
69
69
|
</ui-button>
|
|
70
|
-
<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
>
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</ui-dropdown>
|
|
93
|
-
</Teleport>
|
|
70
|
+
<ui-dropdown
|
|
71
|
+
:show="actionsShowId === item.data.id"
|
|
72
|
+
:test-id="`data-table-task-dropdown-${item.data.id}`"
|
|
73
|
+
:items="actions"
|
|
74
|
+
:elem-id="`data-table-task-action-${item.data.id}`"
|
|
75
|
+
width="max-content"
|
|
76
|
+
left
|
|
77
|
+
@select="onSelectAction(item.data.target, $event)"
|
|
78
|
+
@hide="onHideActionsDropdown"
|
|
79
|
+
>
|
|
80
|
+
<template #row="{ item: dropMenu }">
|
|
81
|
+
<ui-icon
|
|
82
|
+
v-if="dropMenu.iconName === 'hide'"
|
|
83
|
+
name="password-hide"
|
|
84
|
+
width="16"
|
|
85
|
+
height="16"
|
|
86
|
+
/>
|
|
87
|
+
<span class="action-text">
|
|
88
|
+
{{ dropMenu.text }}
|
|
89
|
+
</span>
|
|
90
|
+
</template>
|
|
91
|
+
</ui-dropdown>
|
|
94
92
|
</div>
|
|
95
93
|
</template>
|
|
96
94
|
|
|
@@ -52,14 +52,10 @@ const props = defineProps<{
|
|
|
52
52
|
</style>
|
|
53
53
|
|
|
54
54
|
<style scoped lang="scss">
|
|
55
|
-
.
|
|
55
|
+
.fill-parent {
|
|
56
56
|
&.dragging {
|
|
57
57
|
.gutter-vertical.gutter {
|
|
58
|
-
background-color: var(--
|
|
59
|
-
|
|
60
|
-
&::before {
|
|
61
|
-
background-color: var(--new-gutter-active-before-bg-color);
|
|
62
|
-
}
|
|
58
|
+
background-color: var(--gutter-active-bg-color);
|
|
63
59
|
}
|
|
64
60
|
}
|
|
65
61
|
|
|
@@ -99,11 +95,11 @@ const props = defineProps<{
|
|
|
99
95
|
//}
|
|
100
96
|
|
|
101
97
|
&:hover {
|
|
102
|
-
background-color: var(--
|
|
98
|
+
background-color: var(--gutter-hover-bg-color);
|
|
103
99
|
cursor: row-resize;
|
|
104
100
|
|
|
105
101
|
&:before {
|
|
106
|
-
background-color: var(--
|
|
102
|
+
background-color: var(--gutter-handler-active-bg-color);
|
|
107
103
|
}
|
|
108
104
|
}
|
|
109
105
|
|
|
@@ -116,9 +112,8 @@ const props = defineProps<{
|
|
|
116
112
|
transition-duration: 0.25s;
|
|
117
113
|
width: 24px;
|
|
118
114
|
height: 2px;
|
|
119
|
-
left: 50
|
|
120
|
-
top: 50
|
|
121
|
-
transform: translate(-50%, -50%);
|
|
115
|
+
left: calc(50% - 12px);
|
|
116
|
+
top: calc(50% - 1px);
|
|
122
117
|
border-radius: 4px;
|
|
123
118
|
}
|
|
124
119
|
}
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
<div ref="subTitleBlockName">
|
|
56
56
|
<div class="subtitle-block">
|
|
57
57
|
<div
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
id="name-alert-wrapper"
|
|
59
|
+
:class="[{ 'mb-4': !isNameAlertWrapperEmpty }]"
|
|
60
60
|
></div>
|
|
61
61
|
<ui-wizard-subtitle
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
:sub-title="
|
|
63
|
+
localization.vmWizard.specifyUniqueNameAndTargetLocationForVm
|
|
64
|
+
"
|
|
65
65
|
/>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
@@ -153,8 +153,7 @@
|
|
|
153
153
|
:datastore="props.datastore"
|
|
154
154
|
:is-datastore-loading="props.isDatastoreLoading"
|
|
155
155
|
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
156
|
-
:storage="
|
|
157
|
-
@change-storage="setSelectedStorageIdLocal"
|
|
156
|
+
:storage="props.vmtSettings?.storage"
|
|
158
157
|
@submit="emits('change-storage', $event)"
|
|
159
158
|
@has-errors="isStorageAlertWrapperEmpty = $event"
|
|
160
159
|
/>
|
|
@@ -594,20 +593,6 @@ const isNameAlertWrapperEmpty = ref<boolean>(false)
|
|
|
594
593
|
// const isComputeResourceAlertWrapperEmpty = ref<boolean>(false)
|
|
595
594
|
const isStorageAlertWrapperEmpty = ref<boolean>(false)
|
|
596
595
|
const isCompatibilityAlertWrapperEmpty = ref<boolean>(false)
|
|
597
|
-
|
|
598
|
-
const storageLocal = computed<UI_I_DatastoreTableItem | undefined>(() => {
|
|
599
|
-
return selectedStorageLocal.value ?? props.vmtSettings?.storage
|
|
600
|
-
})
|
|
601
|
-
|
|
602
|
-
/* TODO: В дальнейшем необходимо вынести все данные наружу и передавать его через v-model */
|
|
603
|
-
// рефакторинг. При возврате на шаг выбора хранилища ранее выбранное хранилище не отображается как выбранное.
|
|
604
|
-
// Для хранилища в v-model необходимо сохранять ID хранилища, а не ключ индекса.
|
|
605
|
-
const selectedStorageLocal = ref<UI_I_DatastoreTableItem | null>(null)
|
|
606
|
-
const setSelectedStorageIdLocal = (datastore: UI_I_DatastoreTableItem) => {
|
|
607
|
-
selectedStorageLocal.value = {
|
|
608
|
-
id: datastore.id,
|
|
609
|
-
} as UI_I_DatastoreTableItem
|
|
610
|
-
}
|
|
611
596
|
</script>
|
|
612
597
|
|
|
613
598
|
<style>
|
|
@@ -9,7 +9,9 @@ import type { UI_I_StatusData } from '~/components/common/vm/actions/common/sele
|
|
|
9
9
|
import { datastoreLocalizationByState } from '~/components/common/lib/config/states'
|
|
10
10
|
import { getStatus } from '~/components/common/vm/actions/common/select/storage/new/lib/utils/utils'
|
|
11
11
|
|
|
12
|
-
export const tableDataFunc = (
|
|
12
|
+
export const tableDataFunc = (
|
|
13
|
+
localization: UI_I_Localization
|
|
14
|
+
): UI_I_DataTable => ({
|
|
13
15
|
id: 'select-storage',
|
|
14
16
|
header: [
|
|
15
17
|
{
|
|
@@ -29,7 +31,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
29
31
|
text: localization.inventorySummary.state,
|
|
30
32
|
isSortable: false,
|
|
31
33
|
sort: 'asc',
|
|
32
|
-
sortColumn:
|
|
34
|
+
sortColumn: true,
|
|
33
35
|
width: '160px',
|
|
34
36
|
show: true,
|
|
35
37
|
filter: true,
|
|
@@ -40,7 +42,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
40
42
|
text: localization.common.capacity,
|
|
41
43
|
isSortable: false,
|
|
42
44
|
sort: 'asc',
|
|
43
|
-
sortColumn:
|
|
45
|
+
sortColumn: true,
|
|
44
46
|
width: '150px',
|
|
45
47
|
show: true,
|
|
46
48
|
filter: true,
|
|
@@ -51,7 +53,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
51
53
|
text: localization.common.provisioned,
|
|
52
54
|
isSortable: false,
|
|
53
55
|
sort: 'asc',
|
|
54
|
-
sortColumn:
|
|
56
|
+
sortColumn: true,
|
|
55
57
|
width: '150px',
|
|
56
58
|
show: true,
|
|
57
59
|
filter: true,
|
|
@@ -62,7 +64,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
62
64
|
text: localization.common.free,
|
|
63
65
|
isSortable: false,
|
|
64
66
|
sort: 'asc',
|
|
65
|
-
sortColumn:
|
|
67
|
+
sortColumn: true,
|
|
66
68
|
width: '150px',
|
|
67
69
|
show: true,
|
|
68
70
|
filter: true,
|
|
@@ -73,7 +75,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
73
75
|
text: localization.common.used,
|
|
74
76
|
isSortable: false,
|
|
75
77
|
sort: 'asc',
|
|
76
|
-
sortColumn:
|
|
78
|
+
sortColumn: true,
|
|
77
79
|
width: '150px',
|
|
78
80
|
show: true,
|
|
79
81
|
filter: true,
|
|
@@ -84,7 +86,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
84
86
|
text: localization.common.type,
|
|
85
87
|
isSortable: false,
|
|
86
88
|
sort: 'asc',
|
|
87
|
-
sortColumn:
|
|
89
|
+
sortColumn: true,
|
|
88
90
|
width: '120px',
|
|
89
91
|
show: true,
|
|
90
92
|
filter: true,
|
|
@@ -95,7 +97,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
95
97
|
text: localization.common.thinProvisioning,
|
|
96
98
|
isSortable: false,
|
|
97
99
|
sort: 'asc',
|
|
98
|
-
sortColumn:
|
|
100
|
+
sortColumn: true,
|
|
99
101
|
width: '160px',
|
|
100
102
|
show: true,
|
|
101
103
|
filter: true,
|
|
@@ -106,7 +108,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
106
108
|
text: localization.common.access,
|
|
107
109
|
isSortable: false,
|
|
108
110
|
sort: 'asc',
|
|
109
|
-
sortColumn:
|
|
111
|
+
sortColumn: true,
|
|
110
112
|
width: '120px',
|
|
111
113
|
show: true,
|
|
112
114
|
filter: true,
|
|
@@ -117,7 +119,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
117
119
|
text: localization.common.hardwareAcceleration,
|
|
118
120
|
isSortable: false,
|
|
119
121
|
sort: 'asc',
|
|
120
|
-
sortColumn:
|
|
122
|
+
sortColumn: true,
|
|
121
123
|
width: '200px',
|
|
122
124
|
show: true,
|
|
123
125
|
filter: true,
|
|
@@ -128,7 +130,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
128
130
|
text: localization.common.driverType,
|
|
129
131
|
isSortable: false,
|
|
130
132
|
sort: 'asc',
|
|
131
|
-
sortColumn:
|
|
133
|
+
sortColumn: true,
|
|
132
134
|
width: '150px',
|
|
133
135
|
show: true,
|
|
134
136
|
filter: true,
|
|
@@ -139,7 +141,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
139
141
|
text: localization.common.device,
|
|
140
142
|
isSortable: false,
|
|
141
143
|
sort: 'asc',
|
|
142
|
-
sortColumn:
|
|
144
|
+
sortColumn: true,
|
|
143
145
|
width: '150px',
|
|
144
146
|
show: true,
|
|
145
147
|
filter: true,
|
|
@@ -150,7 +152,7 @@ export const tableDataFunc = (localization: UI_I_Localization): UI_I_DataTable =
|
|
|
150
152
|
text: localization.common.storageIoControl,
|
|
151
153
|
isSortable: false,
|
|
152
154
|
sort: 'asc',
|
|
153
|
-
sortColumn:
|
|
155
|
+
sortColumn: true,
|
|
154
156
|
width: '180px',
|
|
155
157
|
show: true,
|
|
156
158
|
filter: true,
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
:sub-title="props.subTitle"
|
|
5
5
|
:description="props.description"
|
|
6
6
|
:modal-texts="props.modalTexts"
|
|
7
|
-
:loading="props.isLoading"
|
|
8
7
|
@hide-modal="emits('hide')"
|
|
9
8
|
@confirm="emits('confirm')"
|
|
10
9
|
>
|
|
@@ -23,11 +22,9 @@ const props = withDefaults(
|
|
|
23
22
|
subTitle: string
|
|
24
23
|
description: string
|
|
25
24
|
modalTexts?: UI_I_ModalTexts
|
|
26
|
-
isLoading?: boolean
|
|
27
25
|
}>(),
|
|
28
26
|
{
|
|
29
27
|
modalTexts: undefined,
|
|
30
|
-
isLoading: false
|
|
31
28
|
}
|
|
32
29
|
)
|
|
33
30
|
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
>
|
|
8
8
|
<tbody>
|
|
9
9
|
<tr>
|
|
10
|
-
<td class="left"
|
|
10
|
+
<td class="left">{{ localization.common.name }}</td>
|
|
11
11
|
<td class="left snapshot-name-label" data-id="vm-snapshot-name">
|
|
12
12
|
{{ detailData.name }}
|
|
13
13
|
</td>
|
|
14
14
|
</tr>
|
|
15
15
|
<tr>
|
|
16
|
-
<td class="left"
|
|
16
|
+
<td class="left">{{ localization.common.description }}</td>
|
|
17
17
|
<td
|
|
18
18
|
class="left snapshot-name-label"
|
|
19
19
|
data-id="vm-snapshot-description"
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
</td>
|
|
23
23
|
</tr>
|
|
24
24
|
<tr>
|
|
25
|
-
<td class="left"
|
|
25
|
+
<td class="left">{{ localization.snapshots.timestamp }}</td>
|
|
26
26
|
<td class="left snapshot-name-label" data-id="vm-snapshot-timestamp">
|
|
27
27
|
{{ detailData.timestamp }}
|
|
28
28
|
</td>
|
|
29
29
|
</tr>
|
|
30
30
|
<tr>
|
|
31
|
-
<td class="left"
|
|
31
|
+
<td class="left">{{ localization.common.size }}</td>
|
|
32
32
|
<td class="left snapshot-name-label">{{ detailData.size }}</td>
|
|
33
33
|
</tr>
|
|
34
34
|
<tr>
|
|
35
|
-
<td class="left"
|
|
35
|
+
<td class="left">
|
|
36
36
|
{{ localization.common.snapshotTheVirtualMachinesMemory }}
|
|
37
37
|
</td>
|
|
38
38
|
<td class="left snapshot-name-label" data-id="vm-snapshot-of-memory">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</td>
|
|
41
41
|
</tr>
|
|
42
42
|
<tr>
|
|
43
|
-
<td class="left"
|
|
43
|
+
<td class="left">
|
|
44
44
|
{{ localization.common.quiesceGuestFileSystem }}
|
|
45
45
|
</td>
|
|
46
46
|
<td
|
|
@@ -256,10 +256,4 @@ const onCreateDatastore = (): void => emits('submit')
|
|
|
256
256
|
padding: 10px 12px;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
:deep(.ui-wizard-content-right-container) {
|
|
260
|
-
padding: 0 30px;
|
|
261
|
-
}
|
|
262
|
-
:deep(.ui-wizard-subtitle-container) + *, :deep(.ui-wizard-subtitle-container) {
|
|
263
|
-
padding-left: 2px;
|
|
264
|
-
}
|
|
265
259
|
</style>
|
|
@@ -618,20 +618,9 @@ const finalValidationFunc = async (
|
|
|
618
618
|
const stepId = wizard.getStepIdByFieldName(fieldName)
|
|
619
619
|
|
|
620
620
|
if (stepId !== -1) {
|
|
621
|
-
let message = ''
|
|
622
|
-
|
|
623
|
-
if (validationFields[fieldName]) {
|
|
624
|
-
message = `${validationFields[
|
|
625
|
-
fieldName
|
|
626
|
-
][0].toUpperCase()}${validationFields[fieldName].substring(1)}`
|
|
627
|
-
|
|
628
|
-
message =
|
|
629
|
-
message.charAt(message.length - 1) !== '.' ? message + '.' : message
|
|
630
|
-
}
|
|
631
|
-
|
|
632
621
|
stepHasError = wizard.setValidation(stepId, fieldName, {
|
|
633
|
-
fieldMessage:
|
|
634
|
-
alertMessage:
|
|
622
|
+
fieldMessage: validationFields[fieldName],
|
|
623
|
+
alertMessage: validationFields[fieldName],
|
|
635
624
|
})
|
|
636
625
|
}
|
|
637
626
|
}
|