bfg-common 1.4.799 → 1.4.801

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.
Files changed (157) hide show
  1. package/assets/img/icons/icons-sprite-dark-1.svg +31 -14
  2. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  3. package/assets/img/icons/icons-sprite-dark-4.svg +6 -1
  4. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  5. package/assets/img/icons/icons-sprite-light-1.svg +30 -13
  6. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  7. package/assets/img/icons/icons-sprite-light-4.svg +6 -1
  8. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  9. package/assets/localization/local_be.json +33 -8
  10. package/assets/localization/local_en.json +33 -8
  11. package/assets/localization/local_hy.json +33 -8
  12. package/assets/localization/local_kk.json +34 -9
  13. package/assets/localization/local_ru.json +43 -18
  14. package/assets/localization/local_zh.json +33 -8
  15. package/assets/scss/clarity/local_ar.json +6 -3
  16. package/assets/scss/common/icons/icons-1.scss +4 -4
  17. package/components/atoms/autocomplete/Autocomplete.vue +68 -12
  18. package/components/atoms/select/TheSelect.vue +10 -1
  19. package/components/atoms/table/dataGrid/DataGrid.vue +12 -4
  20. package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +4 -1
  21. package/components/atoms/table/dataGrid/lib/utils/export.ts +13 -13
  22. package/components/atoms/tabs/VerticalTabs.vue +11 -6
  23. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  24. package/components/common/browse/lib/models/interfaces.ts +5 -5
  25. package/components/common/chartOptionsModal/counters/timespan/form/Form.vue +544 -544
  26. package/components/common/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +116 -116
  27. package/components/common/context/Context.vue +16 -4
  28. package/components/common/context/recursion/Recursion.vue +2 -1
  29. package/components/common/context/recursion/RecursionNew.vue +57 -31
  30. package/components/common/context/recursion/RecursionOld.vue +33 -19
  31. package/components/common/diagramMain/Header.vue +211 -211
  32. package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
  33. package/components/common/diagramMain/lib/config/initial.ts +50 -50
  34. package/components/common/diagramMain/lib/models/types.ts +21 -21
  35. package/components/common/diagramMain/lib/utils/utils.ts +331 -331
  36. package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +330 -330
  37. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
  38. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +497 -497
  39. package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +812 -812
  40. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
  41. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
  42. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
  43. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
  44. package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +7 -7
  45. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
  46. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
  47. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +23 -23
  48. package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
  49. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
  50. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
  51. package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
  52. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
  53. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
  54. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
  55. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
  56. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
  57. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
  58. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
  59. package/components/common/diagramMain/port/Ports.vue +47 -47
  60. package/components/common/feedback/Buttons.vue +2 -2
  61. package/components/common/feedback/Message.vue +1 -0
  62. package/components/common/feedback/VisitPortal.vue +5 -1
  63. package/components/common/graph/Graph.vue +5 -11
  64. package/components/common/graph/GraphNew.vue +71 -0
  65. package/components/common/graph/GraphOld.vue +31 -0
  66. package/components/common/layout/theHeader/feedback/new/New.vue +29 -14
  67. package/components/common/layout/theHeader/feedback/new/additionalDetails/AdditionalDetails.vue +34 -9
  68. package/components/common/layout/theHeader/feedback/new/additionalDetails/Headline.vue +17 -6
  69. package/components/common/layout/theHeader/feedback/new/description/Description.vue +1 -0
  70. package/components/common/layout/theHeader/feedback/new/email/Email.vue +1 -1
  71. package/components/common/layout/theHeader/feedback/new/subtitle/Subtitle.vue +22 -6
  72. package/components/common/layout/theHeader/feedback/new/tabs/Tabs.vue +17 -15
  73. package/components/common/layout/theHeader/userMenu/modals/changePassword/ChangePasswordNew.vue +1 -1
  74. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +3 -2
  75. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +1 -1
  76. package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +1 -1
  77. package/components/common/monitor/advanced/tools/chartOptionsModal/Notification.vue +7 -7
  78. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +95 -95
  79. package/components/common/monitor/overview/Overview.vue +14 -28
  80. package/components/common/monitor/overview/OverviewNew.vue +138 -0
  81. package/components/common/monitor/overview/OverviewOld.vue +137 -0
  82. package/components/common/monitor/overview/filters/Filters.vue +35 -103
  83. package/components/common/monitor/overview/filters/FiltersNew.vue +122 -0
  84. package/components/common/monitor/overview/filters/FiltersOld.vue +151 -0
  85. package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +1 -1
  86. package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +463 -456
  87. package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +389 -387
  88. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +8 -0
  89. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +94 -94
  90. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +66 -66
  91. package/components/common/pages/home/headline/Headline.vue +3 -2
  92. package/components/common/pages/home/headline/HeadlineNew.vue +1 -1
  93. package/components/common/pages/home/headline/HeadlineOld.vue +5 -0
  94. package/components/common/pages/home/widgets/vms/VmsNew.vue +1 -1
  95. package/components/common/pages/packages/Packages.vue +208 -0
  96. package/components/common/pages/packages/lib/config/actions.ts +59 -0
  97. package/components/common/pages/packages/lib/models/types.ts +8 -0
  98. package/components/common/pages/packages/tableView/TableView.vue +120 -0
  99. package/components/common/pages/packages/tableView/lib/config/configTable.ts +136 -0
  100. package/components/common/pages/packages/tableView/lib/config/tableKey.ts +14 -0
  101. package/components/common/pages/packages/tableView/lib/models/types.ts +12 -0
  102. package/components/common/pages/shortcuts/Shortcuts.vue +1 -1
  103. package/components/common/pages/tasks/Tasks.vue +23 -8
  104. package/components/common/pages/tasks/table/Table.vue +66 -16
  105. package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +27 -10
  106. package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +28 -12
  107. package/components/common/pages/tasks/table/lib/config/config.ts +11 -11
  108. package/components/common/portlets/customAttributes/Portlet.vue +4 -4
  109. package/components/common/portlets/tag/TagAddNew.vue +4 -4
  110. package/components/common/select/radio/RadioGroup.vue +3 -3
  111. package/components/common/selectLanguage/SelectLanguage.vue +29 -25
  112. package/components/common/selectLanguage/lib/config/config.ts +1 -0
  113. package/components/common/split/horizontal/HorizontalNew.vue +42 -24
  114. package/components/common/split/horizontal/HorizontalOld.vue +43 -13
  115. package/components/common/vm/actions/add/Add.vue +6 -1
  116. package/components/common/vm/actions/clone/Clone.vue +8 -3
  117. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +4 -0
  118. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +6 -4
  119. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +26 -10
  120. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +12 -4
  121. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +6 -3
  122. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +4 -2
  123. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +6 -4
  124. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +9 -3
  125. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskNew.vue +3 -2
  126. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDiskOld.vue +3 -2
  127. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +87 -24
  128. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +14 -8
  129. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +9 -7
  130. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +0 -4
  131. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +43 -12
  132. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoOld.vue +50 -25
  133. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +5 -7
  134. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +64 -28
  135. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoOld.vue +60 -19
  136. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +11 -4
  137. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +16 -1
  138. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +59 -8
  139. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridOld.vue +60 -7
  140. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +1 -1
  141. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionOld.vue +1 -1
  142. package/components/common/vm/actions/common/lib/config/capabilities.ts +1 -1
  143. package/components/common/vm/actions/editSettings/EditSettings.vue +4 -0
  144. package/components/common/vm/actions/editSettings/EditSettingsOld.vue +2 -0
  145. package/components/common/vm/actions/editSettings/new/New.vue +2 -0
  146. package/components/common/wizards/datastore/add/Add.vue +4 -4
  147. package/components/common/wizards/datastore/add/lib/config/steps.ts +14 -14
  148. package/components/common/wizards/datastore/add/lib/validations.ts +9 -9
  149. package/components/common/wizards/datastore/add/nfs/Nfs.vue +6 -9
  150. package/components/common/wizards/vm/migrate/Migrate.vue +12 -12
  151. package/components/common/wizards/vm/migrate/select/computeResource/ComputeResource.vue +1 -1
  152. package/composables/useLocal.ts +3 -1
  153. package/composables/useLocalStorage.ts +1 -1
  154. package/lib/models/store/vm/interfaces.ts +11 -0
  155. package/lib/models/table/interfaces.ts +1 -0
  156. package/package.json +3 -3
  157. package/store/tasks/actions.ts +2 -1
