bfg-common 1.4.55 → 1.4.56
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-6.svg +1 -190
- package/assets/img/icons/icons-sprite-dark-9.svg +71 -0
- package/assets/img/icons/icons-sprite-light-6.svg +1 -190
- package/assets/img/icons/icons-sprite-light-9.svg +71 -0
- package/assets/localization/local_be.json +14 -1
- package/assets/localization/local_en.json +14 -1
- package/assets/localization/local_hy.json +14 -1
- package/assets/localization/local_kk.json +14 -1
- package/assets/localization/local_ru.json +38 -25
- package/assets/localization/local_zh.json +14 -1
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +31 -4
- package/components/atoms/table/dataGrid/lib/models/interfaces.ts +5 -0
- package/components/common/graph/Graph.vue +5 -4
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +6 -6
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +0 -1
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +1 -1
- package/components/common/pages/hardwareHealth/HardwareHealth.vue +12 -9
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +103 -22
- package/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces.ts +1 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +9 -4
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +29 -11
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +10 -5
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +6 -4
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +13 -13
- package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/config/toolbar.ts +4 -0
- package/components/common/pages/hardwareHealth/lib/config/status.ts +1 -1
- package/components/common/pages/hardwareHealth/tableView/TableView.vue +7 -2
- package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +11 -2
- package/components/common/pages/hardwareHealth/tableView/lib/models/interfaces.ts +1 -0
- package/components/common/pages/hardwareHealth/tableView/modal/{sensorWarning.vue → SensorWarning.vue} +1 -1
- package/components/common/recursionTree/RecursionTree.vue +5 -1
- package/lib/models/interfaces.ts +2 -0
- package/package.json +1 -1
|
@@ -81,13 +81,14 @@ import * as systemLogTable from '~/components/common/pages/hardwareHealth/tableV
|
|
|
81
81
|
import * as historyTestimonyTable from '~/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable'
|
|
82
82
|
|
|
83
83
|
const props = defineProps<{
|
|
84
|
+
selectedGraphView: string
|
|
84
85
|
dataTable: UI_I_HardwareHealthSensors[]
|
|
85
86
|
loading: boolean
|
|
86
87
|
totalItems: number
|
|
87
88
|
totalPages: number
|
|
88
89
|
tableMode: UI_T_HardwareHealthTabMode
|
|
89
90
|
}>()
|
|
90
|
-
const selectedRow = defineModel<
|
|
91
|
+
const selectedRow = defineModel<number[]>('selectedRow')
|
|
91
92
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
92
93
|
|
|
93
94
|
const table: any = {
|
|
@@ -135,7 +136,11 @@ const bodyItems = computed<UI_I_BodyItem[][]>(() => {
|
|
|
135
136
|
break
|
|
136
137
|
}
|
|
137
138
|
|
|
138
|
-
return table[props.tableMode].bodyItems(
|
|
139
|
+
return table[props.tableMode].bodyItems(
|
|
140
|
+
tableData,
|
|
141
|
+
localization.value,
|
|
142
|
+
props.selectedGraphView
|
|
143
|
+
)
|
|
139
144
|
})
|
|
140
145
|
|
|
141
146
|
const isShowSensorWarningDetails = ref<boolean>(false)
|
package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts
CHANGED
|
@@ -79,7 +79,8 @@ export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
|
|
|
79
79
|
|
|
80
80
|
export const bodyItems = (
|
|
81
81
|
data: UI_I_HardwareHealthSensors[],
|
|
82
|
-
localization: UI_I_Localization
|
|
82
|
+
localization: UI_I_Localization,
|
|
83
|
+
selectedGraphView: string
|
|
83
84
|
): UI_I_BodyItem[][] => {
|
|
84
85
|
const bodyItems: UI_I_BodyItem[][] = []
|
|
85
86
|
data.forEach((sensor: UI_I_HardwareHealthSensors, key) => {
|
|
@@ -89,7 +90,15 @@ export const bodyItems = (
|
|
|
89
90
|
warning: sensor.warning,
|
|
90
91
|
}
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
const isCurrentItem =
|
|
94
|
+
selectedGraphView !== 'all'
|
|
95
|
+
? selectedGraphView === sensor.category.toLowerCase()
|
|
96
|
+
: true
|
|
97
|
+
|
|
98
|
+
if (
|
|
99
|
+
!['disk health'].includes(sensor.category.toLowerCase()) &&
|
|
100
|
+
isCurrentItem
|
|
101
|
+
)
|
|
93
102
|
bodyItems.push([
|
|
94
103
|
{
|
|
95
104
|
key: 'col0',
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="recursion-tree">
|
|
3
|
-
<div
|
|
3
|
+
<div
|
|
4
|
+
v-for="node in nodes"
|
|
5
|
+
:key="`${node.type}_${node.id}`"
|
|
6
|
+
:data-id="`${node.testId}-${node.type}-root`"
|
|
7
|
+
>
|
|
4
8
|
<div
|
|
5
9
|
:id="`tree-node-${node.type}-${node.id}`"
|
|
6
10
|
:data-id="node.testId"
|
package/lib/models/interfaces.ts
CHANGED
|
@@ -31,6 +31,8 @@ export interface UI_I_Localization {
|
|
|
31
31
|
inventoryTabs: UI_I_ArbitraryObject<string>
|
|
32
32
|
snapshots: UI_I_ArbitraryObject<string>
|
|
33
33
|
importVms: UI_I_ArbitraryObject<string>
|
|
34
|
+
storageDevice: UI_I_ArbitraryObject<string>
|
|
35
|
+
scheduledTasks: UI_I_ArbitraryObject<string>
|
|
34
36
|
}
|
|
35
37
|
export interface UI_I_SendTaskParams {
|
|
36
38
|
method: string
|