bfg-common 1.6.30 → 1.6.31

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 (99) hide show
  1. package/assets/localization/local_be.json +66 -5
  2. package/assets/localization/local_en.json +73 -12
  3. package/assets/localization/local_hy.json +67 -6
  4. package/assets/localization/local_kk.json +66 -5
  5. package/assets/localization/local_ru.json +73 -12
  6. package/assets/localization/local_zh.json +66 -5
  7. package/assets/scss/common/theme.scss +2 -2
  8. package/components/atoms/stack/StackBlock.vue +1 -1
  9. package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +1 -1
  10. package/components/common/adapterManager/addAdapterWarningModal/AddAdapterWarningModalNew.vue +0 -1
  11. package/components/common/adapterManager/ui/table/adapters/AdaptersNew.vue +1 -0
  12. package/components/common/configure/physicalAdapters/PhysicalAdapters.vue +6 -0
  13. package/components/common/configure/physicalAdapters/PhysicalAdaptersNew.vue +219 -192
  14. package/components/common/configure/physicalAdapters/PhysicalAdaptersOld.vue +6 -4
  15. package/components/common/configure/physicalAdapters/buttons/Buttons.vue +1 -0
  16. package/components/common/configure/physicalAdapters/modals/edit/Edit.vue +26 -1
  17. package/components/common/configure/physicalAdapters/modals/edit/EditNew.vue +30 -1
  18. package/components/common/configure/physicalAdapters/modals/edit/lib/models/interfaces.ts +5 -0
  19. package/components/common/configure/physicalAdapters/modals/edit/lib/validations/validations.ts +19 -0
  20. package/components/common/configure/physicalAdapters/tableView/TableViewNew.vue +12 -1
  21. package/components/common/configure/physicalAdapters/tableView/lib/config/physicalAdaptersTableConfigNew.ts +21 -21
  22. package/components/common/configure/physicalAdapters/tableView/lib/config/settings.ts +12 -5
  23. package/components/common/configure/physicalAdapters/tableView/lib/models/interfaces.ts +4 -1
  24. package/components/common/diagramMain/DiagramMain.vue +6 -0
  25. package/components/common/diagramMain/modals/Modals.vue +4 -0
  26. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +2 -2
  27. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +1 -1
  28. package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +2 -2
  29. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +1 -1
  30. package/components/common/layout/theHeader/ThemeSwitch.vue +1 -1
  31. package/components/common/layout/theHeader/userMenu/modals/changePassword/New.vue +8 -9
  32. package/components/common/layout/theHeader/userMenu/modals/preferences/New.vue +4 -0
  33. package/components/common/layout/theHeader/userMenu/modals/preferences/Old.vue +9 -2
  34. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +11 -7
  35. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +7 -1
  36. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/config/consoleOptions.ts +8 -5
  37. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +9 -5
  38. package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +5 -9
  39. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +9 -6
  40. package/components/common/mainNavigationPanel/MainNavigationPanelNew.vue +3 -1
  41. package/components/common/monitor/advanced/table/lib/models/interfaces.ts +13 -13
  42. package/components/common/monitor/advanced/table/lib/models/types.ts +7 -7
  43. package/components/common/monitor/advanced/table/tableNew/TableNew.vue +93 -93
  44. package/components/common/monitor/advanced/table/tableNew/lib/config/options.ts +109 -109
  45. package/components/common/monitor/advanced/table/tableNew/lib/utils/constructBody.ts +25 -25
  46. package/components/common/monitor/advanced/table/tableOld/lib/config/performanceDatatable.ts +125 -125
  47. package/components/common/monitor/lib/utils/local_be.json +702 -702
  48. package/components/common/monitor/lib/utils/local_en.json +702 -702
  49. package/components/common/monitor/lib/utils/local_hy.json +702 -702
  50. package/components/common/monitor/lib/utils/local_kk.json +702 -702
  51. package/components/common/monitor/lib/utils/local_ru.json +702 -702
  52. package/components/common/monitor/lib/utils/local_zh.json +702 -702
  53. package/components/common/monitor/utilization/lib/utils/index.ts +33 -33
  54. package/components/common/noDataProvided/NoDataProvidedNew.vue +1 -1
  55. package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +4 -4
  56. package/components/common/pages/backups/modals/createBackup/datastores/tableView/old/lib/config/table.ts +4 -4
  57. package/components/common/pages/hardwareHealth/HardwareHealthNew.vue +1 -1
  58. package/components/common/pages/hardwareHealth/historyTestimony/GraphNew.vue +1 -1
  59. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +1 -1
  60. package/components/common/pages/scheduledTasks/table/lib/models/enums.ts +9 -0
  61. package/components/common/pages/scheduledTasks/table/new/New.vue +12 -10
  62. package/components/common/pages/tasks/Tasks.vue +4 -1
  63. package/components/common/pages/tasks/table/Table.vue +24 -22
  64. package/components/common/split/vertical/New.vue +42 -8
  65. package/components/common/split/vertical/Old.vue +31 -2
  66. package/components/common/split/vertical/Vertical.vue +4 -0
  67. package/components/common/vm/actions/add/New.vue +21 -6
  68. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +1 -1
  69. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +5 -0
  70. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/New.vue +1 -0
  71. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/New.vue +2 -0
  72. package/components/common/vm/actions/common/select/storage/new/lib/config/table.ts +13 -15
  73. package/components/common/vm/actions/confirm/Confirm.vue +3 -0
  74. package/components/common/vm/snapshots/DetailView.vue +6 -6
  75. package/components/common/wizards/datastore/add/New.vue +6 -0
  76. package/components/common/wizards/datastore/add/steps/nameAndDevice/NameAndDeviceNew.vue +1 -1
  77. package/components/common/wizards/datastore/add/steps/nameAndDevice/advancedOptions/New.vue +1 -1
  78. package/components/common/wizards/network/add/Add.vue +13 -2
  79. package/components/common/wizards/network/add/AddNew.vue +22 -26
  80. package/components/common/wizards/network/add/lib/config/initialData.ts +4 -4
  81. package/components/common/wizards/network/add/lib/utils/utils.ts +1 -1
  82. package/components/common/wizards/network/add/steps/ipFourSettings/IpFourSettingsNew.vue +2 -8
  83. package/components/common/wizards/network/add/steps/portProperties/PortPropertiesNew.vue +2 -8
  84. package/components/common/wizards/network/add/steps/selectTargetDevice/SelectTargetDeviceNew.vue +10 -3
  85. package/components/common/wizards/network/add/steps/selectTargetDevice/modals/new/SelectNetwork.vue +5 -1
  86. package/components/common/wizards/network/add/validations/common.ts +1 -1
  87. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/New.vue +31 -13
  88. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/clusterTable.ts +340 -0
  89. package/components/common/wizards/vm/migrate/steps/computeResource/tableView/new/lib/config/hostTable.ts +3 -1
  90. package/components/common/wizards/vm/migrate/steps/selectStorage/New.vue +5 -4
  91. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/New.vue +4 -0
  92. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/batch/table/new/New.vue +3 -1
  93. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/new/lib/config/diskTable.ts +8 -3
  94. package/components/common/wizards/vm/migrate/steps/selectStorage/configure/disk/table/old/lib/config/diskTable.ts +7 -1
  95. package/lib/models/store/tasks/enums.ts +3 -0
  96. package/lib/models/store/tasks/types.ts +7 -6
  97. package/package.json +2 -2
  98. package/store/tasks/actions.ts +26 -8
  99. package/store/tasks/mappers/recentTasks.ts +1 -0
