bfg-common 1.5.701 → 1.5.702
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 +2 -1
- package/assets/localization/local_en.json +2 -1
- package/assets/localization/local_hy.json +2 -1
- package/assets/localization/local_kk.json +2 -1
- package/assets/localization/local_ru.json +3 -2
- package/assets/localization/local_zh.json +2 -1
- package/components/common/layout/theHeader/modals/reconnect/ReconnectOld.vue +2 -0
- package/components/common/monitor/advanced/graphView/GraphView.vue +151 -151
- package/components/common/monitor/advanced/tools/Tools.vue +313 -313
- package/components/common/pages/files/lib/models/enums.ts +10 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +394 -394
- package/components/common/pages/hardwareHealth/tableView/TableView.vue +202 -202
- package/components/common/pages/hardwareHealth/tableView/lib/config/sensorTable.ts +165 -165
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/New.vue +0 -9
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/Old.vue +6 -13
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +0 -26
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces.ts +3 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/New.vue +7 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +9 -56
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/Old.vue +5 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIo.vue +1 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/New.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/Old.vue +2 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/New.vue +1 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/Old.vue +1 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGrid.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/Old.vue +1 -1
- package/package.json +1 -1
- package/store/main/getters.ts +7 -7
|
@@ -3750,7 +3750,8 @@
|
|
|
3750
3750
|
},
|
|
3751
3751
|
"files": {
|
|
3752
3752
|
"deleteFileDescription": "Вы ўпэўнены, што хочаце выдаліць «{0}»?",
|
|
3753
|
-
"deleteFilesDescription": "Вы ўпэўнены, што хочаце выдаліць {0} файлаў?"
|
|
3753
|
+
"deleteFilesDescription": "Вы ўпэўнены, што хочаце выдаліць {0} файлаў?",
|
|
3754
|
+
"fileManagement": "Кіраванне файламі"
|
|
3754
3755
|
},
|
|
3755
3756
|
"myPreferences": {
|
|
3756
3757
|
"twoFactorAuthentication": "Двухфактарная аўтэнтыфікацыя",
|
|
@@ -3754,7 +3754,8 @@
|
|
|
3754
3754
|
},
|
|
3755
3755
|
"files": {
|
|
3756
3756
|
"deleteFileDescription": "Are you sure you want to delete “{0}”?",
|
|
3757
|
-
"deleteFilesDescription": "Are you sure you want to delete {0} files?"
|
|
3757
|
+
"deleteFilesDescription": "Are you sure you want to delete {0} files?",
|
|
3758
|
+
"fileManagement": "File Management"
|
|
3758
3759
|
},
|
|
3759
3760
|
"myPreferences": {
|
|
3760
3761
|
"twoFactorAuthentication": "Two-Factor Authentication",
|
|
@@ -3754,7 +3754,8 @@
|
|
|
3754
3754
|
},
|
|
3755
3755
|
"files": {
|
|
3756
3756
|
"deleteFileDescription": "Վստա՞հ եք, որ ցանկանում եք ջնջել «{0}»-ը։",
|
|
3757
|
-
"deleteFilesDescription": "Վստա՞հ եք, որ ցանկանում եք ջնջել {0} ֆայլ։"
|
|
3757
|
+
"deleteFilesDescription": "Վստա՞հ եք, որ ցանկանում եք ջնջել {0} ֆայլ։",
|
|
3758
|
+
"fileManagement": "Ֆայլերի կառավարում"
|
|
3758
3759
|
},
|
|
3759
3760
|
"myPreferences": {
|
|
3760
3761
|
"twoFactorAuthentication": "Երկգործոն նույնականացում",
|
|
@@ -3753,7 +3753,8 @@
|
|
|
3753
3753
|
},
|
|
3754
3754
|
"files": {
|
|
3755
3755
|
"deleteFileDescription": "«{0}» файлын жоюға сенімдісіз бе?",
|
|
3756
|
-
"deleteFilesDescription": "{0} файлды жоюға сенімдісіз бе?"
|
|
3756
|
+
"deleteFilesDescription": "{0} файлды жоюға сенімдісіз бе?",
|
|
3757
|
+
"fileManagement": "Файлдарды басқару"
|
|
3757
3758
|
},
|
|
3758
3759
|
"myPreferences": {
|
|
3759
3760
|
"twoFactorAuthentication": "Екі факторлы аутентификация",
|
|
@@ -2322,7 +2322,7 @@
|
|
|
2322
2322
|
"vswitch_name": "Виртуальный коммутатор",
|
|
2323
2323
|
"vlan": "VLAN ID",
|
|
2324
2324
|
"active_ports": "Активные порты",
|
|
2325
|
-
"iops": "
|
|
2325
|
+
"iops": "Операций ввода-вывода в секунду",
|
|
2326
2326
|
"ioCountForPathSwitch": "Количество операций ввода-вывода для переключения пути",
|
|
2327
2327
|
"byteCountForPathSwitch": "Количество байт для переключения пути",
|
|
2328
2328
|
"theValueEitherEmptyOrInvalid": "Значение либо пустое, либо недопустимое",
|
|
@@ -3753,7 +3753,8 @@
|
|
|
3753
3753
|
},
|
|
3754
3754
|
"files": {
|
|
3755
3755
|
"deleteFileDescription": "Вы уверены, что хотите удалить «{0}»?",
|
|
3756
|
-
"deleteFilesDescription": "Вы уверены, что хотите удалить {0} файлов?"
|
|
3756
|
+
"deleteFilesDescription": "Вы уверены, что хотите удалить {0} файлов?",
|
|
3757
|
+
"fileManagement": "Управление файлами"
|
|
3757
3758
|
},
|
|
3758
3759
|
"myPreferences": {
|
|
3759
3760
|
"twoFactorAuthentication": "Двухфакторная аутентификация",
|
|
@@ -3751,7 +3751,8 @@
|
|
|
3751
3751
|
},
|
|
3752
3752
|
"files": {
|
|
3753
3753
|
"deleteFileDescription": "您确定要删除“{0}”吗?",
|
|
3754
|
-
"deleteFilesDescription": "您确定要删除 {0} 个文件吗?"
|
|
3754
|
+
"deleteFilesDescription": "您确定要删除 {0} 个文件吗?",
|
|
3755
|
+
"fileManagement": "文件管理"
|
|
3755
3756
|
},
|
|
3756
3757
|
"myPreferences": {
|
|
3757
3758
|
"twoFactorAuthentication": "双因素认证",
|
|
@@ -1,151 +1,151 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div ref="chartsView">
|
|
3
|
-
<common-monitor-advanced-graph-view-new
|
|
4
|
-
v-if="isNewView"
|
|
5
|
-
:loading="props.loading"
|
|
6
|
-
:is-loading="isLoading"
|
|
7
|
-
:chart-data="chartData"
|
|
8
|
-
:chart="chart"
|
|
9
|
-
:chart-helper="chartHelper"
|
|
10
|
-
:export-type="props.export"
|
|
11
|
-
:selected-row="props.selectedRow"
|
|
12
|
-
/>
|
|
13
|
-
<common-monitor-advanced-graph-view-old
|
|
14
|
-
v-else
|
|
15
|
-
:loading="props.loading"
|
|
16
|
-
:is-loading="isLoading"
|
|
17
|
-
:chart-data="chartData"
|
|
18
|
-
:chart="chart"
|
|
19
|
-
:chart-helper="chartHelper"
|
|
20
|
-
:export-type="props.export"
|
|
21
|
-
:selected-row="props.selectedRow"
|
|
22
|
-
/>
|
|
23
|
-
</div>
|
|
24
|
-
</template>
|
|
25
|
-
|
|
26
|
-
<script setup lang="ts">
|
|
27
|
-
import { useDebounceFn, useElementSize } from '@vueuse/core'
|
|
28
|
-
import type {
|
|
29
|
-
I_LineGraph,
|
|
30
|
-
I_SeriesLine,
|
|
31
|
-
} from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
|
|
32
|
-
import { graphDataFunc } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/utils/renderGraph'
|
|
33
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
34
|
-
|
|
35
|
-
const props = defineProps<{
|
|
36
|
-
loading: boolean
|
|
37
|
-
data: I_SeriesLine | null
|
|
38
|
-
export: string
|
|
39
|
-
selectedRow: number[]
|
|
40
|
-
darkMode: boolean
|
|
41
|
-
language: string
|
|
42
|
-
selectedChartType: string
|
|
43
|
-
}>()
|
|
44
|
-
const emits = defineEmits<{
|
|
45
|
-
(event: 'open-advanced-page'): void
|
|
46
|
-
}>()
|
|
47
|
-
|
|
48
|
-
const { $store, $formattedDatetime, $getDateFormat }: any = useNuxtApp()
|
|
49
|
-
|
|
50
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
51
|
-
|
|
52
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
53
|
-
|
|
54
|
-
const isLoading = ref<boolean>(true)
|
|
55
|
-
|
|
56
|
-
const chartData = ref<I_LineGraph | null>(null)
|
|
57
|
-
|
|
58
|
-
const chart = ref<any>(null)
|
|
59
|
-
const chartHelper = ref<number>(0)
|
|
60
|
-
|
|
61
|
-
const chartCallback = (newValue: any): void => {
|
|
62
|
-
newValue && (chart.value = newValue)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const newTabCallback = (newValue: boolean): void => {
|
|
66
|
-
newValue && emits('open-advanced-page')
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
watch(
|
|
70
|
-
chart,
|
|
71
|
-
(newValue) => {
|
|
72
|
-
newValue?.hasLoaded && (isLoading.value = false)
|
|
73
|
-
},
|
|
74
|
-
{ immediate: true, deep: true }
|
|
75
|
-
)
|
|
76
|
-
|
|
77
|
-
let dateFormat = ''
|
|
78
|
-
|
|
79
|
-
const chartsView = ref<HTMLDivElement | null>(null)
|
|
80
|
-
const { width } = useElementSize(chartsView)
|
|
81
|
-
|
|
82
|
-
const startChart = useDebounceFn(() => {
|
|
83
|
-
if (!props.data || !width.value) return
|
|
84
|
-
|
|
85
|
-
chartData.value = graphDataFunc({
|
|
86
|
-
fullScreenCallBack: () => ({}),
|
|
87
|
-
graphData: props.data,
|
|
88
|
-
isDarkMode: props.darkMode,
|
|
89
|
-
localization: localization.value,
|
|
90
|
-
disabledTitle: isNewView.value,
|
|
91
|
-
disabledExportButton: !isNewView.value,
|
|
92
|
-
disabledLegends: false,
|
|
93
|
-
graphType: props.selectedChartType,
|
|
94
|
-
width: Math.floor(width.value),
|
|
95
|
-
chartCallBack: chartCallback,
|
|
96
|
-
formattedDatetime: $formattedDatetime,
|
|
97
|
-
formatDate: dateFormat,
|
|
98
|
-
isNewView: isNewView.value,
|
|
99
|
-
isShowLinkNewWindow: true,
|
|
100
|
-
newTabCallBack: newTabCallback,
|
|
101
|
-
})
|
|
102
|
-
|
|
103
|
-
chartHelper.value++
|
|
104
|
-
}, 1000)
|
|
105
|
-
|
|
106
|
-
watch(
|
|
107
|
-
() => props.data,
|
|
108
|
-
(newValue) => {
|
|
109
|
-
if (!newValue) {
|
|
110
|
-
isLoading.value = true
|
|
111
|
-
return
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
startChart()
|
|
115
|
-
},
|
|
116
|
-
{ immediate: true }
|
|
117
|
-
)
|
|
118
|
-
|
|
119
|
-
watch(
|
|
120
|
-
() => props.darkMode,
|
|
121
|
-
() => {
|
|
122
|
-
startChart()
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
|
|
126
|
-
watch(
|
|
127
|
-
() => props.language,
|
|
128
|
-
() => {
|
|
129
|
-
dateFormat = $getDateFormat(props.language)
|
|
130
|
-
startChart()
|
|
131
|
-
}
|
|
132
|
-
)
|
|
133
|
-
|
|
134
|
-
watch(
|
|
135
|
-
() => props.selectedChartType,
|
|
136
|
-
() => {
|
|
137
|
-
startChart()
|
|
138
|
-
},
|
|
139
|
-
{ immediate: true }
|
|
140
|
-
)
|
|
141
|
-
|
|
142
|
-
const updateTimeFormatAndInterfaceLang = computed<number>(
|
|
143
|
-
() => $store.getters['main/getUpdateTimeFormatAndInterfaceLang']
|
|
144
|
-
)
|
|
145
|
-
|
|
146
|
-
watch(updateTimeFormatAndInterfaceLang, () => {
|
|
147
|
-
startChart()
|
|
148
|
-
})
|
|
149
|
-
</script>
|
|
150
|
-
|
|
151
|
-
<style scoped lang="scss"></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="chartsView">
|
|
3
|
+
<common-monitor-advanced-graph-view-new
|
|
4
|
+
v-if="isNewView"
|
|
5
|
+
:loading="props.loading"
|
|
6
|
+
:is-loading="isLoading"
|
|
7
|
+
:chart-data="chartData"
|
|
8
|
+
:chart="chart"
|
|
9
|
+
:chart-helper="chartHelper"
|
|
10
|
+
:export-type="props.export"
|
|
11
|
+
:selected-row="props.selectedRow"
|
|
12
|
+
/>
|
|
13
|
+
<common-monitor-advanced-graph-view-old
|
|
14
|
+
v-else
|
|
15
|
+
:loading="props.loading"
|
|
16
|
+
:is-loading="isLoading"
|
|
17
|
+
:chart-data="chartData"
|
|
18
|
+
:chart="chart"
|
|
19
|
+
:chart-helper="chartHelper"
|
|
20
|
+
:export-type="props.export"
|
|
21
|
+
:selected-row="props.selectedRow"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script setup lang="ts">
|
|
27
|
+
import { useDebounceFn, useElementSize } from '@vueuse/core'
|
|
28
|
+
import type {
|
|
29
|
+
I_LineGraph,
|
|
30
|
+
I_SeriesLine,
|
|
31
|
+
} from '~/node_modules/bfg-nuxt-3-graph/graph/lib/models/interfaces'
|
|
32
|
+
import { graphDataFunc } from '~/node_modules/bfg-nuxt-3-graph/graph/lib/utils/renderGraph'
|
|
33
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
34
|
+
|
|
35
|
+
const props = defineProps<{
|
|
36
|
+
loading: boolean
|
|
37
|
+
data: I_SeriesLine | null
|
|
38
|
+
export: string
|
|
39
|
+
selectedRow: number[]
|
|
40
|
+
darkMode: boolean
|
|
41
|
+
language: string
|
|
42
|
+
selectedChartType: string
|
|
43
|
+
}>()
|
|
44
|
+
const emits = defineEmits<{
|
|
45
|
+
(event: 'open-advanced-page'): void
|
|
46
|
+
}>()
|
|
47
|
+
|
|
48
|
+
const { $store, $formattedDatetime, $getDateFormat }: any = useNuxtApp()
|
|
49
|
+
|
|
50
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
51
|
+
|
|
52
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
53
|
+
|
|
54
|
+
const isLoading = ref<boolean>(true)
|
|
55
|
+
|
|
56
|
+
const chartData = ref<I_LineGraph | null>(null)
|
|
57
|
+
|
|
58
|
+
const chart = ref<any>(null)
|
|
59
|
+
const chartHelper = ref<number>(0)
|
|
60
|
+
|
|
61
|
+
const chartCallback = (newValue: any): void => {
|
|
62
|
+
newValue && (chart.value = newValue)
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const newTabCallback = (newValue: boolean): void => {
|
|
66
|
+
newValue && emits('open-advanced-page')
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
watch(
|
|
70
|
+
chart,
|
|
71
|
+
(newValue) => {
|
|
72
|
+
newValue?.hasLoaded && (isLoading.value = false)
|
|
73
|
+
},
|
|
74
|
+
{ immediate: true, deep: true }
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
let dateFormat = ''
|
|
78
|
+
|
|
79
|
+
const chartsView = ref<HTMLDivElement | null>(null)
|
|
80
|
+
const { width } = useElementSize(chartsView)
|
|
81
|
+
|
|
82
|
+
const startChart = useDebounceFn(() => {
|
|
83
|
+
if (!props.data || !width.value) return
|
|
84
|
+
|
|
85
|
+
chartData.value = graphDataFunc({
|
|
86
|
+
fullScreenCallBack: () => ({}),
|
|
87
|
+
graphData: props.data,
|
|
88
|
+
isDarkMode: props.darkMode,
|
|
89
|
+
localization: localization.value,
|
|
90
|
+
disabledTitle: isNewView.value,
|
|
91
|
+
disabledExportButton: !isNewView.value,
|
|
92
|
+
disabledLegends: false,
|
|
93
|
+
graphType: props.selectedChartType,
|
|
94
|
+
width: Math.floor(width.value),
|
|
95
|
+
chartCallBack: chartCallback,
|
|
96
|
+
formattedDatetime: $formattedDatetime,
|
|
97
|
+
formatDate: dateFormat,
|
|
98
|
+
isNewView: isNewView.value,
|
|
99
|
+
isShowLinkNewWindow: true,
|
|
100
|
+
newTabCallBack: newTabCallback,
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
chartHelper.value++
|
|
104
|
+
}, 1000)
|
|
105
|
+
|
|
106
|
+
watch(
|
|
107
|
+
() => props.data,
|
|
108
|
+
(newValue) => {
|
|
109
|
+
if (!newValue) {
|
|
110
|
+
isLoading.value = true
|
|
111
|
+
return
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
startChart()
|
|
115
|
+
},
|
|
116
|
+
{ immediate: true }
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
watch(
|
|
120
|
+
() => props.darkMode,
|
|
121
|
+
() => {
|
|
122
|
+
startChart()
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
watch(
|
|
127
|
+
() => props.language,
|
|
128
|
+
() => {
|
|
129
|
+
dateFormat = $getDateFormat(props.language)
|
|
130
|
+
startChart()
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
watch(
|
|
135
|
+
() => props.selectedChartType,
|
|
136
|
+
() => {
|
|
137
|
+
startChart()
|
|
138
|
+
},
|
|
139
|
+
{ immediate: true }
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
const updateTimeFormatAndInterfaceLang = computed<number>(
|
|
143
|
+
() => $store.getters['main/getUpdateTimeFormatAndInterfaceLang']
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
watch(updateTimeFormatAndInterfaceLang, () => {
|
|
147
|
+
startChart()
|
|
148
|
+
})
|
|
149
|
+
</script>
|
|
150
|
+
|
|
151
|
+
<style scoped lang="scss"></style>
|