bfg-common 1.4.721 → 1.4.723
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/components/common/monitor/advanced/Advanced.vue +244 -239
- package/components/common/monitor/advanced/tools/Tools.vue +447 -440
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +511 -504
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +108 -106
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +95 -93
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/Form.vue +544 -539
- package/components/common/pages/hardwareHealth/HardwareHealth.vue +213 -206
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +456 -451
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +387 -380
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +494 -487
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +96 -94
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +68 -66
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +544 -539
- package/package.json +1 -1
|
@@ -1,94 +1,96 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="vertical-flex-container chart-option-counters-container">
|
|
3
|
-
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-counters-table
|
|
4
|
-
:chart="props.chart"
|
|
5
|
-
:selected-power-keys="props.selectedPowerKeys"
|
|
6
|
-
:selected-temperature-keys="props.selectedTemperatureKeys"
|
|
7
|
-
:power-counters-table-data="props.powerCountersTableData"
|
|
8
|
-
:temperature-counters-table-data="props.temperatureCountersTableData"
|
|
9
|
-
@select-power-row="emits('select-power-row', $event)"
|
|
10
|
-
@select-temperature-row="emits('select-temperature-row', $event)"
|
|
11
|
-
@total-items="totalMetricItems = $event"
|
|
12
|
-
/>
|
|
13
|
-
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-counters-timespan
|
|
14
|
-
:language="props.language"
|
|
15
|
-
:selected-chart-type="props.selectedChartType"
|
|
16
|
-
:selected-timespan-type="props.selectedTimespanType"
|
|
17
|
-
:units-count="props.unitsCount"
|
|
18
|
-
:timespan-period-type="props.timespanPeriodType"
|
|
19
|
-
:selected-custom-time="props.selectedCustomTime"
|
|
20
|
-
:custom-date-from="props.customDateFrom"
|
|
21
|
-
:custom-date-to="props.customDateTo"
|
|
22
|
-
:custom-time-from="props.customTimeFrom"
|
|
23
|
-
:custom-time-to="props.customTimeTo"
|
|
24
|
-
|
|
25
|
-
@update-
|
|
26
|
-
@update-
|
|
27
|
-
@update-
|
|
28
|
-
@update-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@update-custom-date-
|
|
33
|
-
@update-custom-
|
|
34
|
-
@update-custom-time-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
import type {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
(event: 'update-
|
|
70
|
-
(event: 'update-
|
|
71
|
-
(event: 'update-timespan-
|
|
72
|
-
(event: 'update-
|
|
73
|
-
(event: 'update-
|
|
74
|
-
(event: 'update-custom-
|
|
75
|
-
(event: 'update-custom-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="vertical-flex-container chart-option-counters-container">
|
|
3
|
+
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-counters-table
|
|
4
|
+
:chart="props.chart"
|
|
5
|
+
:selected-power-keys="props.selectedPowerKeys"
|
|
6
|
+
:selected-temperature-keys="props.selectedTemperatureKeys"
|
|
7
|
+
:power-counters-table-data="props.powerCountersTableData"
|
|
8
|
+
:temperature-counters-table-data="props.temperatureCountersTableData"
|
|
9
|
+
@select-power-row="emits('select-power-row', $event)"
|
|
10
|
+
@select-temperature-row="emits('select-temperature-row', $event)"
|
|
11
|
+
@total-items="totalMetricItems = $event"
|
|
12
|
+
/>
|
|
13
|
+
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-counters-timespan
|
|
14
|
+
:language="props.language"
|
|
15
|
+
:selected-chart-type="props.selectedChartType"
|
|
16
|
+
:selected-timespan-type="props.selectedTimespanType"
|
|
17
|
+
:units-count="props.unitsCount"
|
|
18
|
+
:timespan-period-type="props.timespanPeriodType"
|
|
19
|
+
:selected-custom-time="props.selectedCustomTime"
|
|
20
|
+
:custom-date-from="props.customDateFrom"
|
|
21
|
+
:custom-date-to="props.customDateTo"
|
|
22
|
+
:custom-time-from="props.customTimeFrom"
|
|
23
|
+
:custom-time-to="props.customTimeTo"
|
|
24
|
+
:valid-date-end="props.validDateEnd"
|
|
25
|
+
@update-chart-type="emits('update-chart-type', $event)"
|
|
26
|
+
@update-custom-time="emits('update-custom-time', $event)"
|
|
27
|
+
@update-timespan-type="emits('update-timespan-type', $event)"
|
|
28
|
+
@update-unit-count="emits('update-unit-count', $event)"
|
|
29
|
+
@update-timespan-period-type="
|
|
30
|
+
emits('update-timespan-period-type', $event)
|
|
31
|
+
"
|
|
32
|
+
@update-custom-date-from="emits('update-custom-date-from', $event)"
|
|
33
|
+
@update-custom-date-to="emits('update-custom-date-to', $event)"
|
|
34
|
+
@update-custom-time-from="emits('update-custom-time-from', $event)"
|
|
35
|
+
@update-custom-time-to="emits('update-custom-time-to', $event)"
|
|
36
|
+
/>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script setup lang="ts">
|
|
41
|
+
import type { UI_I_HardwareHealthSensorsGraph } from '~/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces'
|
|
42
|
+
import type { UI_T_Chart } from '~/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/types'
|
|
43
|
+
|
|
44
|
+
const props = defineProps<{
|
|
45
|
+
chart: UI_T_Chart
|
|
46
|
+
selectedPowerKeys: number[]
|
|
47
|
+
selectedTemperatureKeys: number[]
|
|
48
|
+
powerCountersTableData: UI_I_HardwareHealthSensorsGraph[]
|
|
49
|
+
temperatureCountersTableData: UI_I_HardwareHealthSensorsGraph[]
|
|
50
|
+
language: string
|
|
51
|
+
selectedChartType: string
|
|
52
|
+
selectedTimespanType: string
|
|
53
|
+
unitsCount: number
|
|
54
|
+
timespanPeriodType: string
|
|
55
|
+
selectedCustomTime: string
|
|
56
|
+
customDateFrom: string
|
|
57
|
+
customDateTo: string
|
|
58
|
+
customTimeFrom: string
|
|
59
|
+
customTimeTo: string
|
|
60
|
+
validDateEnd: number
|
|
61
|
+
}>()
|
|
62
|
+
|
|
63
|
+
const emits = defineEmits<{
|
|
64
|
+
(event: 'select-power-row', value: UI_I_HardwareHealthSensorsGraph[]): void
|
|
65
|
+
(
|
|
66
|
+
event: 'select-temperature-row',
|
|
67
|
+
value: UI_I_HardwareHealthSensorsGraph[]
|
|
68
|
+
): void
|
|
69
|
+
(event: 'update-chart-type', value: string): void
|
|
70
|
+
(event: 'update-custom-time', value: string): void
|
|
71
|
+
(event: 'update-timespan-type', value: string): void
|
|
72
|
+
(event: 'update-unit-count', value: number): void
|
|
73
|
+
(event: 'update-timespan-period-type', value: string): void
|
|
74
|
+
(event: 'update-custom-date-from', value: string): void
|
|
75
|
+
(event: 'update-custom-date-to', value: string): void
|
|
76
|
+
(event: 'update-custom-time-from', value: string): void
|
|
77
|
+
(event: 'update-custom-time-to', value: string): void
|
|
78
|
+
}>()
|
|
79
|
+
|
|
80
|
+
const totalMetricItems = ref<number>(0)
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<style scoped lang="scss">
|
|
84
|
+
.chart-option-counters-container {
|
|
85
|
+
margin-top: 20px;
|
|
86
|
+
flex-basis: 80%;
|
|
87
|
+
padding-left: 15px;
|
|
88
|
+
max-width: 80%;
|
|
89
|
+
}
|
|
90
|
+
@media (max-width: 1024px) {
|
|
91
|
+
.chart-option-counters-container {
|
|
92
|
+
max-width: unset;
|
|
93
|
+
padding-left: 0;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
</style>
|
|
@@ -1,66 +1,68 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="timespan-objects-section-direction">
|
|
3
|
-
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-counters-timespan-form
|
|
4
|
-
:language="props.language"
|
|
5
|
-
:selected-chart-type="props.selectedChartType"
|
|
6
|
-
:selected-timespan-type="props.selectedTimespanType"
|
|
7
|
-
:units-count="props.unitsCount"
|
|
8
|
-
:timespan-period-type="props.timespanPeriodType"
|
|
9
|
-
:selected-custom-time="props.selectedCustomTime"
|
|
10
|
-
:custom-date-from="props.customDateFrom"
|
|
11
|
-
:custom-date-to="props.customDateTo"
|
|
12
|
-
:custom-time-from="props.customTimeFrom"
|
|
13
|
-
:custom-time-to="props.customTimeTo"
|
|
14
|
-
|
|
15
|
-
@update-
|
|
16
|
-
@update-
|
|
17
|
-
@update-
|
|
18
|
-
@update-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@update-custom-date-
|
|
23
|
-
@update-custom-
|
|
24
|
-
@update-custom-time-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
(event: 'update-
|
|
47
|
-
(event: 'update-
|
|
48
|
-
(event: 'update-timespan-
|
|
49
|
-
(event: 'update-
|
|
50
|
-
(event: 'update-
|
|
51
|
-
(event: 'update-custom-
|
|
52
|
-
(event: 'update-custom-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="timespan-objects-section-direction">
|
|
3
|
+
<common-pages-hardware-health-history-testimony-tools-chart-options-modal-counters-timespan-form
|
|
4
|
+
:language="props.language"
|
|
5
|
+
:selected-chart-type="props.selectedChartType"
|
|
6
|
+
:selected-timespan-type="props.selectedTimespanType"
|
|
7
|
+
:units-count="props.unitsCount"
|
|
8
|
+
:timespan-period-type="props.timespanPeriodType"
|
|
9
|
+
:selected-custom-time="props.selectedCustomTime"
|
|
10
|
+
:custom-date-from="props.customDateFrom"
|
|
11
|
+
:custom-date-to="props.customDateTo"
|
|
12
|
+
:custom-time-from="props.customTimeFrom"
|
|
13
|
+
:custom-time-to="props.customTimeTo"
|
|
14
|
+
:valid-date-end="props.validDateEnd"
|
|
15
|
+
@update-chart-type="emits('update-chart-type', $event)"
|
|
16
|
+
@update-custom-time="emits('update-custom-time', $event)"
|
|
17
|
+
@update-timespan-type="emits('update-timespan-type', $event)"
|
|
18
|
+
@update-unit-count="emits('update-unit-count', $event)"
|
|
19
|
+
@update-timespan-period-type="
|
|
20
|
+
emits('update-timespan-period-type', $event)
|
|
21
|
+
"
|
|
22
|
+
@update-custom-date-from="emits('update-custom-date-from', $event)"
|
|
23
|
+
@update-custom-date-to="emits('update-custom-date-to', $event)"
|
|
24
|
+
@update-custom-time-from="emits('update-custom-time-from', $event)"
|
|
25
|
+
@update-custom-time-to="emits('update-custom-time-to', $event)"
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script setup lang="ts">
|
|
31
|
+
const props = defineProps<{
|
|
32
|
+
language: string
|
|
33
|
+
selectedChartType: string
|
|
34
|
+
selectedTimespanType: string
|
|
35
|
+
unitsCount: number
|
|
36
|
+
timespanPeriodType: string
|
|
37
|
+
selectedCustomTime: string
|
|
38
|
+
customDateFrom: string
|
|
39
|
+
customDateTo: string
|
|
40
|
+
customTimeFrom: string
|
|
41
|
+
customTimeTo: string
|
|
42
|
+
validDateEnd: number
|
|
43
|
+
}>()
|
|
44
|
+
|
|
45
|
+
const emits = defineEmits<{
|
|
46
|
+
(event: 'update-chart-type', value: string): void
|
|
47
|
+
(event: 'update-custom-time', value: string): void
|
|
48
|
+
(event: 'update-timespan-type', value: string): void
|
|
49
|
+
(event: 'update-unit-count', value: number): void
|
|
50
|
+
(event: 'update-timespan-period-type', value: string): void
|
|
51
|
+
(event: 'update-custom-date-from', value: string): void
|
|
52
|
+
(event: 'update-custom-date-to', value: string): void
|
|
53
|
+
(event: 'update-custom-time-from', value: string): void
|
|
54
|
+
(event: 'update-custom-time-to', value: string): void
|
|
55
|
+
}>()
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<style scoped lang="scss">
|
|
59
|
+
.timespan-objects-section-direction {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
}
|
|
63
|
+
@media (max-width: 1024px) {
|
|
64
|
+
.timespan-objects-section-direction {
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
</style>
|