@@ -1,125 +1,125 @@
1
- import type { UI_I_Localization } from '~/lib/models/interfaces'
2
- import type {
3
- UI_I_HeadItem,
4
- UI_I_BodyItem,
5
- UI_I_ColumnKey,
6
- } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
7
- import type { UI_T_PerformanceColumnKey } from '~/components/common/monitor/advanced/table/lib/models/types'
8
- import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
9
- import {
10
- constructColumnKey,
11
- constructHeadItem,
12
- } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
13
-
14
- export const performanceTableKey: UI_T_PerformanceColumnKey[] = [
15
- 'key',
16
- 'relatedDeviceName',
17
- 'description',
18
- 'units',
19
- 'maximum',
20
- 'minimum',
21
- ]
22
-
23
- const getItems = (
24
- localization: UI_I_Localization
25
- ): [string, boolean, string, string][] => {
26
- const widthCol = '113px'
27
- return [
28
- [
29
- localization.inventoryMonitor.chartColor,
30
- true,
31
- widthCol,
32
- performanceTableKey[0],
33
- ],
34
- [
35
- localization.inventoryMonitor.metricName,
36
- true,
37
- widthCol,
38
- performanceTableKey[1],
39
- ],
40
- [
41
- localization.inventoryMonitor.metricDescription,
42
- true,
43
- widthCol,
44
- performanceTableKey[2],
45
- ],
46
- [
47
- localization.inventoryMonitor.unitOfMeasurement,
48
- true,
49
- widthCol,
50
- performanceTableKey[3],
51
- ],
52
- [localization.common.maximum, true, widthCol, performanceTableKey[4]],
53
- [localization.common.minimum, true, widthCol, performanceTableKey[5]],
54
- ]
55
- }
56
-
57
- export const columnKeys = (
58
- localization: UI_I_Localization
59
- ): UI_I_ColumnKey[] => {
60
- const result: UI_I_ColumnKey[] = []
61
- getItems(localization).forEach((item, i) => {
62
- const col = `col${i + 1}`
63
- result.push(constructColumnKey(col, item[0], item[1]))
64
- })
65
-
66
- return result
67
- }
68
-
69
- export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
70
- const result: UI_I_HeadItem[] = []
71
- getItems(localization).forEach((item, i) => {
72
- const col = `col${i + 1}`
73
- result.push(
74
- constructHeadItem(col, item[0], item[3], false, item[2], '', item[3])
75
- )
76
- })
77
- return result
78
- }
79
-
80
- export const bodyItems = (data: UI_I_PerformanceItem[]): UI_I_BodyItem[][] => {
81
- const bodyItems: UI_I_BodyItem[][] = []
82
-
83
- data.forEach((performance: UI_I_PerformanceItem, key: number) => {
84
- bodyItems.push([
85
- {
86
- key: 'col1',
87
- text: '',
88
- data: { color: performance[performanceTableKey[0]] },
89
- id: key,
90
- testId: `advanced-item-${performanceTableKey[0]}-${key}`,
91
- },
92
- {
93
- key: 'col2',
94
- text: performance[performanceTableKey[1]],
95
- id: key,
96
- testId: `advanced-item-${performanceTableKey[1]}-${key}`,
97
- },
98
- {
99
- key: 'col3',
100
- text: performance[performanceTableKey[2]],
101
- id: key,
102
- testId: `advanced-item-${performanceTableKey[2]}-${key}`,
103
- },
104
- {
105
- key: 'col4',
106
- text: performance[performanceTableKey[3]],
107
- id: key,
108
- testId: `advanced-item-${performanceTableKey[3]}-${key}`,
109
- },
110
- {
111
- key: 'col5',
112
- text: performance[performanceTableKey[4]],
113
- id: key,
114
- testId: `advanced-item-${performanceTableKey[4]}-${key}`,
115
- },
116
- {
117
- key: 'col6',
118
- text: performance[performanceTableKey[5]],
119
- id: key,
120
- testId: `advanced-item-${performanceTableKey[5]}-${key}`,
121
- },
122
- ])
123
- })
124
- return bodyItems
125
- }
1
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
+ import type {
3
+ UI_I_HeadItem,
4
+ UI_I_BodyItem,
5
+ UI_I_ColumnKey,
6
+ } from '~/components/atoms/table/dataGrid/lib/models/interfaces'
7
+ import type { UI_T_PerformanceColumnKey } from '~/components/common/monitor/advanced/table/lib/models/types'
8
+ import type { UI_I_PerformanceItem } from '~/components/common/monitor/advanced/table/lib/models/interfaces'
9
+ import {
10
+ constructColumnKey,
11
+ constructHeadItem,
12
+ } from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
13
+
14
+ export const performanceTableKey: UI_T_PerformanceColumnKey[] = [
15
+ 'key',
16
+ 'relatedDeviceName',
17
+ 'description',
18
+ 'units',
19
+ 'maximum',
20
+ 'minimum',
21
+ ]
22
+
23
+ const getItems = (
24
+ localization: UI_I_Localization
25
+ ): [string, boolean, string, string][] => {
26
+ const widthCol = '113px'
27
+ return [
28
+ [
29
+ localization.inventoryMonitor.chartColor,
30
+ true,
31
+ widthCol,
32
+ performanceTableKey[0],
33
+ ],
34
+ [
35
+ localization.inventoryMonitor.metricName,
36
+ true,
37
+ widthCol,
38
+ performanceTableKey[1],
39
+ ],
40
+ [
41
+ localization.inventoryMonitor.metricDescription,
42
+ true,
43
+ widthCol,
44
+ performanceTableKey[2],
45
+ ],
46
+ [
47
+ localization.inventoryMonitor.unitOfMeasurement,
48
+ true,
49
+ widthCol,
50
+ performanceTableKey[3],
51
+ ],
52
+ [localization.common.maximum, true, widthCol, performanceTableKey[4]],
53
+ [localization.common.minimum, true, widthCol, performanceTableKey[5]],
54
+ ]
55
+ }
56
+
57
+ export const columnKeys = (
58
+ localization: UI_I_Localization
59
+ ): UI_I_ColumnKey[] => {
60
+ const result: UI_I_ColumnKey[] = []
61
+ getItems(localization).forEach((item, i) => {
62
+ const col = `col${i + 1}`
63
+ result.push(constructColumnKey(col, item[0], item[1]))
64
+ })
65
+
66
+ return result
67
+ }
68
+
69
+ export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
70
+ const result: UI_I_HeadItem[] = []
71
+ getItems(localization).forEach((item, i) => {
72
+ const col = `col${i + 1}`
73
+ result.push(
74
+ constructHeadItem(col, item[0], item[3], false, item[2], '', item[3])
75
+ )
76
+ })
77
+ return result
78
+ }
79
+
80
+ export const bodyItems = (data: UI_I_PerformanceItem[]): UI_I_BodyItem[][] => {
81
+ const bodyItems: UI_I_BodyItem[][] = []
82
+
83
+ data.forEach((performance: UI_I_PerformanceItem, key: number) => {
84
+ bodyItems.push([
85
+ {
86
+ key: 'col1',
87
+ text: '',
88
+ data: { color: performance[performanceTableKey[0]] },
89
+ id: key,
90
+ testId: `advanced-item-${performanceTableKey[0]}-${key}`,
91
+ },
92
+ {
93
+ key: 'col2',
94
+ text: performance[performanceTableKey[1]],
95
+ id: key,
96
+ testId: `advanced-item-${performanceTableKey[1]}-${key}`,
97
+ },
98
+ {
99
+ key: 'col3',
100
+ text: performance[performanceTableKey[2]],
101
+ id: key,
102
+ testId: `advanced-item-${performanceTableKey[2]}-${key}`,
103
+ },
104
+ {
105
+ key: 'col4',
106
+ text: performance[performanceTableKey[3]],
107
+ id: key,
108
+ testId: `advanced-item-${performanceTableKey[3]}-${key}`,
109
+ },
110
+ {
111
+ key: 'col5',
112
+ text: performance[performanceTableKey[4]],
113
+ id: key,
114
+ testId: `advanced-item-${performanceTableKey[4]}-${key}`,
115
+ },
116
+ {
117
+ key: 'col6',
118
+ text: performance[performanceTableKey[5]],
119
+ id: key,
120
+ testId: `advanced-item-${performanceTableKey[5]}-${key}`,
121
+ },
122
+ ])
123
+ })
124
+ return bodyItems
125
+ }