bfg-common 1.4.9 → 1.4.10
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 +0 -3
- package/assets/localization/local_en.json +0 -3
- package/assets/localization/local_hy.json +0 -3
- package/assets/localization/local_kk.json +0 -3
- package/assets/localization/local_ru.json +0 -3
- package/assets/localization/local_zh.json +2563 -2566
- package/components/atoms/modal/bySteps/BySteps.vue +253 -253
- package/components/common/browse/blocks/Title.vue +91 -91
- package/components/common/browse/blocks/info/Date.vue +21 -21
- package/components/common/context/recursion/Recursion.vue +86 -86
- package/components/common/context/recursion/RecursionNew.vue +198 -198
- package/components/common/context/recursion/RecursionOld.vue +212 -212
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +1 -1
- package/components/common/pages/hardwareHealth/Graph.vue +84 -0
- package/components/common/pages/hardwareHealth/HardwareHealth.vue +62 -45
- package/components/common/pages/hardwareHealth/tableView/TableView.vue +10 -4
- package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +11 -7
- package/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys.ts +7 -6
- package/components/common/pages/hardwareHealth/tableView/lib/models/interfaces.ts +0 -2
- package/components/common/pages/hardwareHealth/tableView/lib/models/types.ts +4 -9
- package/components/common/split/horizontal/HorizontalNew.vue +321 -321
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +52 -52
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +99 -99
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -85
- package/components/common/wizards/datastore/add/Add.vue +437 -437
- package/composables/productNameLocal.ts +30 -30
- package/lib/models/interfaces.ts +0 -1
- package/lib/models/types.ts +0 -1
- package/package.json +1 -1
- package/plugins/recursion.ts +311 -293
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/store/tasks/mappers/recentTasks.ts +45 -45
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +0 -332
- package/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces.ts +0 -9
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +0 -375
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +0 -469
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +0 -30
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/Actions.vue +0 -157
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +0 -81
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/lib/utils/optionsActions.ts +0 -25
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +0 -89
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/Table.vue +0 -174
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/lib/config/tableConfig.ts +0 -89
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/lib/models/types.ts +0 -5
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +0 -64
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +0 -539
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +0 -115
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/config/optionsMetrics.ts +0 -17
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/interfaces.ts +0 -15
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/types.ts +0 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/metrics/Metrics.vue +0 -31
- package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/config/toolbar.ts +0 -78
- package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/models/interfaces.ts +0 -9
- package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +0 -128
|
@@ -73,12 +73,14 @@ import type {
|
|
|
73
73
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
74
74
|
import type { UI_I_HardwareHealthSensors } from '~/components/common/pages/hardwareHealth/tableView/lib/models/interfaces'
|
|
75
75
|
import type { UI_T_HardwareHealthTabMode } from '~/components/common/pages/hardwareHealth/lib/models/types'
|
|
76
|
-
import type {
|
|
76
|
+
import type {
|
|
77
|
+
UI_T_DataGridType,
|
|
78
|
+
UI_T_SelectedRow,
|
|
79
|
+
} from '~/components/atoms/table/dataGrid/lib/models/types'
|
|
77
80
|
import * as sensorTable from '~/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable'
|
|
78
81
|
import * as storageSensorTable from '~/components/common/pages/hardwareHealth/tableView/lib/config/storageSensorTable'
|
|
79
82
|
import * as alertWarningTable from '~/components/common/pages/hardwareHealth/tableView/lib/config/alertWarningTable'
|
|
80
83
|
import * as systemLogTable from '~/components/common/pages/hardwareHealth/tableView/lib/config/systemLogTable'
|
|
81
|
-
import * as historyTestimonyTable from '~/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable'
|
|
82
84
|
|
|
83
85
|
const props = defineProps<{
|
|
84
86
|
dataTable: UI_I_HardwareHealthSensors[]
|
|
@@ -95,7 +97,7 @@ const table: any = {
|
|
|
95
97
|
'storage-sensor': storageSensorTable,
|
|
96
98
|
'alert-warning': alertWarningTable,
|
|
97
99
|
'system-log': systemLogTable,
|
|
98
|
-
'history-testimony':
|
|
100
|
+
'history-testimony': sensorTable,
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
const tableType = computed<UI_T_DataGridType | undefined>(() =>
|
|
@@ -135,7 +137,11 @@ const bodyItems = computed<UI_I_BodyItem[][]>(() => {
|
|
|
135
137
|
break
|
|
136
138
|
}
|
|
137
139
|
|
|
138
|
-
return table[props.tableMode].bodyItems(
|
|
140
|
+
return table[props.tableMode].bodyItems(
|
|
141
|
+
tableData,
|
|
142
|
+
localization.value,
|
|
143
|
+
props.tableMode
|
|
144
|
+
)
|
|
139
145
|
})
|
|
140
146
|
|
|
141
147
|
const isShowSensorWarningDetails = ref<boolean>(false)
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
constructColumnKey,
|
|
10
10
|
} from '~/components/atoms/table/dataGrid/lib/utils/constructDataTable'
|
|
11
11
|
import type { UI_I_HardwareHealthSensors } from '~/components/common/pages/hardwareHealth/tableView/lib/models/interfaces'
|
|
12
|
+
import type { UI_T_HardwareHealthTabMode } from '~/components/common/pages/hardwareHealth/lib/models/types'
|
|
12
13
|
import { UI_E_SensorsCategoryIcon } from '~/components/common/pages/hardwareHealth/lib/models/enums'
|
|
13
14
|
import { hardwareHealthSensorTableKeys } from '~/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys'
|
|
14
15
|
import {
|
|
@@ -30,7 +31,6 @@ const getItems = (
|
|
|
30
31
|
[localization.common.reading, true, '115px', hardwareHealthSensorTableKeys[2]],
|
|
31
32
|
[localization.common.categories, true, '130px', hardwareHealthSensorTableKeys[3]],
|
|
32
33
|
[localization.common.lastUpdated, true, '195px', hardwareHealthSensorTableKeys[4]],
|
|
33
|
-
[localization.common.path, true, '195px', hardwareHealthSensorTableKeys[5]],
|
|
34
34
|
]
|
|
35
35
|
}
|
|
36
36
|
export const columnKeys = (
|
|
@@ -66,7 +66,8 @@ export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
|
|
|
66
66
|
|
|
67
67
|
export const bodyItems = (
|
|
68
68
|
data: UI_I_HardwareHealthSensors[],
|
|
69
|
-
localization: UI_I_Localization
|
|
69
|
+
localization: UI_I_Localization,
|
|
70
|
+
tableMode: UI_T_HardwareHealthTabMode
|
|
70
71
|
): UI_I_BodyItem[][] => {
|
|
71
72
|
const bodyItems: UI_I_BodyItem[][] = []
|
|
72
73
|
data.forEach((sensor: UI_I_HardwareHealthSensors, key) => {
|
|
@@ -76,6 +77,13 @@ export const bodyItems = (
|
|
|
76
77
|
warning: sensor.warning,
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
let isDisabledRow = false
|
|
81
|
+
if (
|
|
82
|
+
tableMode === 'history-testimony' &&
|
|
83
|
+
!['power', 'temperature'].includes(sensor.category.toLowerCase())
|
|
84
|
+
)
|
|
85
|
+
isDisabledRow = true
|
|
86
|
+
|
|
79
87
|
bodyItems.push([
|
|
80
88
|
// {
|
|
81
89
|
// data,
|
|
@@ -88,6 +96,7 @@ export const bodyItems = (
|
|
|
88
96
|
key: 'col0',
|
|
89
97
|
text: sensor[hardwareHealthSensorTableKeys[0]],
|
|
90
98
|
id: key,
|
|
99
|
+
disabled: isDisabledRow,
|
|
91
100
|
},
|
|
92
101
|
{
|
|
93
102
|
key: 'icon',
|
|
@@ -122,11 +131,6 @@ export const bodyItems = (
|
|
|
122
131
|
text: sensor[hardwareHealthSensorTableKeys[4]],
|
|
123
132
|
id: key,
|
|
124
133
|
},
|
|
125
|
-
{
|
|
126
|
-
key: 'col5',
|
|
127
|
-
text: sensor[hardwareHealthSensorTableKeys[5]],
|
|
128
|
-
id: key,
|
|
129
|
-
},
|
|
130
134
|
])
|
|
131
135
|
})
|
|
132
136
|
return bodyItems
|
|
@@ -3,11 +3,15 @@ import type {
|
|
|
3
3
|
UI_T_HardwareHealthStorageSensorsTableItemTuple,
|
|
4
4
|
UI_T_HardwareHealthAlertWarningTableItemTuple,
|
|
5
5
|
UI_T_HardwareHealthSystemLogTableItemTuple,
|
|
6
|
-
UI_T_HardwareHealthSensorsGraphTableItemTuple,
|
|
7
6
|
} from '~/components/common/pages/hardwareHealth/tableView/lib/models/types'
|
|
8
7
|
|
|
9
|
-
export const hardwareHealthSensorTableKeys: UI_T_HardwareHealthSensorsTableItemTuple =
|
|
10
|
-
|
|
8
|
+
export const hardwareHealthSensorTableKeys: UI_T_HardwareHealthSensorsTableItemTuple = [
|
|
9
|
+
'name',
|
|
10
|
+
'status',
|
|
11
|
+
'reading',
|
|
12
|
+
'category',
|
|
13
|
+
'lastUpdated',
|
|
14
|
+
]
|
|
11
15
|
|
|
12
16
|
export const hardwareHealthStorageSensorTableKeys: UI_T_HardwareHealthStorageSensorsTableItemTuple =
|
|
13
17
|
['name', 'health', 'categories']
|
|
@@ -17,6 +21,3 @@ export const hardwareHealthAlertWarningTableKeys: UI_T_HardwareHealthAlertWarnin
|
|
|
17
21
|
|
|
18
22
|
export const hardwareHealthSystemLogTableKeys: UI_T_HardwareHealthSystemLogTableItemTuple =
|
|
19
23
|
['time', 'event']
|
|
20
|
-
|
|
21
|
-
export const hardwareHealthHistoryTestimonyTableKeys: UI_T_HardwareHealthSensorsGraphTableItemTuple =
|
|
22
|
-
['name', 'status', 'category', 'path']
|
|
@@ -3,8 +3,7 @@ export type UI_T_HardwareHealthSensorsTableItemTuple = [
|
|
|
3
3
|
'status',
|
|
4
4
|
'reading',
|
|
5
5
|
'category',
|
|
6
|
-
'lastUpdated'
|
|
7
|
-
'path'
|
|
6
|
+
'lastUpdated'
|
|
8
7
|
]
|
|
9
8
|
export type UI_T_HardwareHealthStorageSensorsTableItemTuple = [
|
|
10
9
|
'name',
|
|
@@ -16,11 +15,7 @@ export type UI_T_HardwareHealthAlertWarningTableItemTuple = [
|
|
|
16
15
|
'status',
|
|
17
16
|
'reading'
|
|
18
17
|
]
|
|
19
|
-
export type UI_T_HardwareHealthSystemLogTableItemTuple = [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'name',
|
|
23
|
-
'status',
|
|
24
|
-
'category',
|
|
25
|
-
'path'
|
|
18
|
+
export type UI_T_HardwareHealthSystemLogTableItemTuple = [
|
|
19
|
+
'time',
|
|
20
|
+
'event'
|
|
26
21
|
]
|