@@ -5,12 +5,31 @@
5
5
  {{ localization.common.nvidiaGridGpuProfile }}
6
6
  </template>
7
7
  <template #stackBlockContent>
8
- <input
9
- :id="`nvidia-grid-${props.pciDeviceIndex}`"
10
- v-model="model"
11
- :data-id="`nvidia-grid-${props.pciDeviceIndex}-input`"
12
- type="text"
13
- />
8
+ <div>{{ localization.common.connectAnyFollowing }}:</div>
9
+ <div class="select">
10
+ <select
11
+ id="nvidia-grid"
12
+ v-model="model"
13
+ :data-id="`nvidia-grid-select-${props.pciDeviceIndex}`"
14
+ >
15
+ <option
16
+ v-for="item in props.options"
17
+ :key="item.value"
18
+ :value="item"
19
+ >
20
+ {{ item.text }}
21
+ </option>
22
+ </select>
23
+ </div>
24
+ <!-- <atoms-select-the-select-->
25
+ <!-- v-model="model"-->
26
+ <!-- :options="props.options"-->
27
+ <!-- :test-id="`nvidia-grid-select-${pciDeviceIndex}`"-->
28
+ <!-- >-->
29
+ <!-- <span class="text-uppercase">{{-->
30
+ <!-- localization.common.selectHardware-->
31
+ <!-- }}</span>-->
32
+ <!-- </atoms-select-the-select>-->
14
33
  </template>
