bfg-common 1.4.799 → 1.4.800
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 +31 -14
- package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-4.svg +6 -1
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-1.svg +30 -13
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-4.svg +6 -1
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +33 -8
- package/assets/localization/local_en.json +33 -8
- package/assets/localization/local_hy.json +33 -8
- package/assets/localization/local_kk.json +34 -9
- package/assets/localization/local_ru.json +43 -18
- package/assets/localization/local_zh.json +33 -8
- package/assets/scss/clarity/local_ar.json +6 -3
- package/assets/scss/common/icons/icons-1.scss +4 -4
- package/components/atoms/autocomplete/Autocomplete.vue +68 -12
- package/components/atoms/select/TheSelect.vue +10 -1
- package/components/atoms/table/dataGrid/DataGrid.vue +12 -4
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +4 -1
- package/components/atoms/table/dataGrid/lib/utils/export.ts +13 -13
- package/components/atoms/tabs/VerticalTabs.vue +11 -6
- package/components/common/browse/blocks/lib/models/types.ts +1 -1
- package/components/common/browse/lib/models/interfaces.ts +5 -5
- package/components/common/chartOptionsModal/counters/timespan/form/Form.vue +544 -544
- package/components/common/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +116 -116
- package/components/common/context/Context.vue +16 -4
- package/components/common/context/recursion/Recursion.vue +2 -1
- package/components/common/context/recursion/RecursionNew.vue +57 -31
- package/components/common/context/recursion/RecursionOld.vue +33 -19
- 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/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 +7 -7
- 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/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/feedback/Buttons.vue +2 -2
- package/components/common/feedback/Message.vue +1 -0
- package/components/common/feedback/VisitPortal.vue +5 -1
- package/components/common/layout/theHeader/feedback/new/New.vue +29 -14
- package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +34 -9
- package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +17 -6
- package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -0
- package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
- package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +22 -6
- package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +17 -15
- package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +1 -1
- package/components/common/mainNavigationPanel/MainNavigationPanel.vue +3 -2
- package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -1
- package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +1 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/Notification.vue +7 -7
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +95 -95
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +463 -456
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +389 -387
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +8 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +94 -94
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +66 -66
- package/components/common/pages/home/headline/Headline.vue +3 -2
- package/components/common/pages/home/headline/HeadlineNew.vue +1 -1
- package/components/common/pages/home/headline/HeadlineOld.vue +5 -0
- package/components/common/pages/home/widgets/vms/VmsNew.vue +1 -1
- package/components/common/pages/packages/Packages.vue +208 -0
- package/components/common/pages/packages/lib/config/actions.ts +59 -0
- package/components/common/pages/packages/lib/models/types.ts +8 -0
- package/components/common/pages/packages/tableView/TableView.vue +120 -0
- package/components/common/pages/packages/tableView/lib/config/configTable.ts +136 -0
- package/components/common/pages/packages/tableView/lib/config/tableKey.ts +14 -0
- package/components/common/pages/packages/tableView/lib/models/types.ts +12 -0
- package/components/common/pages/shortcuts/Shortcuts.vue +1 -1
- package/components/common/pages/tasks/Tasks.vue +23 -8
- package/components/common/pages/tasks/table/Table.vue +66 -16
- package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +27 -10
- package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +28 -12
- package/components/common/pages/tasks/table/lib/config/config.ts +11 -11
- package/components/common/select/radio/RadioGroup.vue +3 -3
- package/components/common/selectLanguage/SelectLanguage.vue +29 -25
- package/components/common/selectLanguage/lib/config/config.ts +1 -0
- package/components/common/split/horizontal/HorizontalNew.vue +42 -24
- package/components/common/split/horizontal/HorizontalOld.vue +43 -13
- package/components/common/vm/actions/add/Add.vue +6 -1
- package/components/common/vm/actions/clone/Clone.vue +8 -3
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +4 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +6 -4
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +26 -10
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +12 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +6 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +4 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +6 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +9 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +3 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +3 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +87 -24
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +14 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +9 -7
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +0 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +43 -12
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoOld.vue +50 -25
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +5 -7
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +64 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoOld.vue +60 -19
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +11 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +16 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +59 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridOld.vue +60 -7
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionOld.vue +1 -1
- package/components/common/vm/actions/common/lib/config/capabilities.ts +1 -1
- package/components/common/vm/actions/editSettings/EditSettings.vue +4 -0
- package/components/common/vm/actions/editSettings/EditSettingsOld.vue +2 -0
- package/components/common/vm/actions/editSettings/new/New.vue +2 -0
- package/components/common/wizards/datastore/add/Add.vue +4 -4
- package/components/common/wizards/datastore/add/lib/config/steps.ts +14 -14
- package/components/common/wizards/datastore/add/lib/validations.ts +9 -9
- package/components/common/wizards/datastore/add/nfs/Nfs.vue +6 -9
- package/components/common/wizards/vm/migrate/Migrate.vue +12 -12
- package/components/common/wizards/vm/migrate/select/computeResource/ComputeResource.vue +1 -1
- package/composables/useLocal.ts +3 -1
- package/composables/useLocalStorage.ts +1 -1
- package/lib/models/store/vm/interfaces.ts +11 -0
- package/lib/models/table/interfaces.ts +1 -0
- package/package.json +3 -3
- package/store/tasks/actions.ts +2 -1
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
:state="props.state"
|
|
19
19
|
:vm-name-old="props.vmSettings?.name"
|
|
20
20
|
:passthrough-devices="props.passthroughDevices"
|
|
21
|
+
:mediated-devices="props.mediatedDevices"
|
|
21
22
|
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
22
23
|
:customize-hardware-submit="customizeHardwareSubmit"
|
|
23
24
|
@hide="emits('hide')"
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
:state="props.state"
|
|
52
53
|
:vm-name-old="props.vmSettings?.name"
|
|
53
54
|
:passthrough-devices="props.passthroughDevices"
|
|
55
|
+
:mediated-devices="props.mediatedDevices"
|
|
54
56
|
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
55
57
|
:customize-hardware-submit="customizeHardwareSubmit"
|
|
56
58
|
@hide="emits('hide')"
|
|
@@ -72,6 +74,7 @@ import type { UI_T_Project } from '~/lib/models/types'
|
|
|
72
74
|
import type { UI_I_FileTreeNode } from '~/components/lib/models/interfaces'
|
|
73
75
|
import type { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
|
|
74
76
|
import type {
|
|
77
|
+
UI_I_MediatedDevice,
|
|
75
78
|
UI_I_PciDevice,
|
|
76
79
|
UI_I_VmSettings,
|
|
77
80
|
} from '~/lib/models/store/vm/interfaces'
|
|
@@ -111,6 +114,7 @@ const props = defineProps<{
|
|
|
111
114
|
getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
|
|
112
115
|
state?: string | number
|
|
113
116
|
passthroughDevices?: UI_I_PciDevice[]
|
|
117
|
+
mediatedDevices?: UI_I_MediatedDevice[]
|
|
114
118
|
capabilities?: UI_I_Capabilities
|
|
115
119
|
}>()
|
|
116
120
|
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
:error-validation-fields="props.errorValidationFields"
|
|
47
47
|
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
48
48
|
:passthrough-devices="props.passthroughDevices"
|
|
49
|
+
:mediated-devices="props.mediatedDevices"
|
|
49
50
|
:state="props.state"
|
|
50
51
|
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
51
52
|
:datastore="props.datastore"
|
|
@@ -112,6 +113,7 @@ const props = defineProps<{
|
|
|
112
113
|
state?: string | number
|
|
113
114
|
vmNameOld?: string
|
|
114
115
|
passthroughDevices?: UI_I_PciDevice[]
|
|
116
|
+
mediatedDevices?: any[]
|
|
115
117
|
getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
|
|
116
118
|
customizeHardwareSubmit?: null | Function
|
|
117
119
|
}>()
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
:error-validation-fields="props.errorValidationFields"
|
|
49
49
|
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
|
50
50
|
:passthrough-devices="props.passthroughDevices"
|
|
51
|
+
:mediated-devices="props.mediatedDevices"
|
|
51
52
|
:state="props.state"
|
|
52
53
|
:get-datastore-table-func="props.getDatastoreTableFunc"
|
|
53
54
|
:datastore="props.datastore"
|
|
@@ -118,6 +119,7 @@ const props = defineProps<{
|
|
|
118
119
|
state?: string | number
|
|
119
120
|
vmNameOld?: string
|
|
120
121
|
passthroughDevices?: UI_I_PciDevice[]
|
|
122
|
+
mediatedDevices?: any[]
|
|
121
123
|
getDatastoreTableFunc?: (payload: UI_I_TablePayload) => Promise<void>
|
|
122
124
|
customizeHardwareSubmit?: null | Function
|
|
123
125
|
}>()
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
show
|
|
5
5
|
:wizard="wizard"
|
|
6
6
|
:selected-scheme="selectedScheme"
|
|
7
|
-
:title="localization.newDatastore"
|
|
7
|
+
:title="localization.common.newDatastore"
|
|
8
8
|
:localization="localization"
|
|
9
9
|
class="add-datastore"
|
|
10
10
|
test-id="add-datastore-wizard"
|
|
@@ -118,7 +118,7 @@ const form = ref<UI_I_CreateDatastoreForm>({
|
|
|
118
118
|
lunDisk: [],
|
|
119
119
|
hosts: props.hostId ? [props?.hostId] : [],
|
|
120
120
|
type_code: E_DatastoreTypeKode[datastoreType.value],
|
|
121
|
-
nfsVersion: 'nfs-
|
|
121
|
+
nfsVersion: 'nfs-4.1',
|
|
122
122
|
readonly: false,
|
|
123
123
|
server: '',
|
|
124
124
|
folder: '',
|
|
@@ -174,12 +174,12 @@ const validationFunc = async (
|
|
|
174
174
|
stepHasError = nameValidation.stepHasError || lunDiskValidation.stepHasError
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
if (wizard.isValidateForStep(
|
|
177
|
+
if (wizard.isValidateForStep(4, currentStep.id, nextStep.id)) {
|
|
178
178
|
const nameValidation = await validation.checkDatastoreNameAsync(
|
|
179
179
|
localization.value,
|
|
180
180
|
value,
|
|
181
181
|
form.value,
|
|
182
|
-
|
|
182
|
+
4,
|
|
183
183
|
'name',
|
|
184
184
|
wizard,
|
|
185
185
|
props.project
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
-
import { UI_I_WizardStep } from '~/components/atoms/wizard/lib/models/interfaces'
|
|
1
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
2
|
+
import type { UI_I_WizardStep } from '~/components/atoms/wizard/lib/models/interfaces'
|
|
3
3
|
import { UI_E_WIZARD_STATUS } from '~/components/atoms/wizard/lib/models/enums'
|
|
4
4
|
|
|
5
5
|
export const stepsFunc = (
|
|
@@ -56,17 +56,17 @@ export const stepsFunc = (
|
|
|
56
56
|
testId: 'create-datastore-partition-configuration',
|
|
57
57
|
},
|
|
58
58
|
|
|
59
|
+
// {
|
|
60
|
+
// id: 4,
|
|
61
|
+
// title: localization.common.nfsVersion,
|
|
62
|
+
// subTitle: localization.common.selectNfsVersion,
|
|
63
|
+
// status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
64
|
+
// fields: {},
|
|
65
|
+
// isValid: true,
|
|
66
|
+
// testId: 'create-datastore-select-nfs-version',
|
|
67
|
+
// },
|
|
59
68
|
{
|
|
60
69
|
id: 4,
|
|
61
|
-
title: localization.common.nfsVersion,
|
|
62
|
-
subTitle: localization.common.selectNfsVersion,
|
|
63
|
-
status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
64
|
-
fields: {},
|
|
65
|
-
isValid: true,
|
|
66
|
-
testId: 'create-datastore-select-nfs-version',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: 5,
|
|
70
70
|
title: localization.common.nameAndConfiguration,
|
|
71
71
|
subTitle: localization.common.nameAndConfigurationDesc,
|
|
72
72
|
status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
@@ -89,7 +89,7 @@ export const stepsFunc = (
|
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
{
|
|
92
|
-
id:
|
|
92
|
+
id: 5,
|
|
93
93
|
title: localization.common.hostsAccessibility,
|
|
94
94
|
subTitle: localization.common.hostsAccessibilityDesc,
|
|
95
95
|
status: UI_E_WIZARD_STATUS.INACTIVE,
|
|
@@ -132,7 +132,7 @@ export const stepsFunc = (
|
|
|
132
132
|
export const stepsSchemeInitial: number[][] = [
|
|
133
133
|
[0, 1, 11], // Procurator Scheme for "local" type
|
|
134
134
|
[0, 2, 11], // Procurator Scheme for "shared-storm" type
|
|
135
|
-
[0, 4,
|
|
135
|
+
[0, 4, 11], // Procurator Scheme for "nfs" type
|
|
136
136
|
[0, 2, 11], // Sphere Scheme for "shared-storm" type
|
|
137
|
-
[0, 4, 5,
|
|
137
|
+
[0, 4, 5, 11], // Sphere Scheme for "nfs" type
|
|
138
138
|
]
|
|
@@ -108,12 +108,12 @@ export const checkNfsFolderSync = (
|
|
|
108
108
|
let stepHasError = false
|
|
109
109
|
|
|
110
110
|
if (!name) {
|
|
111
|
-
stepHasError = wizard.setValidation(
|
|
111
|
+
stepHasError = wizard.setValidation(4, 'folder', {
|
|
112
112
|
fieldMessage: localization.common.specifyFolderName,
|
|
113
113
|
alertMessage: '',
|
|
114
114
|
})
|
|
115
|
-
} else if (wizard.hasMessage(
|
|
116
|
-
value = wizard.removeValidation(
|
|
115
|
+
} else if (wizard.hasMessage(4, 'folder')) {
|
|
116
|
+
value = wizard.removeValidation(4, 'folder', value)
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
return {
|
|
@@ -131,12 +131,12 @@ export const checkNfsServerSync = (
|
|
|
131
131
|
let stepHasError = false
|
|
132
132
|
|
|
133
133
|
if (!name) {
|
|
134
|
-
stepHasError = wizard.setValidation(
|
|
134
|
+
stepHasError = wizard.setValidation(4, 'server', {
|
|
135
135
|
fieldMessage: localization.common.specifyServerName,
|
|
136
136
|
alertMessage: '',
|
|
137
137
|
})
|
|
138
|
-
} else if (wizard.hasMessage(
|
|
139
|
-
value = wizard.removeValidation(
|
|
138
|
+
} else if (wizard.hasMessage(4, 'server')) {
|
|
139
|
+
value = wizard.removeValidation(4, 'server', value)
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
return {
|
|
@@ -154,12 +154,12 @@ export const checkHostsAccessibilitySync = (
|
|
|
154
154
|
let stepHasError = false
|
|
155
155
|
|
|
156
156
|
if (!hosts.length) {
|
|
157
|
-
stepHasError = wizard.setValidation(
|
|
157
|
+
stepHasError = wizard.setValidation(5, 'hostsAccessibility', {
|
|
158
158
|
fieldMessage: '',
|
|
159
159
|
alertMessage: localization.common.selectLeastEntityContinue,
|
|
160
160
|
})
|
|
161
|
-
} else if (wizard.hasMessage(
|
|
162
|
-
value = wizard.removeValidation(
|
|
161
|
+
} else if (wizard.hasMessage(5, 'hostsAccessibility')) {
|
|
162
|
+
value = wizard.removeValidation(5, 'hostsAccessibility', value)
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
return {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="nfs-container">
|
|
3
|
-
<common-wizards-datastore-add-nfs-version
|
|
4
|
-
v-if="props.stepId === 4"
|
|
5
|
-
v-model="model.nfsVersion"
|
|
6
|
-
|
|
3
|
+
<!-- <common-wizards-datastore-add-nfs-version-->
|
|
4
|
+
<!-- v-if="props.stepId === 4"-->
|
|
5
|
+
<!-- v-model="model.nfsVersion"-->
|
|
6
|
+
<!-- />-->
|
|
7
7
|
|
|
8
8
|
<common-wizards-datastore-add-nfs-configuration
|
|
9
|
-
v-show="props.stepId ===
|
|
9
|
+
v-show="props.stepId === 4"
|
|
10
10
|
v-model="model"
|
|
11
11
|
:project="props.project"
|
|
12
12
|
:alert-messages="props.alertMessages"
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
|
|
27
27
|
<script lang="ts" setup>
|
|
28
28
|
import type {
|
|
29
|
-
UI_I_Localization,
|
|
30
29
|
UI_I_ArbitraryObject,
|
|
31
30
|
} from '~/lib/models/interfaces'
|
|
32
31
|
import type { UI_T_Project } from '~/lib/models/types'
|
|
@@ -45,10 +44,8 @@ const emits = defineEmits<{
|
|
|
45
44
|
(event: 'hide-alert', value: number): void
|
|
46
45
|
}>()
|
|
47
46
|
|
|
48
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
49
|
-
|
|
50
47
|
const showHostAccessibility = computed<boolean>(() => {
|
|
51
|
-
return props.project === 'sphere' && props.stepId ===
|
|
48
|
+
return props.project === 'sphere' && props.stepId === 5
|
|
52
49
|
})
|
|
53
50
|
</script>
|
|
54
51
|
|
|
@@ -186,18 +186,18 @@ const validationFunc = async (
|
|
|
186
186
|
): Promise<UI_I_ValidationReturn> => {
|
|
187
187
|
let stepHasError = false
|
|
188
188
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
189
|
+
if (wizard.isValidateForStep(3, currentStep.id, nextStep.id)) {
|
|
190
|
+
const nameValidation = await validation.checkSelectedResourceSync(
|
|
191
|
+
localization.value,
|
|
192
|
+
form.value.resource,
|
|
193
|
+
wizard,
|
|
194
|
+
value
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
value = nameValidation.newValue
|
|
198
|
+
|
|
199
|
+
stepHasError = nameValidation.stepHasError
|
|
200
|
+
}
|
|
201
201
|
|
|
202
202
|
if (wizard.isValidateForStep(4, currentStep.id, nextStep.id)) {
|
|
203
203
|
const nameValidation = await validation.checkSelectedDatastoreSync(
|
|
@@ -53,9 +53,9 @@ import type { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/model
|
|
|
53
53
|
import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
|
|
54
54
|
import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
|
|
55
55
|
import type { UI_T_SelectComputeResourceTabType } from '~/components/common/wizards/vm/migrate/select/storage/lib/models/types'
|
|
56
|
-
import type { UI_E_ComputeResourceTabKamelKeys } from '~/components/common/wizards/vm/migrate/select/computeResource/lib/models/enums'
|
|
57
56
|
import type { UI_I_MigrateFormLocal } from '~/components/common/wizards/vm/migrate/lib/models/interfaces'
|
|
58
57
|
import type { UI_I_SelectedTableDataKeys } from '~/components/common/wizards/vm/migrate/select/computeResource/lib/models/interfaces'
|
|
58
|
+
import { UI_E_ComputeResourceTabKamelKeys } from '~/components/common/wizards/vm/migrate/select/computeResource/lib/models/enums'
|
|
59
59
|
import { vmMigrateComputeResourceTabsFunc } from '~/components/common/wizards/vm/migrate/select/computeResource/lib/config/tabsPannel'
|
|
60
60
|
|
|
61
61
|
const props = defineProps<{
|
package/composables/useLocal.ts
CHANGED
|
@@ -19,7 +19,9 @@ const locals = {
|
|
|
19
19
|
export const useLocal = (): UI_I_Localization => {
|
|
20
20
|
const config = useRuntimeConfig()
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
let code: string = config?.public?.LOCALIZATION_CODE?.toLowerCase() || 'ru'
|
|
23
|
+
|
|
24
|
+
if (code === 'ar' && !useLocalStorage('rtl')) code = 'ru'
|
|
23
25
|
|
|
24
26
|
document.getElementsByTagName('html')[0].setAttribute('lang', code)
|
|
25
27
|
|
|
@@ -215,6 +215,17 @@ export interface API_UI_I_PciDevice {
|
|
|
215
215
|
vendor_name: string
|
|
216
216
|
}
|
|
217
217
|
export interface UI_I_PciDevice extends API_UI_I_PciDevice {}
|
|
218
|
+
export interface UI_I_MediatedDevice {
|
|
219
|
+
available_instances: number
|
|
220
|
+
framebuffer: string
|
|
221
|
+
heads: number
|
|
222
|
+
human_readable: string
|
|
223
|
+
max_instance: number
|
|
224
|
+
max_resolution: string
|
|
225
|
+
name: string
|
|
226
|
+
profile_name: string
|
|
227
|
+
root_device: string
|
|
228
|
+
}
|
|
218
229
|
|
|
219
230
|
export interface API_UI_I_VmReadyToComplete {
|
|
220
231
|
message: string
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bfg-common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.800",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "nuxt build",
|
|
7
7
|
"dev": "nuxt dev --port=3002",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@nuxtjs/eslint-config-typescript": "^12.0.0",
|
|
35
35
|
"@vueuse/components": "^10.1.2",
|
|
36
36
|
"date-fns": "^2.29.3",
|
|
37
|
-
"bfg-nuxt-3-graph": "1.0.
|
|
38
|
-
"bfg-uikit": "1.0.
|
|
37
|
+
"bfg-nuxt-3-graph": "1.0.17",
|
|
38
|
+
"bfg-uikit": "1.0.333",
|
|
39
39
|
"html2canvas": "^1.4.1",
|
|
40
40
|
"prettier-eslint": "^15.0.1"
|
|
41
41
|
}
|
package/store/tasks/actions.ts
CHANGED
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
},
|
|
31
31
|
payload: UI_I_DataTableQuery
|
|
32
32
|
): Promise<API_UI_I_Error | void> {
|
|
33
|
-
const { page, pageSize, sortBy } = payload
|
|
33
|
+
const { page, pageSize, sortBy, filter } = payload
|
|
34
34
|
|
|
35
35
|
const query: UI_I_TableQuery = {
|
|
36
36
|
page_size: pageSize,
|
|
@@ -38,6 +38,7 @@ export default {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
if (sortBy) query.sortBy = sortBy
|
|
41
|
+
if (filter) query.filter = filter
|
|
41
42
|
|
|
42
43
|
const queryJson: string = JSON.stringify({ type: 'tasks', ...query })
|
|
43
44
|
const lastQuery: string = context.state.taskQuery || ''
|