bfg-common 1.4.732 → 1.4.734
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/img/icons/icons-sprite-dark-3.svg +227 -227
- package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
- package/assets/img/icons/icons-sprite-light-3.svg +227 -227
- package/assets/img/icons/icons-sprite-light-5.svg +488 -488
- package/assets/localization/local_be.json +16 -2
- package/assets/localization/local_en.json +16 -2
- package/assets/localization/local_hy.json +16 -2
- package/assets/localization/local_kk.json +16 -2
- package/assets/localization/local_ru.json +16 -2
- package/assets/localization/local_zh.json +16 -2
- package/components/atoms/select/TheSelect.vue +10 -1
- package/components/common/browse/blocks/lib/models/types.ts +1 -1
- package/components/common/browse/lib/models/interfaces.ts +5 -5
- package/components/common/diagramMain/Header.vue +211 -211
- package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
- package/components/common/diagramMain/lib/config/initial.ts +50 -50
- package/components/common/diagramMain/lib/models/types.ts +21 -21
- package/components/common/diagramMain/lib/utils/utils.ts +331 -331
- package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +330 -330
- package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
- package/components/common/diagramMain/modals/editSettings/EditSettings.vue +497 -497
- package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +812 -812
- package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
- package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
- package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
- package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
- package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +398 -398
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
- package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +23 -23
- package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
- package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
- package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
- package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
- package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
- package/components/common/diagramMain/port/Ports.vue +47 -47
- package/components/common/monitor/advanced/Advanced.vue +0 -5
- package/components/common/monitor/advanced/tools/Tools.vue +2 -9
- package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +2 -9
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/Counters.vue +0 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +93 -95
- package/components/common/{chartOptionsModal → monitor/advanced/tools/chartOptionsModal}/counters/timespan/form/Form.vue +539 -544
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/form/lib/config/dateForm.ts +114 -0
- package/components/common/monitor/overview/filters/Filters.vue +0 -3
- package/components/common/monitor/overview/filters/customIntervalModal/CustomIntervalModal.vue +5 -15
- package/components/common/monitor/overview/filters/customIntervalModal/lib/config/dateChecker.ts +14 -24
- package/components/common/pages/hardwareHealth/HardwareHealth.vue +5 -12
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +451 -456
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +380 -387
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +6 -13
- 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/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +539 -0
- package/components/common/{chartOptionsModal → pages/hardwareHealth/historyTestimony/tools/chartOptionsModal}/counters/timespan/form/lib/config/dateForm.ts +115 -116
- package/components/common/pages/tasks/Tasks.vue +9 -0
- package/components/common/pages/tasks/table/Table.vue +0 -1
- package/components/common/pages/tasks/table/errorInfo/ErrorInfo.vue +10 -6
- package/components/common/pages/tasks/table/expandDetails/ExpandDetails.vue +8 -8
- package/components/common/vm/actions/add/Add.vue +2 -0
- package/components/common/vm/actions/clone/Clone.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +3 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareOld.vue +2 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +9 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareNew.vue +5 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardwareOld.vue +3 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +6 -4
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +52 -10
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +31 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +31 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +9 -2
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/lib/config/options.ts +11 -4
- 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/editSettings/EditSettings.vue +3 -0
- package/components/common/vm/actions/editSettings/EditSettingsOld.vue +2 -0
- package/components/common/vm/actions/editSettings/new/New.vue +2 -0
- package/package.json +3 -3
|
@@ -42,20 +42,19 @@
|
|
|
42
42
|
:selected-chart-type="localSelectedChartType"
|
|
43
43
|
:selected-timespan-type="localSelectedTimespanType"
|
|
44
44
|
:units-count="localUnitsCount"
|
|
45
|
-
:period-type="localTimespanPeriodType"
|
|
45
|
+
:timespan-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"
|
|
52
51
|
@select-power-row="onSelectPowerRow"
|
|
53
52
|
@select-temperature-row="onSelectTemperatureRow"
|
|
54
53
|
@update-chart-type="selectedChartTypeLocal = $event"
|
|
55
54
|
@update-custom-time="localCustomTime = $event"
|
|
56
55
|
@update-timespan-type="timespanType = $event"
|
|
57
56
|
@update-unit-count="unitCount = $event"
|
|
58
|
-
@update-period-type="localTimespanPeriodType = $event"
|
|
57
|
+
@update-timespan-period-type="localTimespanPeriodType = $event"
|
|
59
58
|
@update-custom-date-from="onUpdateCustomDateFrom"
|
|
60
59
|
@update-custom-date-to="onUpdateCustomDateTo"
|
|
61
60
|
@update-custom-time-from="onUpdateCustomTimeFrom"
|
|
@@ -96,8 +95,6 @@ const props = defineProps<{
|
|
|
96
95
|
customTimeFrom: string
|
|
97
96
|
customTimeTo: string
|
|
98
97
|
timespanPeriodType: string
|
|
99
|
-
validDateEnd: number
|
|
100
|
-
formatDate: string
|
|
101
98
|
}>()
|
|
102
99
|
|
|
103
100
|
const emits = defineEmits<{
|
|
@@ -114,7 +111,7 @@ const emits = defineEmits<{
|
|
|
114
111
|
(event: 'update-chart-type', value: string): void
|
|
115
112
|
(event: 'update-timespan-type', value: string): void
|
|
116
113
|
(event: 'update-unit-count', value: number): void
|
|
117
|
-
(event: 'update-period-type', value: string): void
|
|
114
|
+
(event: 'update-timespan-period-type', value: string): void
|
|
118
115
|
(event: 'update-custom-time', value: string): void
|
|
119
116
|
(event: 'delete-option'): void
|
|
120
117
|
(event: 'save-option-name'): void
|
|
@@ -246,9 +243,7 @@ const checkValidations = (): boolean => {
|
|
|
246
243
|
localCustomDateFrom.value,
|
|
247
244
|
localCustomDateTo.value,
|
|
248
245
|
localCustomTimeFrom.value,
|
|
249
|
-
localCustomTimeTo.value
|
|
250
|
-
props.validDateEnd,
|
|
251
|
-
props.formatDate
|
|
246
|
+
localCustomTimeTo.value
|
|
252
247
|
)
|
|
253
248
|
|
|
254
249
|
if (isDisabledSubmit.value) {
|
|
@@ -315,9 +310,7 @@ const onSubmit = (): void => {
|
|
|
315
310
|
localCustomDateFrom.value,
|
|
316
311
|
localCustomDateTo.value,
|
|
317
312
|
localCustomTimeFrom.value,
|
|
318
|
-
localCustomTimeTo.value
|
|
319
|
-
props.validDateEnd,
|
|
320
|
-
props.formatDate
|
|
313
|
+
localCustomTimeTo.value
|
|
321
314
|
)
|
|
322
315
|
if (Array.isArray(checkDateResult)) {
|
|
323
316
|
validPeriod[0] = checkDateResult[0]
|
|
@@ -341,7 +334,7 @@ const onSubmit = (): void => {
|
|
|
341
334
|
period: validPeriod,
|
|
342
335
|
}
|
|
343
336
|
|
|
344
|
-
emits('update-period-type', savedObject.periodType)
|
|
337
|
+
emits('update-timespan-period-type', savedObject.periodType)
|
|
345
338
|
emits('submit-options', savedObject)
|
|
346
339
|
onHide()
|
|
347
340
|
}
|
|
@@ -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
|
-
:period-type="props.
|
|
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-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
|
+
<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
|
+
@update-chart-type="emits('update-chart-type', $event)"
|
|
25
|
+
@update-custom-time="emits('update-custom-time', $event)"
|
|
26
|
+
@update-timespan-type="emits('update-timespan-type', $event)"
|
|
27
|
+
@update-unit-count="emits('update-unit-count', $event)"
|
|
28
|
+
@update-timespan-period-type="
|
|
29
|
+
emits('update-timespan-period-type', $event)
|
|
30
|
+
"
|
|
31
|
+
@update-custom-date-from="emits('update-custom-date-from', $event)"
|
|
32
|
+
@update-custom-date-to="emits('update-custom-date-to', $event)"
|
|
33
|
+
@update-custom-time-from="emits('update-custom-time-from', $event)"
|
|
34
|
+
@update-custom-time-to="emits('update-custom-time-to', $event)"
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<script setup lang="ts">
|
|
40
|
+
import type { UI_I_HardwareHealthSensorsGraph } from '~/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces'
|
|
41
|
+
import type { UI_T_Chart } from '~/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/lib/models/types'
|
|
42
|
+
|
|
43
|
+
const props = defineProps<{
|
|
44
|
+
chart: UI_T_Chart
|
|
45
|
+
selectedPowerKeys: number[]
|
|
46
|
+
selectedTemperatureKeys: number[]
|
|
47
|
+
powerCountersTableData: UI_I_HardwareHealthSensorsGraph[]
|
|
48
|
+
temperatureCountersTableData: UI_I_HardwareHealthSensorsGraph[]
|
|
49
|
+
language: string
|
|
50
|
+
selectedChartType: string
|
|
51
|
+
selectedTimespanType: string
|
|
52
|
+
unitsCount: number
|
|
53
|
+
timespanPeriodType: string
|
|
54
|
+
selectedCustomTime: string
|
|
55
|
+
customDateFrom: string
|
|
56
|
+
customDateTo: string
|
|
57
|
+
customTimeFrom: string
|
|
58
|
+
customTimeTo: string
|
|
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-timespan-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-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.
|
|
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-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
|
+
<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
|
+
@update-chart-type="emits('update-chart-type', $event)"
|
|
15
|
+
@update-custom-time="emits('update-custom-time', $event)"
|
|
16
|
+
@update-timespan-type="emits('update-timespan-type', $event)"
|
|
17
|
+
@update-unit-count="emits('update-unit-count', $event)"
|
|
18
|
+
@update-timespan-period-type="
|
|
19
|
+
emits('update-timespan-period-type', $event)
|
|
20
|
+
"
|
|
21
|
+
@update-custom-date-from="emits('update-custom-date-from', $event)"
|
|
22
|
+
@update-custom-date-to="emits('update-custom-date-to', $event)"
|
|
23
|
+
@update-custom-time-from="emits('update-custom-time-from', $event)"
|
|
24
|
+
@update-custom-time-to="emits('update-custom-time-to', $event)"
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup lang="ts">
|
|
30
|
+
const props = defineProps<{
|
|
31
|
+
language: string
|
|
32
|
+
selectedChartType: string
|
|
33
|
+
selectedTimespanType: string
|
|
34
|
+
unitsCount: number
|
|
35
|
+
timespanPeriodType: string
|
|
36
|
+
selectedCustomTime: string
|
|
37
|
+
customDateFrom: string
|
|
38
|
+
customDateTo: string
|
|
39
|
+
customTimeFrom: string
|
|
40
|
+
customTimeTo: string
|
|
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-timespan-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>
|