15
34
  </atoms-stack-block>
16
35
  </div>
@@ -18,10 +37,12 @@
18
37
 
19
38
  <script lang="ts" setup>
20
39
  import type { UI_I_Localization } from '~/lib/models/interfaces'
40
+ import type { UI_I_Option } from '~/components/atoms/select/lib/models/interfaces'
21
41
 
22
- const model = defineModel<string>({required: true})
42
+ const model = defineModel<string>({ required: true })
23
43
 
24
44
  const props = defineProps<{
45
+ options: UI_I_Option[]
25
46
  pciDeviceIndex: number
26
47
  }>()
27
48
 
@@ -29,3 +50,35 @@ const localization = computed<UI_I_Localization>(() => useLocal())
29
50
  </script>
30
51
 
31
52
  <style lang="scss" scoped></style>
53
+
54
+ <!--<template>-->
55
+ <!-- <div>-->
56
+ <!-- <atoms-stack-block :has-children="false">-->
57
+ <!-- <template #stackBlockKey>-->
58
+ <!-- {{ localization.common.nvidiaGridGpuProfile }}-->
59
+ <!-- </template>-->
60
+ <!-- <template #stackBlockContent>-->
61
+ <!-- <input-->
62
+ <!-- :id="`nvidia-grid-${props.pciDeviceIndex}`"-->
63
+ <!-- v-model="model"-->
64
+ <!-- :data-id="`nvidia-grid-${props.pciDeviceIndex}-input`"-->
65
+ <!-- type="text"-->
66
+ <!-- />-->
67
+ <!-- </template>-->
68
+ <!-- </atoms-stack-block>-->
69
+ <!-- </div>-->
70
+ <!--</template>-->
71
+
72
+ <!--<script lang="ts" setup>-->
73
+ <!--import type { UI_I_Localization } from '~/lib/models/interfaces'-->
74
+
75
+ <!--const model = defineModel<string>({required: true})-->
76
+
77
+ <!--const props = defineProps<{-->
78
+ <!-- pciDeviceIndex: number-->
79
+ <!--}>()-->
80
+
81
+ <!--const localization = computed<UI_I_Localization>(() => useLocal())-->
82
+ <!--</script>-->
83
+
84
+ <!--<style lang="scss" scoped></style>-->
@@ -8,7 +8,7 @@
8
8
  v-model="modelLocal"
