bfg-common 1.5.968 → 1.5.970
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 +6 -3
- package/assets/localization/local_en.json +6 -3
- package/assets/localization/local_hy.json +6 -3
- package/assets/localization/local_kk.json +6 -3
- package/assets/localization/local_ru.json +6 -3
- package/assets/localization/local_zh.json +6 -3
- package/components/common/monitor/advanced/Advanced.vue +0 -3
- package/components/common/monitor/advanced/AdvancedNew.vue +0 -2
- package/components/common/monitor/advanced/AdvancedOld.vue +0 -2
- package/components/common/monitor/advanced/tools/Tools.vue +0 -3
- package/components/common/monitor/advanced/tools/ToolsNew.vue +0 -2
- package/components/common/monitor/advanced/tools/ToolsOld.vue +0 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +22 -8
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalNew.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModalOld.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +3 -3
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersNew.vue +6 -3
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/CountersOld.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableNew/TableNew.vue +0 -5
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +3 -3
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/TimespanNew.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/TimespanOld.vue +2 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +10 -9
- package/components/common/monitor/advanced/tools/lib/config/advancedToolbar.ts +2 -2
- package/components/common/pages/backups/modals/createBackup/configuration/backupWindow/BackupWindow.vue +29 -29
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/MaxBandwidth.vue +69 -69
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
- package/components/common/pages/backups/modals/createBackup/configuration/strategy/Strategy.vue +38 -38
- package/components/common/pages/backups/modals/createBackup/lib/models/interfaces.ts +8 -8
- package/components/common/pages/hardwareHealth/HardwareHealth.vue +0 -1
- package/components/common/pages/hardwareHealth/HardwareHealthNew.vue +6 -12
- package/components/common/pages/hardwareHealth/HardwareHealthOld.vue +0 -2
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +0 -1
- package/components/common/pages/hardwareHealth/historyTestimony/GraphNew.vue +0 -17
- package/components/common/pages/hardwareHealth/historyTestimony/GraphOld.vue +0 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +1 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/ToolsOld.vue +0 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +1 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModalNew.vue +1 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModalOld.vue +0 -2
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/Actions.vue +136 -136
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +2 -26
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsOld.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/SaveOptionsModal.vue +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/CountersNew.vue +1 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableNew/TableNew.vue +3 -4
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/TimespanNew.vue +2 -10
- package/components/common/pages/hardwareHealth/tableView/new/lib/config/alertWarningTable.ts +1 -0
- package/components/common/pages/hardwareHealth/tableView/new/lib/config/historyTestimonyTable.ts +1 -0
- package/components/common/pages/hardwareHealth/tableView/new/lib/config/systemLogTable.ts +2 -2
- package/composables/useLocalStorage.ts +1 -1
- package/package.json +1 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/saveOptionsModal/SaveOptionsModal.vue +0 -81
|
@@ -43,7 +43,7 @@ const props = defineProps<{
|
|
|
43
43
|
hostId: string
|
|
44
44
|
selectedMetricsKeys: number[]
|
|
45
45
|
totalMetricItems: number
|
|
46
|
-
|
|
46
|
+
currentSelectedObjects: string
|
|
47
47
|
loading: boolean
|
|
48
48
|
currentItems: UI_I_ObjectItem[]
|
|
49
49
|
}>()
|
|
@@ -228,21 +228,21 @@ watch(
|
|
|
228
228
|
selectedNames = 'total'
|
|
229
229
|
} */
|
|
230
230
|
|
|
231
|
-
emits('select-objects', selectedNames)
|
|
231
|
+
if (!props.currentSelectedObjects) emits('select-objects', selectedNames)
|
|
232
232
|
},
|
|
233
233
|
{ deep: true }
|
|
234
234
|
)
|
|
235
235
|
|
|
236
236
|
watch(
|
|
237
|
-
() => [props.
|
|
238
|
-
([
|
|
237
|
+
() => [props.currentSelectedObjects, bodyItems.value],
|
|
238
|
+
([selectedObjects, all]) => {
|
|
239
239
|
if (!all.length) return
|
|
240
240
|
|
|
241
241
|
if (props.type === 'host' && props.chart === 'cpu') {
|
|
242
|
-
if (
|
|
242
|
+
if (selectedObjects === '*') {
|
|
243
243
|
selectedRow.value = all.map((item) => item[0].id)
|
|
244
244
|
} else {
|
|
245
|
-
const selectedNames =
|
|
245
|
+
const selectedNames = selectedObjects.split(', ')
|
|
246
246
|
const selectedKeys: number[] = []
|
|
247
247
|
all.forEach((item) => {
|
|
248
248
|
if (selectedNames.includes('total') && !selectedKeys.includes(0))
|
|
@@ -256,9 +256,10 @@ watch(
|
|
|
256
256
|
props.type === 'host' &&
|
|
257
257
|
['disk', 'network'].includes(props.chart)
|
|
258
258
|
) {
|
|
259
|
-
if (
|
|
260
|
-
const selectedId = all.find(
|
|
261
|
-
|
|
259
|
+
if (selectedObjects) {
|
|
260
|
+
const selectedId = all.find(
|
|
261
|
+
(item) => item[0].text === selectedObjects
|
|
262
|
+
)?.[0]?.id
|
|
262
263
|
typeof selectedId === 'number' && (selectedRow.value = selectedId)
|
|
263
264
|
}
|
|
264
265
|
}
|
|
@@ -162,11 +162,11 @@ export const getCurrentOptionsStorageFunc = (
|
|
|
162
162
|
routeType: string,
|
|
163
163
|
project: UI_T_Project
|
|
164
164
|
): string[] => {
|
|
165
|
-
const prefix = project === 'sphere'
|
|
165
|
+
// const prefix = project === 'sphere'
|
|
166
166
|
const optionsNames = []
|
|
167
167
|
for (const key of Object.entries(localStorage)) {
|
|
168
168
|
if (key[0].includes('ChartOptions')) {
|
|
169
|
-
const currentOptions = useLocalStorage(key[0], undefined,
|
|
169
|
+
const currentOptions = useLocalStorage(key[0], undefined, false)
|
|
170
170
|
if (
|
|
171
171
|
key[0].includes('ChartOptions') &&
|
|
172
172
|
currentOptions.routeType === routeType
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<atoms-stack-block
|
|
3
|
-
:has-children="false"
|
|
4
|
-
test-id="backup-window-stack-block"
|
|
5
|
-
>
|
|
6
|
-
<template #stackBlockKey>
|
|
7
|
-
<span>{{ localization.common.backupWindow }}</span>
|
|
8
|
-
</template>
|
|
9
|
-
<template #stackBlockContent>
|
|
10
|
-
<input
|
|
11
|
-
v-model="model.start_window_min"
|
|
12
|
-
data-id="hours-input"
|
|
13
|
-
type="number"
|
|
14
|
-
class="hrs"
|
|
15
|
-
/>
|
|
16
|
-
</template>
|
|
17
|
-
</atoms-stack-block>
|
|
18
|
-
</template>
|
|
19
|
-
|
|
20
|
-
<script lang="ts" setup>
|
|
21
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
22
|
-
import type { UI_I_CreateBackupForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
|
|
23
|
-
|
|
24
|
-
const model = defineModel<UI_I_CreateBackupForm>({ required: true })
|
|
25
|
-
|
|
26
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<style lang="scss" scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<atoms-stack-block
|
|
3
|
+
:has-children="false"
|
|
4
|
+
test-id="backup-window-stack-block"
|
|
5
|
+
>
|
|
6
|
+
<template #stackBlockKey>
|
|
7
|
+
<span>{{ localization.common.backupWindow }}</span>
|
|
8
|
+
</template>
|
|
9
|
+
<template #stackBlockContent>
|
|
10
|
+
<input
|
|
11
|
+
v-model="model.start_window_min"
|
|
12
|
+
data-id="hours-input"
|
|
13
|
+
type="number"
|
|
14
|
+
class="hrs"
|
|
15
|
+
/>
|
|
16
|
+
</template>
|
|
17
|
+
</atoms-stack-block>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script lang="ts" setup>
|
|
21
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
22
|
+
import type { UI_I_CreateBackupForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
|
|
23
|
+
|
|
24
|
+
const model = defineModel<UI_I_CreateBackupForm>({ required: true })
|
|
25
|
+
|
|
26
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<style lang="scss" scoped></style>
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<atoms-stack-block
|
|
3
|
-
:has-children="false"
|
|
4
|
-
test-id="backup-max-bandwidth-stack-block"
|
|
5
|
-
>
|
|
6
|
-
<template #stackBlockKey>
|
|
7
|
-
<span>{{ localization.common.maxBandwidth }}</span>
|
|
8
|
-
</template>
|
|
9
|
-
<template #stackBlockContent>
|
|
10
|
-
<div class="flex-align-center">
|
|
11
|
-
<input
|
|
12
|
-
v-model="maxBindwidthLocal"
|
|
13
|
-
data-id="mbps-input"
|
|
14
|
-
type="number"
|
|
15
|
-
class="mbps"
|
|
16
|
-
/>
|
|
17
|
-
|
|
18
|
-
<common-select-input
|
|
19
|
-
v-model="selectedType"
|
|
20
|
-
:data="maxBandwidthOptionsLocal"
|
|
21
|
-
test-id="backup-max-bandwidth-type"
|
|
22
|
-
class="ml-1"
|
|
23
|
-
/>
|
|
24
|
-
</div>
|
|
25
|
-
</template>
|
|
26
|
-
</atoms-stack-block>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script lang="ts" setup>
|
|
30
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
-
import type { UI_I_CreateBackupForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
|
|
32
|
-
import type { UI_T_BandwidthOption } from '~/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/models/types'
|
|
33
|
-
import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/models/interfaces'
|
|
34
|
-
import { maxBandwidthOptions } from '~/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options'
|
|
35
|
-
|
|
36
|
-
const model = defineModel<UI_I_CreateBackupForm>({ required: true })
|
|
37
|
-
|
|
38
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
39
|
-
const { $binary }: any = useNuxtApp()
|
|
40
|
-
|
|
41
|
-
const maxBandwidthOptionsLocal =
|
|
42
|
-
ref<UI_I_SelectInputItem[]>(maxBandwidthOptions)
|
|
43
|
-
|
|
44
|
-
const maxBindwidthLocal = computed<number>({
|
|
45
|
-
get() {
|
|
46
|
-
return selectedType.value === 1
|
|
47
|
-
? $binary.bToGb(model.value.bandwidth_limit)
|
|
48
|
-
: $binary.bToMb(model.value.bandwidth_limit)
|
|
49
|
-
},
|
|
50
|
-
set(newValue: number) {
|
|
51
|
-
model.value.bandwidth_limit =
|
|
52
|
-
selectedType.value === 1
|
|
53
|
-
? $binary.gbToB(newValue)
|
|
54
|
-
: $binary.mbToB(newValue)
|
|
55
|
-
},
|
|
56
|
-
})
|
|
57
|
-
|
|
58
|
-
const selectedType = ref<UI_T_BandwidthOption>(0)
|
|
59
|
-
watch(selectedType, (newValue) => {
|
|
60
|
-
if (newValue === 1) model.value.bandwidth_limit *= 1_024
|
|
61
|
-
else model.value.bandwidth_limit /= 1_024
|
|
62
|
-
})
|
|
63
|
-
</script>
|
|
64
|
-
|
|
65
|
-
<style lang="scss" scoped>
|
|
66
|
-
#backup-transaction-logs {
|
|
67
|
-
margin: 4px 4px 0 0;
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<atoms-stack-block
|
|
3
|
+
:has-children="false"
|
|
4
|
+
test-id="backup-max-bandwidth-stack-block"
|
|
5
|
+
>
|
|
6
|
+
<template #stackBlockKey>
|
|
7
|
+
<span>{{ localization.common.maxBandwidth }}</span>
|
|
8
|
+
</template>
|
|
9
|
+
<template #stackBlockContent>
|
|
10
|
+
<div class="flex-align-center">
|
|
11
|
+
<input
|
|
12
|
+
v-model="maxBindwidthLocal"
|
|
13
|
+
data-id="mbps-input"
|
|
14
|
+
type="number"
|
|
15
|
+
class="mbps"
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<common-select-input
|
|
19
|
+
v-model="selectedType"
|
|
20
|
+
:data="maxBandwidthOptionsLocal"
|
|
21
|
+
test-id="backup-max-bandwidth-type"
|
|
22
|
+
class="ml-1"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
</atoms-stack-block>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script lang="ts" setup>
|
|
30
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
+
import type { UI_I_CreateBackupForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
|
|
32
|
+
import type { UI_T_BandwidthOption } from '~/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/models/types'
|
|
33
|
+
import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/models/interfaces'
|
|
34
|
+
import { maxBandwidthOptions } from '~/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options'
|
|
35
|
+
|
|
36
|
+
const model = defineModel<UI_I_CreateBackupForm>({ required: true })
|
|
37
|
+
|
|
38
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
39
|
+
const { $binary }: any = useNuxtApp()
|
|
40
|
+
|
|
41
|
+
const maxBandwidthOptionsLocal =
|
|
42
|
+
ref<UI_I_SelectInputItem[]>(maxBandwidthOptions)
|
|
43
|
+
|
|
44
|
+
const maxBindwidthLocal = computed<number>({
|
|
45
|
+
get() {
|
|
46
|
+
return selectedType.value === 1
|
|
47
|
+
? $binary.bToGb(model.value.bandwidth_limit)
|
|
48
|
+
: $binary.bToMb(model.value.bandwidth_limit)
|
|
49
|
+
},
|
|
50
|
+
set(newValue: number) {
|
|
51
|
+
model.value.bandwidth_limit =
|
|
52
|
+
selectedType.value === 1
|
|
53
|
+
? $binary.gbToB(newValue)
|
|
54
|
+
: $binary.mbToB(newValue)
|
|
55
|
+
},
|
|
56
|
+
})
|
|
57
|
+
|
|
58
|
+
const selectedType = ref<UI_T_BandwidthOption>(0)
|
|
59
|
+
watch(selectedType, (newValue) => {
|
|
60
|
+
if (newValue === 1) model.value.bandwidth_limit *= 1_024
|
|
61
|
+
else model.value.bandwidth_limit /= 1_024
|
|
62
|
+
})
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<style lang="scss" scoped>
|
|
66
|
+
#backup-transaction-logs {
|
|
67
|
+
margin: 4px 4px 0 0;
|
|
68
|
+
}
|
|
69
|
+
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {UI_I_SelectInputItem} from "~/components/common/select/input/lib/models/interfaces";
|
|
2
|
-
|
|
3
|
-
export const maxBandwidthOptions: UI_I_SelectInputItem[] = [
|
|
4
|
-
{ label: 'Mbps', value: 0 },
|
|
5
|
-
{ label: 'Gbps', value: 1 },
|
|
6
|
-
]
|
|
1
|
+
import type {UI_I_SelectInputItem} from "~/components/common/select/input/lib/models/interfaces";
|
|
2
|
+
|
|
3
|
+
export const maxBandwidthOptions: UI_I_SelectInputItem[] = [
|
|
4
|
+
{ label: 'Mbps', value: 0 },
|
|
5
|
+
{ label: 'Gbps', value: 1 },
|
|
6
|
+
]
|
package/components/common/pages/backups/modals/createBackup/configuration/strategy/Strategy.vue
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<atoms-stack-block
|
|
3
|
-
:has-children="false"
|
|
4
|
-
test-id="backup-strategy-stack-block"
|
|
5
|
-
>
|
|
6
|
-
<template #stackBlockKey>
|
|
7
|
-
<span>{{ localization.common.strategy }}</span>
|
|
8
|
-
</template>
|
|
9
|
-
<template #stackBlockContent>
|
|
10
|
-
<common-select-input
|
|
11
|
-
v-model="model.strategy"
|
|
12
|
-
:data="strategyOptions"
|
|
13
|
-
test-id="backup-strategy"
|
|
14
|
-
/>
|
|
15
|
-
</template>
|
|
16
|
-
</atoms-stack-block>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<script lang="ts" setup>
|
|
20
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
21
|
-
import type { UI_I_CreateBackupForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
|
|
22
|
-
import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/models/interfaces'
|
|
23
|
-
import { strategyOptionsFunc } from '~/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions'
|
|
24
|
-
|
|
25
|
-
const model = defineModel<UI_I_CreateBackupForm>({ required: true })
|
|
26
|
-
|
|
27
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
28
|
-
|
|
29
|
-
const strategyOptions = ref<UI_I_SelectInputItem[]>(
|
|
30
|
-
strategyOptionsFunc(localization.value)
|
|
31
|
-
)
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<style lang="scss" scoped>
|
|
35
|
-
#backup-transaction-logs {
|
|
36
|
-
margin: 4px 4px 0 0;
|
|
37
|
-
}
|
|
38
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<atoms-stack-block
|
|
3
|
+
:has-children="false"
|
|
4
|
+
test-id="backup-strategy-stack-block"
|
|
5
|
+
>
|
|
6
|
+
<template #stackBlockKey>
|
|
7
|
+
<span>{{ localization.common.strategy }}</span>
|
|
8
|
+
</template>
|
|
9
|
+
<template #stackBlockContent>
|
|
10
|
+
<common-select-input
|
|
11
|
+
v-model="model.strategy"
|
|
12
|
+
:data="strategyOptions"
|
|
13
|
+
test-id="backup-strategy"
|
|
14
|
+
/>
|
|
15
|
+
</template>
|
|
16
|
+
</atoms-stack-block>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script lang="ts" setup>
|
|
20
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
21
|
+
import type { UI_I_CreateBackupForm } from '~/components/common/pages/backups/modals/lib/models/interfaces'
|
|
22
|
+
import type { UI_I_SelectInputItem } from '~/components/common/select/input/lib/models/interfaces'
|
|
23
|
+
import { strategyOptionsFunc } from '~/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions'
|
|
24
|
+
|
|
25
|
+
const model = defineModel<UI_I_CreateBackupForm>({ required: true })
|
|
26
|
+
|
|
27
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
28
|
+
|
|
29
|
+
const strategyOptions = ref<UI_I_SelectInputItem[]>(
|
|
30
|
+
strategyOptionsFunc(localization.value)
|
|
31
|
+
)
|
|
32
|
+
</script>
|
|
33
|
+
|
|
34
|
+
<style lang="scss" scoped>
|
|
35
|
+
#backup-transaction-logs {
|
|
36
|
+
margin: 4px 4px 0 0;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface UI_I_DynamicSteps {
|
|
2
|
-
general: number
|
|
3
|
-
disks: number
|
|
4
|
-
datastores: number
|
|
5
|
-
configuration: number
|
|
6
|
-
readyComplete: number
|
|
7
|
-
schedulingOptions: number
|
|
8
|
-
}
|
|
1
|
+
export interface UI_I_DynamicSteps {
|
|
2
|
+
general: number
|
|
3
|
+
disks: number
|
|
4
|
+
datastores: number
|
|
5
|
+
configuration: number
|
|
6
|
+
readyComplete: number
|
|
7
|
+
schedulingOptions: number
|
|
8
|
+
}
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
:language="props.language"
|
|
41
41
|
:valid-date-end="props.validDateEnd"
|
|
42
42
|
:format-date="props.formatDate"
|
|
43
|
-
:selected-host-name="props.selectedHostName"
|
|
44
43
|
:hardware-health-tabs="hardwareHealthTabs"
|
|
45
44
|
:generated-alert-text="generateAlertTextWithLink"
|
|
46
45
|
@update-history-testimony-tools="
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
@update-tools="emits('update-history-testimony-tools', $event)"
|
|
82
82
|
/>
|
|
83
83
|
|
|
84
|
-
<div
|
|
84
|
+
<div class="table-content pt-4 h-full overflow-hidden px-[6px]">
|
|
85
85
|
<common-pages-hardware-health-table-view-new
|
|
86
86
|
:table-data="tableData || []"
|
|
87
87
|
:total-items="tableData?.length || 0"
|
|
@@ -202,9 +202,8 @@ const statusCounts = computed<UI_I_IndicatorAlerts>(() => {
|
|
|
202
202
|
margin-top: 16px;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
.alert-text {
|
|
206
206
|
color: var(--title-form-first-color);
|
|
207
|
-
line-height: 20px;
|
|
208
207
|
}
|
|
209
208
|
|
|
210
209
|
.alert-text-link {
|
|
@@ -227,17 +226,12 @@ const statusCounts = computed<UI_I_IndicatorAlerts>(() => {
|
|
|
227
226
|
overflow-y: auto;
|
|
228
227
|
margin-top: 24px;
|
|
229
228
|
|
|
230
|
-
.
|
|
231
|
-
|
|
232
|
-
padding-top: 12px;
|
|
229
|
+
:deep(.graph-containers) {
|
|
230
|
+
padding-bottom: 16px;
|
|
233
231
|
}
|
|
234
|
-
}
|
|
235
232
|
|
|
236
|
-
.table-content {
|
|
237
|
-
|
|
238
|
-
:deep(.data-table-header th) {
|
|
239
|
-
min-width: max-content !important;
|
|
240
|
-
}
|
|
233
|
+
.table-content {
|
|
234
|
+
margin-top: 0;
|
|
241
235
|
}
|
|
242
236
|
}
|
|
243
237
|
</style>
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
:main-selected-row="mainSelectedRow"
|
|
54
54
|
:valid-date-end="props.validDateEnd"
|
|
55
55
|
:format-date="props.formatDate"
|
|
56
|
-
:selected-host-name="props.selectedHostName"
|
|
57
56
|
@update-tools="emits('update-history-testimony-tools', $event)"
|
|
58
57
|
/>
|
|
59
58
|
|
|
@@ -103,7 +102,6 @@ const props = defineProps<{
|
|
|
103
102
|
language: string
|
|
104
103
|
validDateEnd: number
|
|
105
104
|
formatDate: string
|
|
106
|
-
selectedHostName: string
|
|
107
105
|
hardwareHealthTabs: UI_I_CollapseNavItem[]
|
|
108
106
|
generatedAlertText: UI_I_StorageSensorsAlert
|
|
109
107
|
}>()
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
:point-start="props.powerData?.pointStart || 0"
|
|
75
75
|
:point-end="props.powerData?.pointEnd || 0"
|
|
76
76
|
:group-name="props.powerData?.groupName || ''"
|
|
77
|
-
:selected-host-name="props.selectedHostName"
|
|
78
77
|
:selected-chart-type="selectedChartType"
|
|
79
78
|
:is-show-chart-modal="isShowChartModal"
|
|
80
79
|
:selected-power-counters-keys="selectedPowerCountersKeys"
|
|
@@ -189,22 +189,5 @@ const emits = defineEmits<{
|
|
|
189
189
|
:deep(.ui-popup-window) {
|
|
190
190
|
max-height: max-content !important;
|
|
191
191
|
}
|
|
192
|
-
|
|
193
|
-
:deep(.skeleton-metric) {
|
|
194
|
-
.burger {
|
|
195
|
-
height: 14px;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.names-skeleton-row {
|
|
199
|
-
.skeleton-item {
|
|
200
|
-
width: 120px !important;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.image-container {
|
|
205
|
-
background-size: contain;
|
|
206
|
-
background-position: bottom;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
192
|
}
|
|
210
193
|
</style>
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
:timespan-period-type="props.timespanPeriodType"
|
|
25
25
|
:valid-date-end="props.validDateEnd"
|
|
26
26
|
:format-date="props.formatDate"
|
|
27
|
-
:selected-host-name="props.selectedHostName"
|
|
28
27
|
@show-chart-modal="emits('show-chart-modal')"
|
|
29
28
|
@hide-chart-modal="emits('hide-chart-modal')"
|
|
30
29
|
@update-tools="emits('update-tools', $event)"
|
|
@@ -113,7 +112,6 @@ const props = defineProps<{
|
|
|
113
112
|
pointStart: number
|
|
114
113
|
pointEnd: number
|
|
115
114
|
groupName: string
|
|
116
|
-
selectedHostName: string
|
|
117
115
|
isShowChartModal: boolean
|
|
118
116
|
selectedChartType: string
|
|
119
117
|
selectedPowerCountersKeys: number[]
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
:chart-title-date="chartTitleDate"
|
|
67
67
|
:period-options="periodOptions"
|
|
68
68
|
:selected-timespan-type="props.selectedTimespanType"
|
|
69
|
-
:selected-host-name="props.selectedHostName"
|
|
70
69
|
@show-chart-modal="emits('show-chart-modal')"
|
|
71
70
|
@hide-chart-modal="emits('hide-chart-modal')"
|
|
72
71
|
@update-tools="onUpdateTools"
|
|
@@ -117,7 +116,7 @@ const props = defineProps<{
|
|
|
117
116
|
timespanPeriodType: string
|
|
118
117
|
validDateEnd: number
|
|
119
118
|
formatDate: string
|
|
120
|
-
selectedHostName
|
|
119
|
+
selectedHostName?: string
|
|
121
120
|
}>()
|
|
122
121
|
const emits = defineEmits<{
|
|
123
122
|
(event: 'show-chart-modal'): void
|
|
@@ -82,7 +82,6 @@
|
|
|
82
82
|
:timespan-period-type="props.timespanPeriodType"
|
|
83
83
|
:valid-date-end="props.validDateEnd"
|
|
84
84
|
:format-date="props.formatDate"
|
|
85
|
-
:selected-host-name="props.selectedHostName"
|
|
86
85
|
@hide="emits('hide-chart-modal')"
|
|
87
86
|
@select-metric-local="emits('select-metric-local', $event)"
|
|
88
87
|
@power-selected-rows-local="emits('power-selected-rows-local', $event)"
|
|
@@ -134,7 +133,6 @@ const props = defineProps<{
|
|
|
134
133
|
formatDate: string
|
|
135
134
|
chartTitleDate: string
|
|
136
135
|
periodOptions: UI_I_OptionItem[]
|
|
137
|
-
selectedHostName: string
|
|
138
136
|
}>()
|
|
139
137
|
|
|
140
138
|
const emits = defineEmits<{
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-old
|
|
42
42
|
v-else
|
|
43
43
|
v-model:selected-metric="selectedMetric"
|
|
44
|
-
:selected-node-name="props.selectedHostName"
|
|
45
44
|
:is-disabled-submit="isDisabledSubmit"
|
|
46
45
|
:alerts="alerts"
|
|
47
46
|
:is-show-alerts="isShowAlerts"
|
|
@@ -116,7 +115,7 @@ const props = defineProps<{
|
|
|
116
115
|
timespanPeriodType: string
|
|
117
116
|
validDateEnd: number
|
|
118
117
|
formatDate: string
|
|
119
|
-
selectedHostName
|
|
118
|
+
selectedHostName?: string
|
|
120
119
|
}>()
|
|
121
120
|
|
|
122
121
|
const emits = defineEmits<{
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
:is-disabled-save="!props.currentSelectedRows.length"
|
|
24
24
|
:options-names="props.optionsNames"
|
|
25
25
|
:selected-chart-option-name="props.selectedChartOptionName"
|
|
26
|
-
:selected-node-name="props.selectedNodeName"
|
|
27
26
|
@save="emits('save-options', $event)"
|
|
28
27
|
@check-validation="emits('check-validations')"
|
|
29
28
|
@select-local-option-name="
|
|
@@ -114,7 +113,7 @@ const props = defineProps<{
|
|
|
114
113
|
customTimeFrom: string
|
|
115
114
|
customTimeTo: string
|
|
116
115
|
validDateEnd: number
|
|
117
|
-
selectedNodeName
|
|
116
|
+
selectedNodeName?: string
|
|
118
117
|
}>()
|
|
119
118
|
|
|
120
119
|
const emits = defineEmits<{
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
:is-disabled-save="!props.currentSelectedRows.length"
|
|
20
20
|
:options-names="props.optionsNames"
|
|
21
21
|
:selected-chart-option-name="props.selectedChartOptionName"
|
|
22
|
-
:selected-node-name="props.selectedNodeName"
|
|
23
22
|
@save="emits('save-options', $event)"
|
|
24
23
|
@check-validation="emits('check-validation')"
|
|
25
24
|
@select-local-option-name="
|
|
@@ -106,7 +105,6 @@ const props = defineProps<{
|
|
|
106
105
|
customTimeFrom: string
|
|
107
106
|
customTimeTo: string
|
|
108
107
|
validDateEnd: number
|
|
109
|
-
selectedNodeName: string
|
|
110
108
|
}>()
|
|
111
109
|
const emits = defineEmits<{
|
|
112
110
|
(event: 'hide'): void
|