bfg-common 1.4.730 → 1.4.732
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 +1 -0
- package/assets/localization/local_en.json +1 -0
- package/assets/localization/local_hy.json +1 -0
- package/assets/localization/local_kk.json +1 -0
- package/assets/localization/local_ru.json +1 -0
- package/assets/localization/local_zh.json +1 -0
- package/assets/scss/common/normalize.scss +361 -361
- package/components/atoms/TheIcon3.vue +50 -50
- package/components/atoms/modal/bySteps/BySteps.vue +253 -253
- package/components/atoms/select/TheSelect.vue +1 -10
- package/components/atoms/stack/StackBlock.vue +185 -185
- package/components/atoms/table/dataGrid/DataGrid.vue +1696 -1696
- package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +222 -222
- package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +91 -91
- package/components/common/browse/BrowseNew.vue +237 -237
- package/components/common/browse/BrowseOld.vue +217 -217
- package/components/common/browse/blocks/contents/Files.vue +37 -37
- package/components/common/browse/blocks/contents/FilesOld.vue +72 -72
- package/components/common/browse/blocks/contents/filesNew/FilesNew.vue +96 -96
- package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
- package/components/common/{monitor/advanced/tools/chartOptionsModal → chartOptionsModal}/counters/timespan/form/Form.vue +544 -539
- package/components/common/{pages/hardwareHealth/historyTestimony/tools/chartOptionsModal → chartOptionsModal}/counters/timespan/form/lib/config/dateForm.ts +116 -115
- package/components/common/context/lib/models/interfaces.ts +30 -30
- package/components/common/context/recursion/Recursion.vue +86 -86
- package/components/common/context/recursion/RecursionOld.vue +213 -213
- package/components/common/layout/theHeader/helpMenu/About.vue +82 -82
- package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +103 -103
- package/components/common/mainNavigationPanel/MainNavigationPanel.vue +150 -150
- package/components/common/mainNavigationPanel/MainNavigationPanelOld.vue +300 -300
- package/components/common/modals/confirmByInput/ConfirmByInput.vue +206 -206
- package/components/common/modals/unsavedChanges/UnsavedChanges.vue +56 -56
- package/components/common/monitor/advanced/Advanced.vue +5 -0
- package/components/common/monitor/advanced/tools/Tools.vue +9 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +9 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +2 -0
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +95 -93
- package/components/common/monitor/overview/filters/Filters.vue +3 -0
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +15 -5
- package/components/common/monitor/overview/filters/customIntervalModal/lib/config/dateChecker.ts +24 -14
- package/components/common/pages/hardwareHealth/HardwareHealth.vue +12 -5
- 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 +13 -6
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +94 -94
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +66 -66
- package/components/common/pages/home/StatusContent.vue +49 -49
- package/components/common/pages/home/headline/Headline.vue +44 -44
- package/components/common/pages/home/headline/HeadlineNew.vue +71 -71
- package/components/common/pages/home/lib/models/interfaces.ts +48 -48
- package/components/common/pages/home/widgets/Widgets.vue +49 -49
- package/components/common/pages/home/widgets/WidgetsNew.vue +86 -86
- package/components/common/pages/home/widgets/WidgetsOld.vue +34 -34
- package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
- package/components/common/pages/home/widgets/hosts/HostsNew.vue +100 -100
- package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
- package/components/common/pages/home/widgets/services/lib/config/config.ts +108 -108
- package/components/common/pages/home/widgets/vms/Vms.vue +26 -26
- package/components/common/pages/home/widgets/vms/VmsNew.vue +101 -101
- package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
- package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
- package/components/common/recursionTree/RecursionTree.vue +223 -223
- package/components/common/select/button/ButtonDropdown.vue +108 -108
- package/components/common/spiceConsole/Drawer.vue +370 -370
- package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
- package/components/common/split/vertical/Vertical.vue +160 -160
- package/components/common/vm/actions/add/Add.vue +0 -2
- package/components/common/vm/actions/clone/Clone.vue +0 -2
- package/components/common/vm/actions/clone/lib/config/steps.ts +129 -129
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +0 -3
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +0 -2
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +0 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +1 -9
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +2 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +1 -3
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/BrowseView.vue +219 -219
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +117 -117
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +161 -161
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +165 -165
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +25 -25
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +70 -70
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaOld.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +338 -338
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +4 -6
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +220 -220
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeOld.vue +56 -56
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +44 -44
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +281 -281
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +124 -124
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/LocationOld.vue +134 -134
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/New.vue +63 -63
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/lib/config/config.ts +95 -95
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +69 -69
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressOld.vue +83 -83
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +6 -38
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +5 -31
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +5 -31
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +35 -35
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +2 -9
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +48 -48
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +4 -11
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +15 -15
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteNew.vue +42 -42
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteOld.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionOld.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +56 -56
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +104 -104
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +112 -112
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +54 -54
- package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +145 -145
- package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +102 -102
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +75 -75
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +26 -26
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +57 -57
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +42 -42
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +25 -25
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +171 -171
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +50 -50
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +141 -141
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +140 -140
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +30 -30
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +39 -39
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +103 -103
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +102 -102
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordOld.vue +94 -94
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +28 -28
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +38 -38
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -44
- package/components/common/vm/actions/common/select/storage/Storage.vue +130 -130
- package/components/common/vm/actions/common/select/storage/StorageOld.vue +129 -129
- package/components/common/vm/actions/editSettings/EditSettings.vue +0 -3
- package/components/common/vm/actions/editSettings/EditSettingsOld.vue +0 -2
- package/components/common/vm/actions/editSettings/new/New.vue +0 -2
- package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
- package/composables/productNameLocal.ts +30 -30
- package/composables/useAppVersion.ts +21 -21
- package/package.json +1 -1
- package/plugins/date.ts +233 -233
- package/plugins/recursion.ts +311 -311
- package/public/spice-console/lib/images/bitmap.js +203 -203
- package/public/spice-console/network/spicechannel.js +383 -383
- package/store/main/mutations.ts +7 -7
- package/store/main/state.ts +7 -7
- package/store/tasks/mappers/recentTasks.ts +64 -64
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +0 -114
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +0 -539
|
@@ -42,19 +42,20 @@
|
|
|
42
42
|
:selected-chart-type="localSelectedChartType"
|
|
43
43
|
:selected-timespan-type="localSelectedTimespanType"
|
|
44
44
|
:units-count="localUnitsCount"
|
|
45
|
-
:
|
|
45
|
+
:period-type="localTimespanPeriodType"
|
|
46
46
|
:selected-custom-time="localCustomTime"
|
|
47
47
|
:custom-date-from="props.customDateFrom"
|
|
48
48
|
:custom-date-to="props.customDateTo"
|
|
49
49
|
:custom-time-from="props.customTimeFrom"
|
|
50
50
|
:custom-time-to="props.customTimeTo"
|
|
51
|
+
:valid-date-end="props.validDateEnd"
|
|
51
52
|
@select-power-row="onSelectPowerRow"
|
|
52
53
|
@select-temperature-row="onSelectTemperatureRow"
|
|
53
54
|
@update-chart-type="selectedChartTypeLocal = $event"
|
|
54
55
|
@update-custom-time="localCustomTime = $event"
|
|
55
56
|
@update-timespan-type="timespanType = $event"
|
|
56
57
|
@update-unit-count="unitCount = $event"
|
|
57
|
-
@update-
|
|
58
|
+
@update-period-type="localTimespanPeriodType = $event"
|
|
58
59
|
@update-custom-date-from="onUpdateCustomDateFrom"
|
|
59
60
|
@update-custom-date-to="onUpdateCustomDateTo"
|
|
60
61
|
@update-custom-time-from="onUpdateCustomTimeFrom"
|
|
@@ -95,6 +96,8 @@ const props = defineProps<{
|
|
|
95
96
|
customTimeFrom: string
|
|
96
97
|
customTimeTo: string
|
|
97
98
|
timespanPeriodType: string
|
|
99
|
+
validDateEnd: number
|
|
100
|
+
formatDate: string
|
|
98
101
|
}>()
|
|
99
102
|
|
|
100
103
|
const emits = defineEmits<{
|
|
@@ -111,7 +114,7 @@ const emits = defineEmits<{
|
|
|
111
114
|
(event: 'update-chart-type', value: string): void
|
|
112
115
|
(event: 'update-timespan-type', value: string): void
|
|
113
116
|
(event: 'update-unit-count', value: number): void
|
|
114
|
-
(event: 'update-
|
|
117
|
+
(event: 'update-period-type', value: string): void
|
|
115
118
|
(event: 'update-custom-time', value: string): void
|
|
116
119
|
(event: 'delete-option'): void
|
|
117
120
|
(event: 'save-option-name'): void
|
|
@@ -243,7 +246,9 @@ const checkValidations = (): boolean => {
|
|
|
243
246
|
localCustomDateFrom.value,
|
|
244
247
|
localCustomDateTo.value,
|
|
245
248
|
localCustomTimeFrom.value,
|
|
246
|
-
localCustomTimeTo.value
|
|
249
|
+
localCustomTimeTo.value,
|
|
250
|
+
props.validDateEnd,
|
|
251
|
+
props.formatDate
|
|
247
252
|
)
|
|
248
253
|
|
|
249
254
|
if (isDisabledSubmit.value) {
|
|
@@ -310,7 +315,9 @@ const onSubmit = (): void => {
|
|
|
310
315
|
localCustomDateFrom.value,
|
|
311
316
|
localCustomDateTo.value,
|
|
312
317
|
localCustomTimeFrom.value,
|
|
313
|
-
localCustomTimeTo.value
|
|
318
|
+
localCustomTimeTo.value,
|
|
319
|
+
props.validDateEnd,
|
|
320
|
+
props.formatDate
|
|
314
321
|
)
|
|
315
322
|
if (Array.isArray(checkDateResult)) {
|
|
316
323
|
validPeriod[0] = checkDateResult[0]
|
|
@@ -334,7 +341,7 @@ const onSubmit = (): void => {
|
|
|
334
341
|
period: validPeriod,
|
|
335
342
|
}
|
|
336
343
|
|
|
337
|
-
emits('update-
|
|
344
|
+
emits('update-period-type', savedObject.periodType)
|
|
338
345
|
emits('submit-options', savedObject)
|
|
339
346
|
onHide()
|
|
340
347
|
}
|
|
@@ -1,94 +1,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
|
-
:
|
|
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
|
-
@update-custom-date-
|
|
32
|
-
@update-custom-
|
|
33
|
-
@update-custom-time-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
import type {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}>()
|
|
60
|
-
|
|
61
|
-
const emits = defineEmits<{
|
|
62
|
-
(event: 'select-power-row', value: UI_I_HardwareHealthSensorsGraph[]): void
|
|
63
|
-
(
|
|
64
|
-
event: 'select-temperature-row',
|
|
65
|
-
value: UI_I_HardwareHealthSensorsGraph[]
|
|
66
|
-
): void
|
|
67
|
-
(event: 'update-chart-type', value: string): void
|
|
68
|
-
(event: 'update-custom-time', value: string): void
|
|
69
|
-
(event: 'update-timespan-type', value: string): void
|
|
70
|
-
(event: 'update-unit-count', value: number): void
|
|
71
|
-
(event: 'update-
|
|
72
|
-
(event: 'update-custom-date-from', value: string): void
|
|
73
|
-
(event: 'update-custom-date-to', value: string): void
|
|
74
|
-
(event: 'update-custom-time-from', value: string): void
|
|
75
|
-
(event: 'update-custom-time-to', value: string): void
|
|
76
|
-
}>()
|
|
77
|
-
|
|
78
|
-
const totalMetricItems = ref<number>(0)
|
|
79
|
-
</script>
|
|
80
|
-
|
|
81
|
-
<style scoped lang="scss">
|
|
82
|
-
.chart-option-counters-container {
|
|
83
|
-
margin-top: 20px;
|
|
84
|
-
flex-basis: 80%;
|
|
85
|
-
padding-left: 15px;
|
|
86
|
-
max-width: 80%;
|
|
87
|
-
}
|
|
88
|
-
@media (max-width: 1024px) {
|
|
89
|
-
.chart-option-counters-container {
|
|
90
|
-
max-width: unset;
|
|
91
|
-
padding-left: 0;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
</style>
|
|
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
|
+
:period-type="props.periodType"
|
|
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-period-type="emits('update-period-type', $event)"
|
|
30
|
+
@update-custom-date-from="emits('update-custom-date-from', $event)"
|
|
31
|
+
@update-custom-date-to="emits('update-custom-date-to', $event)"
|
|
32
|
+
@update-custom-time-from="emits('update-custom-time-from', $event)"
|
|
33
|
+
@update-custom-time-to="emits('update-custom-time-to', $event)"
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<script setup lang="ts">
|
|
39
|
+
import type { UI_I_HardwareHealthSensorsGraph } from '~/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces'
|
|
40
|
+
import type { UI_T_Chart } from '~/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/types'
|
|
41
|
+
|
|
42
|
+
const props = defineProps<{
|
|
43
|
+
chart: UI_T_Chart
|
|
44
|
+
selectedPowerKeys: number[]
|
|
45
|
+
selectedTemperatureKeys: number[]
|
|
46
|
+
powerCountersTableData: UI_I_HardwareHealthSensorsGraph[]
|
|
47
|
+
temperatureCountersTableData: UI_I_HardwareHealthSensorsGraph[]
|
|
48
|
+
language: string
|
|
49
|
+
selectedChartType: string
|
|
50
|
+
selectedTimespanType: string
|
|
51
|
+
unitsCount: number
|
|
52
|
+
periodType: string
|
|
53
|
+
selectedCustomTime: string
|
|
54
|
+
customDateFrom: string
|
|
55
|
+
customDateTo: string
|
|
56
|
+
customTimeFrom: string
|
|
57
|
+
customTimeTo: string
|
|
58
|
+
validDateEnd: number
|
|
59
|
+
}>()
|
|
60
|
+
|
|
61
|
+
const emits = defineEmits<{
|
|
62
|
+
(event: 'select-power-row', value: UI_I_HardwareHealthSensorsGraph[]): void
|
|
63
|
+
(
|
|
64
|
+
event: 'select-temperature-row',
|
|
65
|
+
value: UI_I_HardwareHealthSensorsGraph[]
|
|
66
|
+
): void
|
|
67
|
+
(event: 'update-chart-type', value: string): void
|
|
68
|
+
(event: 'update-custom-time', value: string): void
|
|
69
|
+
(event: 'update-timespan-type', value: string): void
|
|
70
|
+
(event: 'update-unit-count', value: number): void
|
|
71
|
+
(event: 'update-period-type', value: string): void
|
|
72
|
+
(event: 'update-custom-date-from', value: string): void
|
|
73
|
+
(event: 'update-custom-date-to', value: string): void
|
|
74
|
+
(event: 'update-custom-time-from', value: string): void
|
|
75
|
+
(event: 'update-custom-time-to', value: string): void
|
|
76
|
+
}>()
|
|
77
|
+
|
|
78
|
+
const totalMetricItems = ref<number>(0)
|
|
79
|
+
</script>
|
|
80
|
+
|
|
81
|
+
<style scoped lang="scss">
|
|
82
|
+
.chart-option-counters-container {
|
|
83
|
+
margin-top: 20px;
|
|
84
|
+
flex-basis: 80%;
|
|
85
|
+
padding-left: 15px;
|
|
86
|
+
max-width: 80%;
|
|
87
|
+
}
|
|
88
|
+
@media (max-width: 1024px) {
|
|
89
|
+
.chart-option-counters-container {
|
|
90
|
+
max-width: unset;
|
|
91
|
+
padding-left: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
</style>
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="timespan-objects-section-direction">
|
|
3
|
-
<common-
|
|
4
|
-
:language="props.language"
|
|
5
|
-
:selected-chart-type="props.selectedChartType"
|
|
6
|
-
:selected-timespan-type="props.selectedTimespanType"
|
|
7
|
-
:units-count="props.unitsCount"
|
|
8
|
-
:
|
|
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
|
-
@update-custom-date-
|
|
22
|
-
@update-custom-
|
|
23
|
-
@update-custom-time-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}>()
|
|
42
|
-
|
|
43
|
-
const emits = defineEmits<{
|
|
44
|
-
(event: 'update-chart-type', value: string): void
|
|
45
|
-
(event: 'update-custom-time', value: string): void
|
|
46
|
-
(event: 'update-timespan-type', value: string): void
|
|
47
|
-
(event: 'update-unit-count', value: number): void
|
|
48
|
-
(event: 'update-
|
|
49
|
-
(event: 'update-custom-date-from', value: string): void
|
|
50
|
-
(event: 'update-custom-date-to', value: string): void
|
|
51
|
-
(event: 'update-custom-time-from', value: string): void
|
|
52
|
-
(event: 'update-custom-time-to', value: string): void
|
|
53
|
-
}>()
|
|
54
|
-
</script>
|
|
55
|
-
|
|
56
|
-
<style scoped lang="scss">
|
|
57
|
-
.timespan-objects-section-direction {
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: row;
|
|
60
|
-
}
|
|
61
|
-
@media (max-width: 1024px) {
|
|
62
|
-
.timespan-objects-section-direction {
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="timespan-objects-section-direction">
|
|
3
|
+
<common-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
|
+
:period-type="props.periodType"
|
|
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-period-type="emits('update-period-type', $event)"
|
|
20
|
+
@update-custom-date-from="emits('update-custom-date-from', $event)"
|
|
21
|
+
@update-custom-date-to="emits('update-custom-date-to', $event)"
|
|
22
|
+
@update-custom-time-from="emits('update-custom-time-from', $event)"
|
|
23
|
+
@update-custom-time-to="emits('update-custom-time-to', $event)"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script setup lang="ts">
|
|
29
|
+
const props = defineProps<{
|
|
30
|
+
language: string
|
|
31
|
+
selectedChartType: string
|
|
32
|
+
selectedTimespanType: string
|
|
33
|
+
unitsCount: number
|
|
34
|
+
periodType: string
|
|
35
|
+
selectedCustomTime: string
|
|
36
|
+
customDateFrom: string
|
|
37
|
+
customDateTo: string
|
|
38
|
+
customTimeFrom: string
|
|
39
|
+
customTimeTo: string
|
|
40
|
+
validDateEnd: number
|
|
41
|
+
}>()
|
|
42
|
+
|
|
43
|
+
const emits = defineEmits<{
|
|
44
|
+
(event: 'update-chart-type', value: string): void
|
|
45
|
+
(event: 'update-custom-time', value: string): void
|
|
46
|
+
(event: 'update-timespan-type', value: string): void
|
|
47
|
+
(event: 'update-unit-count', value: number): void
|
|
48
|
+
(event: 'update-period-type', value: string): void
|
|
49
|
+
(event: 'update-custom-date-from', value: string): void
|
|
50
|
+
(event: 'update-custom-date-to', value: string): void
|
|
51
|
+
(event: 'update-custom-time-from', value: string): void
|
|
52
|
+
(event: 'update-custom-time-to', value: string): void
|
|
53
|
+
}>()
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
<style scoped lang="scss">
|
|
57
|
+
.timespan-objects-section-direction {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: row;
|
|
60
|
+
}
|
|
61
|
+
@media (max-width: 1024px) {
|
|
62
|
+
.timespan-objects-section-direction {
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="entity-status-content">
|
|
3
|
-
<div v-for="(text, value) in props.items" :key="value" class="item">
|
|
4
|
-
<h3 class="entity-status-item-value">
|
|
5
|
-
{{ text }}
|
|
6
|
-
</h3>
|
|
7
|
-
<div class="entity-status-item-status">
|
|
8
|
-
{{ localization.common[value] }}
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script setup lang="ts">
|
|
15
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
16
|
-
import type { UI_I_Hosts } from '~/components/common/pages/home/lib/models/interfaces'
|
|
17
|
-
|
|
18
|
-
const props = defineProps<{
|
|
19
|
-
items: UI_I_Hosts
|
|
20
|
-
}>()
|
|
21
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<style scoped lang="scss">
|
|
25
|
-
.entity-status-content {
|
|
26
|
-
display: flex;
|
|
27
|
-
justify-content: space-around;
|
|
28
|
-
align-items: center;
|
|
29
|
-
min-height: 100px;
|
|
30
|
-
|
|
31
|
-
.item {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
align-items: center;
|
|
36
|
-
color: inherit;
|
|
37
|
-
background-color: inherit;
|
|
38
|
-
|
|
39
|
-
.entity-status-item-value {
|
|
40
|
-
font-size: 22px;
|
|
41
|
-
font-weight: 200;
|
|
42
|
-
}
|
|
43
|
-
.entity-status-item-status {
|
|
44
|
-
font-size: 13px;
|
|
45
|
-
margin-top: 5px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="entity-status-content">
|
|
3
|
+
<div v-for="(text, value) in props.items" :key="value" class="item">
|
|
4
|
+
<h3 class="entity-status-item-value">
|
|
5
|
+
{{ text }}
|
|
6
|
+
</h3>
|
|
7
|
+
<div class="entity-status-item-status">
|
|
8
|
+
{{ localization.common[value] }}
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
16
|
+
import type { UI_I_Hosts } from '~/components/common/pages/home/lib/models/interfaces'
|
|
17
|
+
|
|
18
|
+
const props = defineProps<{
|
|
19
|
+
items: UI_I_Hosts
|
|
20
|
+
}>()
|
|
21
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.entity-status-content {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-around;
|
|
28
|
+
align-items: center;
|
|
29
|
+
min-height: 100px;
|
|
30
|
+
|
|
31
|
+
.item {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
align-items: center;
|
|
36
|
+
color: inherit;
|
|
37
|
+
background-color: inherit;
|
|
38
|
+
|
|
39
|
+
.entity-status-item-value {
|
|
40
|
+
font-size: 22px;
|
|
41
|
+
font-weight: 200;
|
|
42
|
+
}
|
|
43
|
+
.entity-status-item-status {
|
|
44
|
+
font-size: 13px;
|
|
45
|
+
margin-top: 5px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="home-headline">
|
|
3
|
-
<common-pages-home-headline-new
|
|
4
|
-
v-if="isNewView"
|
|
5
|
-
v-model="selectedZone"
|
|
6
|
-
:data="zoneOptionList"
|
|
7
|
-
:project="props.project"
|
|
8
|
-
></common-pages-home-headline-new>
|
|
9
|
-
|
|
10
|
-
<common-pages-home-headline-old
|
|
11
|
-
v-else
|
|
12
|
-
v-model="selectedZone"
|
|
13
|
-
:data="zoneOptionList"
|
|
14
|
-
></common-pages-home-headline-old>
|
|
15
|
-
</div>
|
|
16
|
-
</template>
|
|
17
|
-
|
|
18
|
-
<script lang="ts" setup>
|
|
19
|
-
import type { UI_I_ZoneList } from '~/components/common/pages/home/lib/models/interfaces'
|
|
20
|
-
import type { UI_T_Project } from '~/lib/models/types'
|
|
21
|
-
|
|
22
|
-
const selectedZone = defineModel<string>('selectedZone', { required: true })
|
|
23
|
-
|
|
24
|
-
const props = defineProps<{
|
|
25
|
-
zoneList: UI_I_ZoneList[]
|
|
26
|
-
project: UI_T_Project
|
|
27
|
-
}>()
|
|
28
|
-
|
|
29
|
-
const { $store }: any = useNuxtApp()
|
|
30
|
-
|
|
31
|
-
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
32
|
-
|
|
33
|
-
const zoneOptionList = computed<UI_I_ZoneList[]>(() => props.zoneList)
|
|
34
|
-
</script>
|
|
35
|
-
|
|
36
|
-
<style lang="scss">
|
|
37
|
-
:root {
|
|
38
|
-
--home-title-color: #4d5d69;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
:root.dark-theme {
|
|
42
|
-
--home-title-color: #e9eaec;
|
|
43
|
-
}
|
|
44
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="home-headline">
|
|
3
|
+
<common-pages-home-headline-new
|
|
4
|
+
v-if="isNewView"
|
|
5
|
+
v-model="selectedZone"
|
|
6
|
+
:data="zoneOptionList"
|
|
7
|
+
:project="props.project"
|
|
8
|
+
></common-pages-home-headline-new>
|
|
9
|
+
|
|
10
|
+
<common-pages-home-headline-old
|
|
11
|
+
v-else
|
|
12
|
+
v-model="selectedZone"
|
|
13
|
+
:data="zoneOptionList"
|
|
14
|
+
></common-pages-home-headline-old>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script lang="ts" setup>
|
|
19
|
+
import type { UI_I_ZoneList } from '~/components/common/pages/home/lib/models/interfaces'
|
|
20
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
|
21
|
+
|
|
22
|
+
const selectedZone = defineModel<string>('selectedZone', { required: true })
|
|
23
|
+
|
|
24
|
+
const props = defineProps<{
|
|
25
|
+
zoneList: UI_I_ZoneList[]
|
|
26
|
+
project: UI_T_Project
|
|
27
|
+
}>()
|
|
28
|
+
|
|
29
|
+
const { $store }: any = useNuxtApp()
|
|
30
|
+
|
|
31
|
+
const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
|
|
32
|
+
|
|
33
|
+
const zoneOptionList = computed<UI_I_ZoneList[]>(() => props.zoneList)
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style lang="scss">
|
|
37
|
+
:root {
|
|
38
|
+
--home-title-color: #4d5d69;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:root.dark-theme {
|
|
42
|
+
--home-title-color: #e9eaec;
|
|
43
|
+
}
|
|
44
|
+
</style>
|