9
9
  :value="item.value"
10
10
  :label="item.text"
11
- :disabled="!!index"
11
+ :disabled="item.disabled"
12
12
  :test-id="`pci-device-radio-input-${props.pciDeviceIndex}-${index}`"
13
13
  />
14
14
  </div>
@@ -13,7 +13,7 @@
13
13
  v-model="model"
14
14
  type="radio"
15
15
  :value="item"
16
- :disabled="!!index"
16
+ :disabled="item.disabled"
17
17
  :data-id="`pci-device-radio-input-${props.pciDeviceIndex}-${index}`"
18
18
  />
19
19
  <label
@@ -342,5 +342,5 @@ export const capabilities: UI_I_Compatibility = {
342
342
  bus: {},
343
343
  cdromBus: {},
344
344
  maxCpus: 140,
345
- maxMemory: 262144, // 256 GB
345
+ maxMemory: 1_048_576, // 1024 GB
346
346
  }
@@ -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-3',
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(5, currentStep.id, nextStep.id)) {
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
- 5,
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: 6,
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, 5, 11], // Procurator Scheme for "nfs" type
135
+ [0, 4, 11], // Procurator Scheme for "nfs" type
136
136
  [0, 2, 11], // Sphere Scheme for "shared-storm" type
137
- [0, 4, 5, 6, 11], // Sphere Scheme for "nfs" type
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(5, 'folder', {
111
+ stepHasError = wizard.setValidation(4, 'folder', {
112
112
  fieldMessage: localization.common.specifyFolderName,
113
113
  alertMessage: '',
114
114
  })
115
- } else if (wizard.hasMessage(5, 'folder')) {
116
- value = wizard.removeValidation(5, 'folder', value)
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(5, 'server', {
134
+ stepHasError = wizard.setValidation(4, 'server', {
135
135
  fieldMessage: localization.common.specifyServerName,
136
136
  alertMessage: '',
137
137
  })
138
- } else if (wizard.hasMessage(5, 'server')) {
139
- value = wizard.removeValidation(5, 'server', value)
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(6, 'hostsAccessibility', {
157
+ stepHasError = wizard.setValidation(5, 'hostsAccessibility', {
158
158
  fieldMessage: '',
159
159
  alertMessage: localization.common.selectLeastEntityContinue,
160
160
  })
161
- } else if (wizard.hasMessage(6, 'hostsAccessibility')) {
162
- value = wizard.removeValidation(6, 'hostsAccessibility', value)
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 === 5"
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 === 6
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
- // 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
- // }
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<{
@@ -19,7 +19,9 @@ const locals = {
19
19
  export const useLocal = (): UI_I_Localization => {
20
20
  const config = useRuntimeConfig()
21
21
 
22
- const code: string = config?.public?.LOCALIZATION_CODE?.toLowerCase() || 'ru'
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
 
@@ -1,4 +1,4 @@
1
- const lastTimestamp = 1739185762963
1
+ const lastTimestamp = 1740651960445
2
2
 
3
3
  export const useLocalStorage = (
4
4
  name: string,
@@ -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
@@ -53,4 +53,5 @@ export interface UI_I_TablePayload extends UI_I_SchemaTablePayload {
53
53
  pagination: UI_I_Pagination
54
54
  type: any
55
55
  sortBy: string | null
56
+ search?: string
56
57
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.799",
4
+ "version": "1.4.801",
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.15",
38
- "bfg-uikit": "1.0.301",
37
+ "bfg-nuxt-3-graph": "1.0.17",
38
+ "bfg-uikit": "1.0.334",
39
39
  "html2canvas": "^1.4.1",
40
40
  "prettier-eslint": "^15.0.1"
41
41
  }
@@ -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 || ''