bfg-common 1.5.967 → 1.5.968
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 +3 -6
- package/assets/localization/local_en.json +3 -6
- package/assets/localization/local_hy.json +3 -6
- package/assets/localization/local_kk.json +3 -6
- package/assets/localization/local_ru.json +3 -6
- package/assets/localization/local_zh.json +3 -6
- package/components/common/adapterManager/AdapterManagerNew.vue +4 -5
- package/components/common/adapterManager/addAdapterModal/AddAdapterModalNew.vue +32 -64
- package/components/common/adapterManager/ui/secondTitle/SecondTitleNew.vue +2 -2
- package/components/common/diagramMain/modals/viewSettings/viewSettings/ViewSettingsNew.vue +8 -19
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/tableNew/TableNew.vue +5 -0
- 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 +1 -0
- package/components/common/pages/hardwareHealth/HardwareHealthNew.vue +12 -6
- package/components/common/pages/hardwareHealth/HardwareHealthOld.vue +2 -0
- package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +1 -0
- package/components/common/pages/hardwareHealth/historyTestimony/GraphNew.vue +17 -0
- package/components/common/pages/hardwareHealth/historyTestimony/GraphOld.vue +2 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +2 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/ToolsOld.vue +2 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +2 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModalNew.vue +2 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModalOld.vue +2 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/Actions.vue +136 -136
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/actions/ActionsNew.vue +26 -2
- 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/actions/saveOptionsModal/SaveOptionsModal.vue +81 -0
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/CountersNew.vue +0 -1
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/table/tableNew/TableNew.vue +4 -3
- package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/TimespanNew.vue +10 -2
- package/components/common/pages/hardwareHealth/tableView/new/lib/config/alertWarningTable.ts +0 -1
- package/components/common/pages/hardwareHealth/tableView/new/lib/config/historyTestimonyTable.ts +0 -1
- package/components/common/pages/hardwareHealth/tableView/new/lib/config/systemLogTable.ts +2 -2
- package/package.json +1 -1
|
@@ -3256,6 +3256,8 @@
|
|
|
3256
3256
|
"dateTimeIsoFormat": "Дата і час знаходзяцца ў фармаце ISO 8601.",
|
|
3257
3257
|
"deleteConfirmationChartOption": "Пацвярджэнне выдалення",
|
|
3258
3258
|
"deleteConfirmationChartOptionDesc": "Вы ўпэўнены, што хочаце выдаліць параметры дыяграмы \"{0}\" з \"Па змаўчанні\".",
|
|
3259
|
+
"deleteChartOption": "Выдаліць параметр дыяграмы",
|
|
3260
|
+
"deleteChartOptionDesc": "Вы ўпэўненыя, што хочаце выдаліць параметр дыяграмы «{0}» з «{1}»?",
|
|
3259
3261
|
"from": "Ад",
|
|
3260
3262
|
"memoryUsage": "Выкарыстанне памяці",
|
|
3261
3263
|
"memoryFree": "Вольная памяць",
|
|
@@ -4179,11 +4181,6 @@
|
|
|
4179
4181
|
"editDHCPServer": "Рэдагаваць DHCP-сервер"
|
|
4180
4182
|
},
|
|
4181
4183
|
"logs": {
|
|
4182
|
-
"logs": "Часопісы падзей"
|
|
4183
|
-
"log": "Журнал",
|
|
4184
|
-
"description": "Апісанне",
|
|
4185
|
-
"entries": "{0} / {1} запісаў",
|
|
4186
|
-
"filteredBy": "Адфільтравана па:",
|
|
4187
|
-
"noEntriesMatch": "Няма запісаў журнала, якія адпавядаюць фільтрам"
|
|
4184
|
+
"logs": "Часопісы падзей"
|
|
4188
4185
|
}
|
|
4189
4186
|
}
|
|
@@ -3260,6 +3260,8 @@
|
|
|
3260
3260
|
"dateTimeIsoFormat": "Date and time are in ISO 8601 format.",
|
|
3261
3261
|
"deleteConfirmationChartOption": "Delete Confirmation",
|
|
3262
3262
|
"deleteConfirmationChartOptionDesc": "Are you sure you want to remove chart options “{0}” from “Default”.",
|
|
3263
|
+
"deleteChartOption": "Delete Chart Option",
|
|
3264
|
+
"deleteChartOptionDesc": "Are you sure you want to delete the chart option “{0}” from “{1}”.",
|
|
3263
3265
|
"from": "From",
|
|
3264
3266
|
"memoryUsage": "Memory Usage",
|
|
3265
3267
|
"memoryFree": "Memory Free",
|
|
@@ -4183,11 +4185,6 @@
|
|
|
4183
4185
|
"editDHCPServer": "Edit DHCP Server"
|
|
4184
4186
|
},
|
|
4185
4187
|
"logs": {
|
|
4186
|
-
"logs": "Logs"
|
|
4187
|
-
"log": "Log",
|
|
4188
|
-
"description": "Description",
|
|
4189
|
-
"entries": "{0} / {1} entries",
|
|
4190
|
-
"filteredBy": "Filtered by:",
|
|
4191
|
-
"noEntriesMatch": "No log entries match your filters"
|
|
4188
|
+
"logs": "Logs"
|
|
4192
4189
|
}
|
|
4193
4190
|
}
|
|
@@ -3260,6 +3260,8 @@
|
|
|
3260
3260
|
"dateTimeIsoFormat": "Ամսաթիվը եւ ժամը ISO 8601 ձեւաչափով են:",
|
|
3261
3261
|
"deleteConfirmationChartOption": "Ջնջել հաստատումը",
|
|
3262
3262
|
"deleteConfirmationChartOptionDesc": "Համոզվա՞ծ եք, որ ցանկանում եք հեռացնել «{0}» գծապատկերի ընտրանքները «Լռակյացից»:",
|
|
3263
|
+
"deleteChartOption": "Ջնջել գծապատկերի տարբերակը",
|
|
3264
|
+
"deleteChartOptionDesc": "Վստա՞հ եք, որ ցանկանում եք ջնջել «{0}» գրաֆիկի տարբերակը «{1}»-ից։",
|
|
3263
3265
|
"from": "Ից",
|
|
3264
3266
|
"memoryUsage": "Հիշողության օգտագործում",
|
|
3265
3267
|
"memoryFree": "Ազատ հիշողություն",
|
|
@@ -4183,11 +4185,6 @@
|
|
|
4183
4185
|
"editDHCPServer": "Խմբագրել DHCP սերվերը"
|
|
4184
4186
|
},
|
|
4185
4187
|
"logs": {
|
|
4186
|
-
"logs": "Իրադարձությունների մատյաններ"
|
|
4187
|
-
"log": "Տեղեկամատյան",
|
|
4188
|
-
"description": "Նկարագրություն",
|
|
4189
|
-
"entries": "{0} / {1} գրառում",
|
|
4190
|
-
"filteredBy": "Զտված է ըստ՝",
|
|
4191
|
-
"noEntriesMatch": "Տեղեկամատյանի գրառումները չեն համապատասխանում ձեր զտիչներին"
|
|
4188
|
+
"logs": "Իրադարձությունների մատյաններ"
|
|
4192
4189
|
}
|
|
4193
4190
|
}
|
|
@@ -3259,6 +3259,8 @@
|
|
|
3259
3259
|
"dateTimeIsoFormat": "Күн мен уақыт ISO 8601. форматында",
|
|
3260
3260
|
"deleteConfirmationChartOption": "Растауды жою",
|
|
3261
3261
|
"deleteConfirmationChartOptionDesc": "\"{0}\" диаграмма опцияларын \"Әдепкіден\" өшіргіңіз келетініне сенімдісіз бе.",
|
|
3262
|
+
"deleteChartOption": "Диаграмма опциясын жою",
|
|
3263
|
+
"deleteChartOptionDesc": "\"{1}\" ішінен \"{0}\" диаграмма опциясын жойғыңыз келетініне сенімдісіз бе.",
|
|
3262
3264
|
"from": "Бастап",
|
|
3263
3265
|
"memoryUsage": "Жадыны пайдалану",
|
|
3264
3266
|
"memoryFree": "Бос жад",
|
|
@@ -4182,11 +4184,6 @@
|
|
|
4182
4184
|
"editDHCPServer": "DHCP Серверін өңдеу"
|
|
4183
4185
|
},
|
|
4184
4186
|
"logs": {
|
|
4185
|
-
"logs": "Оқиғалар журналдары"
|
|
4186
|
-
"log": "Журнал",
|
|
4187
|
-
"description": "Сипаттама",
|
|
4188
|
-
"entries": "{0} / {1} жазба",
|
|
4189
|
-
"filteredBy": "Сүзгіленген:",
|
|
4190
|
-
"noEntriesMatch": "Сүзгілерге сәйкес журнал жазбалары жоқ"
|
|
4187
|
+
"logs": "Оқиғалар журналдары"
|
|
4191
4188
|
}
|
|
4192
4189
|
}
|
|
@@ -3259,6 +3259,8 @@
|
|
|
3259
3259
|
"dateTimeIsoFormat": "Дата и время в формате ISO 8601.",
|
|
3260
3260
|
"deleteConfirmationChartOption": "Подтверждение удаления",
|
|
3261
3261
|
"deleteConfirmationChartOptionDesc": "Вы уверены, что хотите удалить параметры диаграммы «{0}» из «По умолчанию»?",
|
|
3262
|
+
"deleteChartOption": "Удалить параметр диаграммы",
|
|
3263
|
+
"deleteChartOptionDesc": "Вы уверены, что хотите удалить параметр диаграммы “{0}” с “{1}”",
|
|
3262
3264
|
"from": "С",
|
|
3263
3265
|
"memoryUsage": "Использование памяти",
|
|
3264
3266
|
"memoryFree": "Свободная память",
|
|
@@ -4182,11 +4184,6 @@
|
|
|
4182
4184
|
"editDHCPServer": "Редактировать DHCP-сервер"
|
|
4183
4185
|
},
|
|
4184
4186
|
"logs": {
|
|
4185
|
-
"logs": "Журналы событий"
|
|
4186
|
-
"log": "Журнал",
|
|
4187
|
-
"description": "Описание",
|
|
4188
|
-
"entries": "{0} / {1} записей",
|
|
4189
|
-
"filteredBy": "Отфильтровано по:",
|
|
4190
|
-
"noEntriesMatch": "Нет записей журнала, соответствующих фильтрам"
|
|
4187
|
+
"logs": "Журналы событий"
|
|
4191
4188
|
}
|
|
4192
4189
|
}
|
|
@@ -3257,6 +3257,8 @@
|
|
|
3257
3257
|
"dateTimeIsoFormat": "日期和时间为ISO 8601格式。",
|
|
3258
3258
|
"deleteConfirmationChartOption": "删除确认",
|
|
3259
3259
|
"deleteConfirmationChartOptionDesc": "您确定要从“默认”中删除图表选项“{0}”吗?",
|
|
3260
|
+
"deleteChartOption": "删除图表选项",
|
|
3261
|
+
"deleteChartOptionDesc": "您确定要从“{1}”中删除图表选项“{0}”吗?",
|
|
3260
3262
|
"from": "从",
|
|
3261
3263
|
"memoryUsage": "内存使用情况",
|
|
3262
3264
|
"memoryFree": "可用内存",
|
|
@@ -4180,11 +4182,6 @@
|
|
|
4180
4182
|
"editDHCPServer": "编辑DHCP服务器"
|
|
4181
4183
|
},
|
|
4182
4184
|
"logs": {
|
|
4183
|
-
"logs": "事件日志"
|
|
4184
|
-
"log": "日志",
|
|
4185
|
-
"description": "描述",
|
|
4186
|
-
"entries": "0} / {1} 条记录",
|
|
4187
|
-
"filteredBy": "筛选条件:",
|
|
4188
|
-
"noEntriesMatch": "没有与筛选条件匹配的日志条目"
|
|
4185
|
+
"logs": "事件日志"
|
|
4189
4186
|
}
|
|
4190
4187
|
}
|
|
@@ -190,7 +190,7 @@ const onShowAddAdapterModal = (): void => {
|
|
|
190
190
|
.add-adapter-view {
|
|
191
191
|
.manager-wrapper {
|
|
192
192
|
height: 100%;
|
|
193
|
-
|
|
193
|
+
max-height: 504px;
|
|
194
194
|
min-width: 240px;
|
|
195
195
|
width: 100%;
|
|
196
196
|
}
|
|
@@ -200,9 +200,8 @@ const onShowAddAdapterModal = (): void => {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
:deep(.table-fixed-height) {
|
|
203
|
-
min-height:
|
|
204
|
-
height:
|
|
205
|
-
max-height: unset !important;
|
|
203
|
+
min-height: 100px !important;
|
|
204
|
+
max-height: 459.4px !important;
|
|
206
205
|
|
|
207
206
|
//.info-block-container {
|
|
208
207
|
// padding-right: 19px !important;
|
|
@@ -332,4 +331,4 @@ const onShowAddAdapterModal = (): void => {
|
|
|
332
331
|
margin-bottom: 6px;
|
|
333
332
|
}
|
|
334
333
|
}
|
|
335
|
-
</style>
|
|
334
|
+
</style>
|
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</div>
|
|
2
|
+
<ui-modal
|
|
3
|
+
v-if="props.show"
|
|
4
|
+
show
|
|
5
|
+
:title="localization.common.addPhysicalAdaptersToSwitch"
|
|
6
|
+
:texts="modalTextsLocal"
|
|
7
|
+
test-id="add-adapter"
|
|
8
|
+
size="md"
|
|
9
|
+
width="880px"
|
|
10
|
+
:is-disabled-accept="!props.selectedAddAdapterId"
|
|
11
|
+
@hide="onHideAddAdapterModal"
|
|
12
|
+
@submit="onAddSelectedAdapters"
|
|
13
|
+
>
|
|
14
|
+
<template #content>
|
|
15
|
+
<div class="add-adapter-modal-content">
|
|
16
|
+
<common-adapter-manager
|
|
17
|
+
:is-active="true"
|
|
18
|
+
:is-dark-mode="props.isDarkMode"
|
|
19
|
+
:full-mode="false"
|
|
20
|
+
:is-add-modal="true"
|
|
21
|
+
:adapters="props.adapters"
|
|
22
|
+
:existing-adapters-for-adding="props.existingAdaptersAsText"
|
|
23
|
+
:selected-add-adapter-id="props.selectedAddAdapterId"
|
|
24
|
+
test-id="adapter-manager"
|
|
25
|
+
class="free-adapters"
|
|
26
|
+
@select-add-adapter="onSelectAddAdapter"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
<template #footerLeftContent><span></span></template>
|
|
31
|
+
</ui-modal>
|
|
33
32
|
</template>
|
|
34
33
|
|
|
35
34
|
<script setup lang="ts">
|
|
@@ -73,38 +72,7 @@ const onAddSelectedAdapters = (): void => {
|
|
|
73
72
|
|
|
74
73
|
<style scoped lang="scss">
|
|
75
74
|
.add-adapter-modal-content {
|
|
76
|
-
padding:
|
|
77
|
-
height:
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:deep(.modal-inner) {
|
|
81
|
-
max-width: 880px;
|
|
82
|
-
|
|
83
|
-
.modal-header {
|
|
84
|
-
padding-bottom: 24px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.modal-body {
|
|
88
|
-
max-height: 520px;
|
|
89
|
-
overflow-y: auto;
|
|
90
|
-
height: calc(100vh - 300px);
|
|
91
|
-
min-height: 120px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.modal-footer-transparent-block {
|
|
95
|
-
display: block !important;
|
|
96
|
-
top: -24px;
|
|
97
|
-
width: calc(100% - 294px);
|
|
98
|
-
right: 16px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@media (max-width: 650px) {
|
|
102
|
-
.modal-footer-transparent-block {
|
|
103
|
-
display: block !important;
|
|
104
|
-
top: -16px;
|
|
105
|
-
width: calc(100% - 16px);
|
|
106
|
-
right: 16px;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
75
|
+
padding: 16px 0 8px 32px;
|
|
76
|
+
height: 520px;
|
|
109
77
|
}
|
|
110
78
|
</style>
|
|
@@ -27,7 +27,7 @@ const secondaryTitle = computed<string>(() =>
|
|
|
27
27
|
margin-bottom: 16px;
|
|
28
28
|
font-weight: 500;
|
|
29
29
|
font-size: 16px;
|
|
30
|
-
line-height:
|
|
30
|
+
line-height: 19px;
|
|
31
31
|
letter-spacing: 0;
|
|
32
32
|
color: var(--table-text-first);
|
|
33
33
|
word-wrap: break-word;
|
|
@@ -35,7 +35,7 @@ const secondaryTitle = computed<string>(() =>
|
|
|
35
35
|
position: sticky;
|
|
36
36
|
top: 0;
|
|
37
37
|
background: var(--table-container-in-modal);
|
|
38
|
-
height:
|
|
38
|
+
height: 19px;
|
|
39
39
|
z-index: 100;
|
|
40
40
|
|
|
41
41
|
&::after {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<tbody>
|
|
8
8
|
<tr>
|
|
9
9
|
<td colspan="2">
|
|
10
|
-
<span
|
|
10
|
+
<span>
|
|
11
11
|
{{ props.viewSettingsField.title }}
|
|
12
12
|
</span>
|
|
13
13
|
</td>
|
|
@@ -142,11 +142,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
142
142
|
|
|
143
143
|
tr:first-of-type {
|
|
144
144
|
span {
|
|
145
|
-
display: inline-block;
|
|
146
145
|
color: var(--title-form-first-color);
|
|
147
146
|
font-weight: 500;
|
|
148
147
|
font-size: 14px;
|
|
149
|
-
line-height:
|
|
148
|
+
line-height: 18px;
|
|
149
|
+
margin: 16px 0;
|
|
150
150
|
}
|
|
151
151
|
td {
|
|
152
152
|
padding-bottom: 16px;
|
|
@@ -164,23 +164,17 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
164
164
|
color: var(--diagram-info-second-text);
|
|
165
165
|
font-size: 13px;
|
|
166
166
|
font-weight: 400;
|
|
167
|
+
line-height: 16px;
|
|
167
168
|
padding-bottom: 12px;
|
|
168
|
-
|
|
169
|
-
span {
|
|
170
|
-
line-height: 16px;
|
|
171
|
-
}
|
|
172
169
|
}
|
|
173
170
|
&.row-value-container {
|
|
174
171
|
padding-bottom: 12px;
|
|
175
|
-
|
|
176
|
-
span {
|
|
177
|
-
line-height: 16px;
|
|
178
|
-
}
|
|
179
172
|
}
|
|
180
173
|
|
|
181
174
|
//width: 240px;
|
|
182
175
|
white-space: normal;
|
|
183
176
|
padding: 0;
|
|
177
|
+
line-height: 18px;
|
|
184
178
|
|
|
185
179
|
.settings-table {
|
|
186
180
|
&__values {
|
|
@@ -239,16 +233,11 @@ const localization = computed<UI_I_Localization>(() => useLocal())
|
|
|
239
233
|
color: var(--diagram-info-second-text);
|
|
240
234
|
font-size: 13px;
|
|
241
235
|
font-weight: 400;
|
|
242
|
-
line-height:
|
|
236
|
+
line-height: 15.73px;
|
|
243
237
|
display: flex;
|
|
244
238
|
|
|
245
|
-
span {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
&:first-of-type {
|
|
249
|
-
margin-right: 8px;
|
|
250
|
-
height: 16px;
|
|
251
|
-
}
|
|
239
|
+
span:first-of-type {
|
|
240
|
+
margin-right: 8px;
|
|
252
241
|
}
|
|
253
242
|
}
|
|
254
243
|
|
|
@@ -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>
|