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.
Files changed (54) hide show
  1. package/assets/localization/local_be.json +0 -3
  2. package/assets/localization/local_en.json +0 -3
  3. package/assets/localization/local_hy.json +0 -3
  4. package/assets/localization/local_kk.json +0 -3
  5. package/assets/localization/local_ru.json +0 -3
  6. package/assets/localization/local_zh.json +2563 -2566
  7. package/components/atoms/modal/bySteps/BySteps.vue +253 -253
  8. package/components/common/browse/blocks/Title.vue +91 -91
  9. package/components/common/browse/blocks/info/Date.vue +21 -21
  10. package/components/common/context/recursion/Recursion.vue +86 -86
  11. package/components/common/context/recursion/RecursionNew.vue +198 -198
  12. package/components/common/context/recursion/RecursionOld.vue +212 -212
  13. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +1 -1
  14. package/components/common/pages/hardwareHealth/Graph.vue +84 -0
  15. package/components/common/pages/hardwareHealth/HardwareHealth.vue +62 -45
  16. package/components/common/pages/hardwareHealth/tableView/TableView.vue +10 -4
  17. package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +11 -7
  18. package/components/common/pages/hardwareHealth/tableView/lib/config/tableKeys.ts +7 -6
  19. package/components/common/pages/hardwareHealth/tableView/lib/models/interfaces.ts +0 -2
  20. package/components/common/pages/hardwareHealth/tableView/lib/models/types.ts +4 -9
  21. package/components/common/split/horizontal/HorizontalNew.vue +321 -321
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +52 -52
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +99 -99
  24. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -85
  25. package/components/common/wizards/datastore/add/Add.vue +437 -437
  26. package/composables/productNameLocal.ts +30 -30
  27. package/lib/models/interfaces.ts +0 -1
  28. package/lib/models/types.ts +0 -1
  29. package/package.json +1 -1
  30. package/plugins/recursion.ts +311 -293
  31. package/public/spice-console/lib/images/bitmap.js +203 -203
  32. package/store/tasks/mappers/recentTasks.ts +45 -45
  33. package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +0 -332
  34. package/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces.ts +0 -9
  35. package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +0 -375
  36. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +0 -469
  37. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/Notification.vue +0 -30
  38. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/Actions.vue +0 -157
  39. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +0 -81
  40. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/lib/utils/optionsActions.ts +0 -25
  41. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +0 -89
  42. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/Table.vue +0 -174
  43. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/lib/config/tableConfig.ts +0 -89
  44. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/lib/models/types.ts +0 -5
  45. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +0 -64
  46. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +0 -539
  47. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +0 -115
  48. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/config/optionsMetrics.ts +0 -17
  49. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/interfaces.ts +0 -15
  50. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/types.ts +0 -1
  51. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/metrics/Metrics.vue +0 -31
  52. package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/config/toolbar.ts +0 -78
  53. package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/models/interfaces.ts +0 -9
  54. 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 { UI_T_DataGridType } from '~/components/atoms/table/dataGrid/lib/models/types'
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': historyTestimonyTable,
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(tableData, localization.value)
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
- ['name', 'status', 'reading', 'category', 'lastUpdated', 'path']
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']
@@ -8,8 +8,6 @@ export interface UI_I_HardwareHealthSensors {
8
8
  reading: string
9
9
  category: string
10
10
  lastUpdated: string
11
- mainName?: string
12
- path?: string
13
11
  warning?: string
14
12
  selEntries?: UI_I_HardwareHealthEventEntries[]
15
13
  }
@@ -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 = ['time', 'event']
20
-
21
- export type UI_T_HardwareHealthSensorsGraphTableItemTuple = [
22
- 'name',
23
- 'status',
24
- 'category',
25
- 'path'
18
+ export type UI_T_HardwareHealthSystemLogTableItemTuple = [
19
+ 'time',
20
+ 'event'
26
21
  ]