bfg-common 1.5.12 → 1.5.14
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 +4 -2
- package/assets/localization/local_en.json +4 -2
- package/assets/localization/local_hy.json +5 -3
- package/assets/localization/local_kk.json +4 -2
- package/assets/localization/local_ru.json +4 -2
- package/assets/localization/local_zh.json +4 -2
- package/components/common/modals/confirmation/Confirmation.vue +5 -1
- package/components/common/modals/confirmation/ConfirmationNew.vue +33 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +12 -12
- package/components/common/wizards/datastore/add/readyComplete/ReadyComplete.vue +92 -88
- package/components/common/wizards/datastore/add/readyComplete/lib/config/propertiesDetails.ts +3 -1
- package/package.json +1 -1
|
@@ -2326,7 +2326,8 @@
|
|
|
2326
2326
|
"submitting": "Прадастаўленне",
|
|
2327
2327
|
"inDevelopment": "У распрацоўцы",
|
|
2328
2328
|
"showAll": "Паказаць усе",
|
|
2329
|
-
"hideAll": "Схаваць усе"
|
|
2329
|
+
"hideAll": "Схаваць усе",
|
|
2330
|
+
"move": "Пасунуць"
|
|
2330
2331
|
},
|
|
2331
2332
|
"auth": {
|
|
2332
2333
|
"welcomeTo": "Сардэчна запрашаем у",
|
|
@@ -2513,7 +2514,8 @@
|
|
|
2513
2514
|
"inventory": {
|
|
2514
2515
|
"activeMemory": "Актыўная памяць",
|
|
2515
2516
|
"locationHelp": "Дапамога месцазнаходжання",
|
|
2516
|
-
"locationHelpDescription": "У гэтым месцы будзе створаны новы {0}."
|
|
2517
|
+
"locationHelpDescription": "У гэтым месцы будзе створаны новы {0}.",
|
|
2518
|
+
"deleteFolderDescription": "Вы ўпэўненыя, што хочаце выдаліць тэчку \"{0} \" з інвентара? Усталюйце сцяжок, каб таксама выдаліць усе даччыныя элементы інвентара."
|
|
2517
2519
|
},
|
|
2518
2520
|
"inventoryMonitor": {
|
|
2519
2521
|
"temperature": "Тэмпература",
|
|
@@ -2330,7 +2330,8 @@
|
|
|
2330
2330
|
"submitting": "Submitting",
|
|
2331
2331
|
"inDevelopment": "In development",
|
|
2332
2332
|
"showAll": "Show All",
|
|
2333
|
-
"hideAll": "Hide All"
|
|
2333
|
+
"hideAll": "Hide All",
|
|
2334
|
+
"move": "Move"
|
|
2334
2335
|
},
|
|
2335
2336
|
"auth": {
|
|
2336
2337
|
"welcomeTo": "Welcome to",
|
|
@@ -2517,7 +2518,8 @@
|
|
|
2517
2518
|
"inventory": {
|
|
2518
2519
|
"activeMemory": "Active Memory",
|
|
2519
2520
|
"locationHelp": "Location help",
|
|
2520
|
-
"locationHelpDescription": "A new {0} will be established at this location."
|
|
2521
|
+
"locationHelpDescription": "A new {0} will be established at this location.",
|
|
2522
|
+
"deleteFolderDescription": "Are you sure you want to remove the folder “{0}” from inventory? Select the checkbox to also remove all of its child inventory items."
|
|
2521
2523
|
},
|
|
2522
2524
|
"inventoryMonitor": {
|
|
2523
2525
|
"temperature": "Temperature",
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"chartOptionsName": "Աղյուսակի ընտրանքների անվանումը",
|
|
213
213
|
"chooseGuestOSInstalledVM": "Ընտրեք հյուրի OS-ն, որը տեղադրվելու է վիրտուալ մեքենայի վրա",
|
|
214
214
|
"chooseGuestOSInstalledVmAndMachineTypeUsedCreateVm": "Ընտրեք հյուրի գործառնական համակարգը, որը կտեղադրվի վիրտուալ մեքենայի վրա և համակարգչի տեսակը, որը կօգտագործվի վիրտուալ մեքենա ստեղծելու համար: կտտացրեք \"հաջորդ\" կետին:",
|
|
215
|
-
"chosenDatastoreName": "
|
|
215
|
+
"chosenDatastoreName": "Ընտրված անունը DataStore",
|
|
216
216
|
"ciscoDiscoveryProtocol": "Cisco հայտնաբերման արձանագրություն",
|
|
217
217
|
"classId": "Դասի նույնացուցիչ",
|
|
218
218
|
"clickAndDragTheMouseToAnnotate": "Սեղմեք և քաշեք մկնիկը ստորև ներկայացված սքրինշոթը ծանոթացնելու համար",
|
|
@@ -2330,7 +2330,8 @@
|
|
|
2330
2330
|
"submitting": "Տրամադրում",
|
|
2331
2331
|
"inDevelopment": "Մշակման մեջ",
|
|
2332
2332
|
"showAll": "Ցույց տալ բոլորը",
|
|
2333
|
-
"hideAll": "Թաքցնել բոլորը"
|
|
2333
|
+
"hideAll": "Թաքցնել բոլորը",
|
|
2334
|
+
"move": "Տեղափոխել"
|
|
2334
2335
|
},
|
|
2335
2336
|
"auth": {
|
|
2336
2337
|
"welcomeTo": "Բարի գալուստ",
|
|
@@ -2517,7 +2518,8 @@
|
|
|
2517
2518
|
"inventory": {
|
|
2518
2519
|
"activeMemory": "Ակտիվ հիշողություն",
|
|
2519
2520
|
"locationHelp": "Տեղադրության օգնություն",
|
|
2520
|
-
"locationHelpDescription": "Այս վայրում կստեղծվի նոր {0}:"
|
|
2521
|
+
"locationHelpDescription": "Այս վայրում կստեղծվի նոր {0}:",
|
|
2522
|
+
"deleteFolderDescription": "Համոզված եք, որ ցանկանում եք ջնջել \"{0}\" պանակը գույքագրումից: Ստուգեք վանդակը ՝ գույքագրման բոլոր մանկական իրերը նույնպես հեռացնելու համար:"
|
|
2521
2523
|
},
|
|
2522
2524
|
"inventoryMonitor": {
|
|
2523
2525
|
"temperature": "Ջերմաստիճանը",
|
|
@@ -2329,7 +2329,8 @@
|
|
|
2329
2329
|
"submitting": "Жіберу",
|
|
2330
2330
|
"inDevelopment": "Даму",
|
|
2331
2331
|
"showAll": "Барлығын Көрсету",
|
|
2332
|
-
"hideAll": "Барлығын Жасыру"
|
|
2332
|
+
"hideAll": "Барлығын Жасыру",
|
|
2333
|
+
"move": "Жылжыту"
|
|
2333
2334
|
},
|
|
2334
2335
|
"auth": {
|
|
2335
2336
|
"welcomeTo": "Қош келдіңіз",
|
|
@@ -2516,7 +2517,8 @@
|
|
|
2516
2517
|
"inventory": {
|
|
2517
2518
|
"activeMemory": "Белсенді есте сақтау",
|
|
2518
2519
|
"locationHelp": "Орналасқан жері бойынша анықтама",
|
|
2519
|
-
"locationHelpDescription": "Бұл жерде жаңа {0} орнатылады."
|
|
2520
|
+
"locationHelpDescription": "Бұл жерде жаңа {0} орнатылады.",
|
|
2521
|
+
"deleteFolderDescription": "\"{0} \" қалтасын түгендеуден жойғыңыз келетініне сенімдісіз бе? Барлық элементтерді балалар тізімдемесінен алып тастау үшін құсбелгіні қойыңыз."
|
|
2520
2522
|
},
|
|
2521
2523
|
"inventoryMonitor": {
|
|
2522
2524
|
"temperature": "Температура",
|
|
@@ -2331,7 +2331,8 @@
|
|
|
2331
2331
|
"submitting": "Предоставление",
|
|
2332
2332
|
"inDevelopment": "В разработке",
|
|
2333
2333
|
"showAll": "Показать все",
|
|
2334
|
-
"hideAll": "Скрыть все"
|
|
2334
|
+
"hideAll": "Скрыть все",
|
|
2335
|
+
"move": "Подвинут"
|
|
2335
2336
|
},
|
|
2336
2337
|
"auth": {
|
|
2337
2338
|
"welcomeTo": "Добро пожаловать в",
|
|
@@ -2518,7 +2519,8 @@
|
|
|
2518
2519
|
"inventory": {
|
|
2519
2520
|
"activeMemory": "Активная память",
|
|
2520
2521
|
"locationHelp": "Помощь с местоположением",
|
|
2521
|
-
"locationHelpDescription": "В этом месте будет создан новый {0}."
|
|
2522
|
+
"locationHelpDescription": "В этом месте будет создан новый {0}.",
|
|
2523
|
+
"deleteFolderDescription": "Вы уверены, что хотите удалить папку “{0}” из инвентаря? Установите флажок, чтобы также удалить все элементы из дочернего инвентаря."
|
|
2522
2524
|
},
|
|
2523
2525
|
"inventoryMonitor": {
|
|
2524
2526
|
"temperature": "Температура",
|
|
@@ -2327,7 +2327,8 @@
|
|
|
2327
2327
|
"submitting": "提交文件",
|
|
2328
2328
|
"inDevelopment": "在开发中",
|
|
2329
2329
|
"showAll": "全部展示",
|
|
2330
|
-
"hideAll": "全部隐藏"
|
|
2330
|
+
"hideAll": "全部隐藏",
|
|
2331
|
+
"move": "移动"
|
|
2331
2332
|
},
|
|
2332
2333
|
"auth": {
|
|
2333
2334
|
"welcomeTo": "欢迎来到",
|
|
@@ -2514,7 +2515,8 @@
|
|
|
2514
2515
|
"inventory": {
|
|
2515
2516
|
"activeMemory": "主动记忆",
|
|
2516
2517
|
"locationHelp": "位置帮助",
|
|
2517
|
-
"locationHelpDescription": "将在此位置建立一个新的{0}。"
|
|
2518
|
+
"locationHelpDescription": "将在此位置建立一个新的{0}。",
|
|
2519
|
+
"deleteFolderDescription": "您确定要从清单中删除文件夹\"{0}\"吗? 选中此框还可从子库存中删除所有项目。"
|
|
2518
2520
|
},
|
|
2519
2521
|
"inventoryMonitor": {
|
|
2520
2522
|
"temperature": "温度",
|
|
@@ -7,7 +7,11 @@
|
|
|
7
7
|
:test-id="props.testId"
|
|
8
8
|
@hide-modal="emits('hide-modal')"
|
|
9
9
|
@confirm="emits('confirm')"
|
|
10
|
-
|
|
10
|
+
>
|
|
11
|
+
<template #otherContent>
|
|
12
|
+
<slot v-if="$slots.otherContent" name="otherContent" />
|
|
13
|
+
</template>
|
|
14
|
+
</common-modals-confirmation-new>
|
|
11
15
|
<common-modals-confirmation-old
|
|
12
16
|
v-else
|
|
13
17
|
:description="props.description"
|
|
@@ -7,7 +7,16 @@
|
|
|
7
7
|
:texts="modalTextsLocal"
|
|
8
8
|
@submit="onSubmit"
|
|
9
9
|
@hide="onHide"
|
|
10
|
-
|
|
10
|
+
>
|
|
11
|
+
<template #content>
|
|
12
|
+
<div class="confirm-modal__content">
|
|
13
|
+
<span>{{ props.headline }}</span>
|
|
14
|
+
<span>{{ props.description }}</span>
|
|
15
|
+
|
|
16
|
+
<slot v-if="$slots.otherContent" name="otherContent"></slot>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
</ui-popup>
|
|
11
20
|
</template>
|
|
12
21
|
|
|
13
22
|
<script setup lang="ts">
|
|
@@ -34,4 +43,26 @@ const onSubmit = (): void => {
|
|
|
34
43
|
}
|
|
35
44
|
</script>
|
|
36
45
|
|
|
37
|
-
<style scoped lang="scss"
|
|
46
|
+
<style scoped lang="scss">
|
|
47
|
+
.confirm-modal {
|
|
48
|
+
&__content {
|
|
49
|
+
padding: 16px 32px;
|
|
50
|
+
span {
|
|
51
|
+
display: block;
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
line-height: 16.94px;
|
|
55
|
+
text-align: center;
|
|
56
|
+
color: #9da6ad;
|
|
57
|
+
|
|
58
|
+
&:first-of-type {
|
|
59
|
+
font-size: 20px;
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
line-height: 24.2px;
|
|
62
|
+
color: var(--modal-title);
|
|
63
|
+
margin-bottom: 8px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
</style>
|
|
@@ -100,9 +100,8 @@ const updateSelectedRow = (): void => {
|
|
|
100
100
|
if (props.type === 'vm' && props.chart === 'network') {
|
|
101
101
|
selectedRow.value = []
|
|
102
102
|
|
|
103
|
-
if (props.currentItems.length === 1)
|
|
104
|
-
|
|
105
|
-
} else if (props.currentItems.length > 1) {
|
|
103
|
+
if (props.currentItems.length === 1) selectedRow.value.push(0)
|
|
104
|
+
else if (props.currentItems.length > 1) {
|
|
106
105
|
const totalIndex = props.currentItems.findIndex(
|
|
107
106
|
(item) => item.target_object.toLowerCase() === 'total'
|
|
108
107
|
)
|
|
@@ -221,13 +220,13 @@ watch(
|
|
|
221
220
|
} else selectedNames = selectedItems.join(', ')
|
|
222
221
|
|
|
223
222
|
/* if (props.type === 'vm' && ['network'].includes(props.chart)) {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
223
|
+
if (
|
|
224
|
+
selectedItems.includes('total') ||
|
|
225
|
+
(!selectedItems.includes('total') &&
|
|
226
|
+
items.length === newValue.length + 1)
|
|
227
|
+
)
|
|
228
|
+
selectedNames = 'total'
|
|
229
|
+
} */
|
|
231
230
|
|
|
232
231
|
emits('select-objects', selectedNames)
|
|
233
232
|
},
|
|
@@ -246,8 +245,9 @@ watch(
|
|
|
246
245
|
const selectedNames = selected.split(', ')
|
|
247
246
|
const selectedKeys: number[] = []
|
|
248
247
|
all.forEach((item) => {
|
|
249
|
-
if (selectedNames.includes('total')
|
|
250
|
-
|
|
248
|
+
if (selectedNames.includes('total') && !selectedKeys.includes(0))
|
|
249
|
+
selectedKeys.push(0)
|
|
250
|
+
if (selectedNames.includes(item[0].text))
|
|
251
251
|
selectedKeys.push(item[0].id)
|
|
252
252
|
})
|
|
253
253
|
selectedRow.value = selectedKeys
|
|
@@ -1,88 +1,92 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="ready-complete">
|
|
3
|
-
<common-details-list :items="properties" class="ready-complete__list list">
|
|
4
|
-
<template #default="{ item }">
|
|
5
|
-
<common-details-item
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="ready-complete">
|
|
3
|
+
<common-details-list :items="properties" class="ready-complete__list list">
|
|
4
|
+
<template #default="{ item }">
|
|
5
|
+
<common-details-item
|
|
6
|
+
:has-children="true"
|
|
7
|
+
open-by-default
|
|
8
|
+
:test-id="item.testId"
|
|
9
|
+
>
|
|
10
|
+
<template #stackBlockKey>
|
|
11
|
+
<span class="list__labels">
|
|
12
|
+
{{ item.label }}
|
|
13
|
+
</span>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<template #stackChildren>
|
|
17
|
+
<template
|
|
18
|
+
v-for="(item2, key2) in item.items"
|
|
19
|
+
:key="`${item2}_${key2}`"
|
|
20
|
+
>
|
|
21
|
+
<common-details-item
|
|
22
|
+
:has-children="false"
|
|
23
|
+
:test-id="item2.testId"
|
|
24
|
+
class="list__default-style"
|
|
25
|
+
>
|
|
26
|
+
<template #stackBlockKey>
|
|
27
|
+
<div>
|
|
28
|
+
{{ item2.label }}
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
<template #stackBlockContent>
|
|
32
|
+
<div v-if="item2.data">
|
|
33
|
+
<div
|
|
34
|
+
v-for="item3 in item2.data"
|
|
35
|
+
:key="item3"
|
|
36
|
+
class="flex-align-center"
|
|
37
|
+
>
|
|
38
|
+
<div class="vsphere-icon-host"></div>
|
|
39
|
+
<span>{{ item3 }}</span>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<span v-else>
|
|
43
|
+
{{ item2.value }}
|
|
44
|
+
</span>
|
|
45
|
+
</template>
|
|
46
|
+
</common-details-item>
|
|
47
|
+
</template>
|
|
48
|
+
</template>
|
|
49
|
+
</common-details-item>
|
|
50
|
+
</template>
|
|
51
|
+
</common-details-list>
|
|
52
|
+
</div>
|
|
53
|
+
</template>
|
|
54
|
+
|
|
55
|
+
<script lang="ts" setup>
|
|
56
|
+
import { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
|
|
57
|
+
import { UI_I_Localization } from '~/lib/models/interfaces'
|
|
58
|
+
|
|
59
|
+
const props = defineProps<{
|
|
60
|
+
dataReadyView: UI_I_DetailsItem[]
|
|
61
|
+
}>()
|
|
62
|
+
|
|
63
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
64
|
+
|
|
65
|
+
const properties = computed<UI_I_DetailsItem[]>(() => props.dataReadyView)
|
|
66
|
+
</script>
|
|
67
|
+
|
|
68
|
+
<style lang="scss" scoped>
|
|
69
|
+
@import '~/assets/scss/common/mixins.scss';
|
|
70
|
+
.ready-complete {
|
|
71
|
+
&__list {
|
|
72
|
+
@include flex($dir: column);
|
|
73
|
+
padding: 12px 0;
|
|
74
|
+
row-gap: 15px;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.list {
|
|
78
|
+
&__labels {
|
|
79
|
+
@include text($fs: 13px, $fw: 700);
|
|
80
|
+
}
|
|
81
|
+
:deep(.list__default-style) {
|
|
82
|
+
.stack-block {
|
|
83
|
+
&__label {
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
}
|
|
86
|
+
&-content {
|
|
87
|
+
white-space: pre-line;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
</style>
|
package/components/common/wizards/datastore/add/readyComplete/lib/config/propertiesDetails.ts
CHANGED
|
@@ -28,7 +28,7 @@ const nfsDetailsFunc = (
|
|
|
28
28
|
|
|
29
29
|
const details: UI_I_DetailsItem[] = [
|
|
30
30
|
{
|
|
31
|
-
label: localization.common.
|
|
31
|
+
label: localization.common.nfsVersion,
|
|
32
32
|
value: '',
|
|
33
33
|
items: [
|
|
34
34
|
{
|
|
@@ -39,6 +39,7 @@ const nfsDetailsFunc = (
|
|
|
39
39
|
},
|
|
40
40
|
],
|
|
41
41
|
actions: [],
|
|
42
|
+
testId: 'view-selected-nfs-version',
|
|
42
43
|
},
|
|
43
44
|
{
|
|
44
45
|
label: localization.common.nameAndConfiguration,
|
|
@@ -69,6 +70,7 @@ const nfsDetailsFunc = (
|
|
|
69
70
|
// },
|
|
70
71
|
],
|
|
71
72
|
actions: [],
|
|
73
|
+
testId: 'view-selected-name-configuration',
|
|
72
74
|
},
|
|
73
75
|
]
|
|
74
76
|
|