bfg-common 1.5.304 → 1.5.306
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 +2 -1
- package/assets/localization/local_en.json +2 -1
- package/assets/localization/local_hy.json +2 -1
- package/assets/localization/local_kk.json +2 -1
- package/assets/localization/local_ru.json +2 -1
- package/assets/localization/local_zh.json +2 -1
- package/components/atoms/collapse/CollapseNav.vue +1 -0
- package/components/atoms/collapse/lib/models/interfaces.ts +1 -0
- package/components/atoms/tabs/Tabs.vue +1 -0
- package/components/common/backup/storage/actions/add/New.vue +8 -6
- package/components/common/backup/storage/actions/add/steps/name/Name.vue +3 -3
- package/components/common/backup/storage/actions/add/steps/name/New.vue +3 -1
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigure.vue +2 -0
- package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue +14 -8
- package/components/common/select/button/ButtonDropdown.vue +5 -1
- package/components/common/select/button/lib/models/interfaces.ts +1 -0
- package/components/common/tools/Actions.vue +7 -1
- package/components/common/tools/lib/models/interfaces.ts +1 -0
- package/package.json +1 -1
|
@@ -308,6 +308,7 @@
|
|
|
308
308
|
"copyUrl": "Скапіраваць URL",
|
|
309
309
|
"coresPerSocket": "Ядра на сокет",
|
|
310
310
|
"counters": "Лічыльнік",
|
|
311
|
+
"metric": "Метрыка",
|
|
311
312
|
"cpu": "Цэнтральны працэсар",
|
|
312
313
|
"cpuCores": "Ядра працэсара",
|
|
313
314
|
"cpuHotPlug": "Гарачая замена працэсара",
|
|
@@ -2610,7 +2611,7 @@
|
|
|
2610
2611
|
"mountGuestTools": "Мантаваць гасцявыя інструменты",
|
|
2611
2612
|
"template": "Шаблон",
|
|
2612
2613
|
"convertToTemplate": "Пераўтварыць у шаблон",
|
|
2613
|
-
"newTemplate": "
|
|
2614
|
+
"newTemplate": "Новы шаблон",
|
|
2614
2615
|
"createTemplateFromVM": "Стварыць шаблон з ВМ"
|
|
2615
2616
|
},
|
|
2616
2617
|
"networks": {
|
|
@@ -307,6 +307,7 @@
|
|
|
307
307
|
"copyUrl": "Copy Url",
|
|
308
308
|
"coresPerSocket": "Cores per Socket",
|
|
309
309
|
"counters": "Counters",
|
|
310
|
+
"metric": "Metric",
|
|
310
311
|
"cpu": "CPU",
|
|
311
312
|
"cpuCores": "CPU Cores",
|
|
312
313
|
"cpuHotPlug": "CPU Hot Plug",
|
|
@@ -1802,7 +1803,7 @@
|
|
|
1802
1803
|
"procurator": "Procurator",
|
|
1803
1804
|
"collapseAll": "Collapse All",
|
|
1804
1805
|
"expandAll": "Expand All",
|
|
1805
|
-
"datastoreTypeHelpDesc": "Attention! Further settings depend on the choice of the storage type",
|
|
1806
|
+
"datastoreTypeHelpDesc": "Attention! Further settings depend on the choice of the storage type.",
|
|
1806
1807
|
"localStorage": "Local",
|
|
1807
1808
|
"stormSharedStorage": "Shared Storm",
|
|
1808
1809
|
"localStorageHelpDesc": "The data is stored on the local file system of the host.",
|
|
@@ -307,6 +307,7 @@
|
|
|
307
307
|
"copyUrl": "Պատճենել URL-ը",
|
|
308
308
|
"coresPerSocket": "Միջուկներ մեկ վարդակից",
|
|
309
309
|
"counters": "Հաշվիչներ",
|
|
310
|
+
"metric": "Ցուցանիշ",
|
|
310
311
|
"cpu": "CPU",
|
|
311
312
|
"cpuCores": "Պրոցեսորի միջուկներ",
|
|
312
313
|
"cpuHotPlug": "Hot Swap CPU",
|
|
@@ -2614,7 +2615,7 @@
|
|
|
2614
2615
|
"mountGuestTools": "Տեղադրեք հյուրերի գործիքները",
|
|
2615
2616
|
"template": "Ձևանմուշ",
|
|
2616
2617
|
"convertToTemplate": "Վերափոխել ձևանմուշի",
|
|
2617
|
-
"newTemplate": "
|
|
2618
|
+
"newTemplate": "Նոր ձևանմուշ",
|
|
2618
2619
|
"createTemplateFromVM": "Ստեղծել ձևանմուշ ՎՄ-ից"
|
|
2619
2620
|
},
|
|
2620
2621
|
"networks": {
|
|
@@ -307,6 +307,7 @@
|
|
|
307
307
|
"copyUrl": "URL мекенжайын көшіріңіз",
|
|
308
308
|
"coresPerSocket": "Әр розеткаға арналған өзектер",
|
|
309
309
|
"counters": "Есептегіштер",
|
|
310
|
+
"metric": "Метрика",
|
|
310
311
|
"cpu": "Орталық Есептеуіш Бөлім",
|
|
311
312
|
"cpuCores": "Працесар өзегі",
|
|
312
313
|
"cpuHotPlug": "Ыстық ауыстыру процессоры",
|
|
@@ -2613,7 +2614,7 @@
|
|
|
2613
2614
|
"mountGuestTools": "Қонақ құралдарын орнату",
|
|
2614
2615
|
"template": "Үлгі",
|
|
2615
2616
|
"convertToTemplate": "Үлгіге айналдыру",
|
|
2616
|
-
"newTemplate": "
|
|
2617
|
+
"newTemplate": "Жаңа үлгі",
|
|
2617
2618
|
"createTemplateFromVM": "ВМ негізінде үлгі жасау"
|
|
2618
2619
|
},
|
|
2619
2620
|
"networks": {
|
|
@@ -307,6 +307,7 @@
|
|
|
307
307
|
"copyUrl": "Копировать URL",
|
|
308
308
|
"coresPerSocket": "Ядер на сокет",
|
|
309
309
|
"counters": "Счетчики",
|
|
310
|
+
"metric": "Метрика",
|
|
310
311
|
"cpu": "Процессор",
|
|
311
312
|
"cpuCores": "Ядра процессора",
|
|
312
313
|
"cpuHotPlug": "Горячая замена ЦП",
|
|
@@ -2613,7 +2614,7 @@
|
|
|
2613
2614
|
"mountGuestTools": "Монтировать гостевые инструменты",
|
|
2614
2615
|
"template": "Шаблон",
|
|
2615
2616
|
"convertToTemplate": "Преобразовать в шаблон",
|
|
2616
|
-
"newTemplate": "
|
|
2617
|
+
"newTemplate": "Новый шаблон",
|
|
2617
2618
|
"createTemplateFromVM": "Создать шаблон из ВМ"
|
|
2618
2619
|
},
|
|
2619
2620
|
"networks": {
|
|
@@ -307,6 +307,7 @@
|
|
|
307
307
|
"copyUrl": "复制网址",
|
|
308
308
|
"coresPerSocket": "每个插座的核心数",
|
|
309
309
|
"counters": "柜台",
|
|
310
|
+
"metric": "指标",
|
|
310
311
|
"cpu": "中央处理器",
|
|
311
312
|
"cpuCores": "处理器核心",
|
|
312
313
|
"cpuHotPlug": "热插拔处理器",
|
|
@@ -2611,7 +2612,7 @@
|
|
|
2611
2612
|
"mountGuestTools": "安装访客工具",
|
|
2612
2613
|
"template": "模板",
|
|
2613
2614
|
"convertToTemplate": "转换为模板",
|
|
2614
|
-
"newTemplate": "
|
|
2615
|
+
"newTemplate": "新模板",
|
|
2615
2616
|
"createTemplateFromVM": "从虚拟机创建模板"
|
|
2616
2617
|
},
|
|
2617
2618
|
"networks": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
<ui-wizard-subtitle :sub-title="selectedStep.subTitle" />
|
|
23
23
|
|
|
24
24
|
<common-tooltip-help
|
|
25
|
-
test-id="datastore-type-subtitle-tooltip"
|
|
26
|
-
help-id="datastore-type-subtitle-tooltip-icon"
|
|
27
25
|
:title="localization.common.information"
|
|
28
26
|
:help-text="localization.common.datastoreTypeHelpDesc"
|
|
29
27
|
:is-show-help="isShowFirstStepHelp"
|
|
28
|
+
test-id="datastore-type-subtitle-tooltip"
|
|
29
|
+
help-id="datastore-type-subtitle-tooltip-icon"
|
|
30
30
|
dropdown-width="320px"
|
|
31
31
|
dropdown-left
|
|
32
32
|
class="ml-2"
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
<div class="subtitle-block">
|
|
56
56
|
<ui-alert
|
|
57
57
|
v-if="props.alertMessages[dynamicSteps.name].length"
|
|
58
|
+
:messages="props.alertMessages[dynamicSteps.name]"
|
|
58
59
|
test-id="add-host-connection-settings-error-alert"
|
|
59
60
|
type="error"
|
|
60
61
|
size="md"
|
|
61
|
-
:messages="props.alertMessages[dynamicSteps.name]"
|
|
62
62
|
class="subtitle-block__alert"
|
|
63
63
|
/>
|
|
64
64
|
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
:project="props.project"
|
|
74
74
|
:alert-messages="props.alertMessages[dynamicSteps.name]"
|
|
75
75
|
:messages-fields="selectedStep.fields"
|
|
76
|
+
:is-disabled-name-field="wizard.wizardLoader.status"
|
|
76
77
|
/>
|
|
77
78
|
</template>
|
|
78
79
|
</ui-wizard-block>
|
|
@@ -86,10 +87,10 @@
|
|
|
86
87
|
<div class="subtitle-block">
|
|
87
88
|
<ui-alert
|
|
88
89
|
v-if="props.alertMessages[dynamicSteps.nameAndConfigure].length"
|
|
90
|
+
:messages="props.alertMessages[dynamicSteps.nameAndConfigure]"
|
|
89
91
|
test-id="add-host-connection-settings-error-alert"
|
|
90
92
|
type="error"
|
|
91
93
|
size="md"
|
|
92
|
-
:messages="props.alertMessages[dynamicSteps.nameAndConfigure]"
|
|
93
94
|
class="subtitle-block__alert"
|
|
94
95
|
/>
|
|
95
96
|
|
|
@@ -104,6 +105,7 @@
|
|
|
104
105
|
:project="props.project"
|
|
105
106
|
:alert-messages="props.alertMessages"
|
|
106
107
|
:messages-fields="selectedStep.fields"
|
|
108
|
+
:is-disabled-name-field="wizard.wizardLoader.status"
|
|
107
109
|
/>
|
|
108
110
|
</template>
|
|
109
111
|
</ui-wizard-block>
|
|
@@ -117,10 +119,10 @@
|
|
|
117
119
|
<div class="subtitle-block">
|
|
118
120
|
<ui-alert
|
|
119
121
|
v-if="props.alertMessages[dynamicSteps.storage].length"
|
|
122
|
+
:messages="props.alertMessages[dynamicSteps.storage]"
|
|
120
123
|
test-id="add-host-accessibility-error-alert"
|
|
121
124
|
type="error"
|
|
122
125
|
size="md"
|
|
123
|
-
:messages="props.alertMessages[dynamicSteps.storage]"
|
|
124
126
|
class="subtitle-block__alert"
|
|
125
127
|
/>
|
|
126
128
|
|
|
@@ -154,10 +156,10 @@
|
|
|
154
156
|
v-if="
|
|
155
157
|
props.alertMessages[dynamicSteps.hostAccessibility].length
|
|
156
158
|
"
|
|
159
|
+
:messages="props.alertMessages[dynamicSteps.hostAccessibility]"
|
|
157
160
|
test-id="add-host-accessibility-error-alert"
|
|
158
161
|
type="error"
|
|
159
162
|
size="md"
|
|
160
|
-
:messages="props.alertMessages[dynamicSteps.hostAccessibility]"
|
|
161
163
|
class="subtitle-block__alert"
|
|
162
164
|
/>
|
|
163
165
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
v-model="formModel"
|
|
5
5
|
:alert-messages="props.alertMessages"
|
|
6
6
|
:messages-fields="props.messagesFields"
|
|
7
|
+
:is-disabled-name-field="props.isDisabledNameField"
|
|
7
8
|
/>
|
|
8
9
|
|
|
9
10
|
<common-backup-storage-actions-add-steps-name-old
|
|
@@ -17,9 +18,7 @@
|
|
|
17
18
|
|
|
18
19
|
<script lang="ts" setup>
|
|
19
20
|
import type { UI_T_Project } from '~/lib/models/types'
|
|
20
|
-
import type {
|
|
21
|
-
UI_I_ArbitraryObject,
|
|
22
|
-
} from '~/lib/models/interfaces'
|
|
21
|
+
import type { UI_I_ArbitraryObject } from '~/lib/models/interfaces'
|
|
23
22
|
import type { UI_I_ErrorFields } from '~/components/atoms/wizard/lib/models/interfaces'
|
|
24
23
|
import type { UI_I_CreateDatastoreForm } from '~/components/common/backup/storage/actions/add/lib/models/interfaces'
|
|
25
24
|
|
|
@@ -28,6 +27,7 @@ const props = defineProps<{
|
|
|
28
27
|
project: UI_T_Project
|
|
29
28
|
alertMessages: string[]
|
|
30
29
|
messagesFields: UI_I_ArbitraryObject<UI_I_ErrorFields>
|
|
30
|
+
isDisabledNameField?: boolean
|
|
31
31
|
}>()
|
|
32
32
|
const emits = defineEmits<{
|
|
33
33
|
(event: 'hide-alert', value: number): void
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
id="name-selection-input"
|
|
12
12
|
v-model="formModelLocal.name"
|
|
13
13
|
:placeholder="localization.common.name"
|
|
14
|
-
test-id="name-selection-input"
|
|
15
14
|
:error="nameErrorText"
|
|
15
|
+
:disabled="props.isDisabledNameField"
|
|
16
|
+
test-id="name-selection-input"
|
|
16
17
|
/>
|
|
17
18
|
</div>
|
|
18
19
|
</div>
|
|
@@ -31,6 +32,7 @@ const formModelLocal = defineModel<UI_I_CreateDatastoreForm>({ required: true })
|
|
|
31
32
|
const props = defineProps<{
|
|
32
33
|
alertMessages: string[]
|
|
33
34
|
messagesFields: UI_I_ArbitraryObject<UI_I_ErrorFields>
|
|
35
|
+
isDisabledNameField?: boolean
|
|
34
36
|
}>()
|
|
35
37
|
|
|
36
38
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigure.vue
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
v-model:alert-info="isShowAlertInfo"
|
|
6
6
|
:alert-messages="props.alertMessages"
|
|
7
7
|
:messages-fields="props.messagesFields"
|
|
8
|
+
:is-disabled-name-field="props.isDisabledNameField"
|
|
8
9
|
/>
|
|
9
10
|
|
|
10
11
|
<common-backup-storage-actions-add-steps-name-and-configure-old
|
|
@@ -27,6 +28,7 @@ const props = defineProps<{
|
|
|
27
28
|
project: UI_T_Project
|
|
28
29
|
alertMessages: string[]
|
|
29
30
|
messagesFields: UI_I_WizardStep['fields']
|
|
31
|
+
isDisabledNameField?: boolean
|
|
30
32
|
}>()
|
|
31
33
|
const emits = defineEmits<{
|
|
32
34
|
(event: 'hide-alert', value: number): void
|
package/components/common/backup/storage/actions/add/steps/nameAndConfigure/NameAndConfigureNew.vue
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<div class="basics-step">
|
|
3
3
|
<ui-alert
|
|
4
4
|
v-show="isShowAlertInfo"
|
|
5
|
-
test-id="configure-information-alert"
|
|
6
5
|
:messages="[localization.common.nameAndConfigurationAlertInfo]"
|
|
6
|
+
test-id="configure-information-alert"
|
|
7
7
|
type="info"
|
|
8
8
|
class="mb-4"
|
|
9
9
|
size="md"
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
<ui-input
|
|
21
21
|
id="configuration-name-input"
|
|
22
22
|
v-model="formModelLocal.name"
|
|
23
|
-
test-id="configuration-name-input"
|
|
24
|
-
is-focused
|
|
25
23
|
:placeholder="localization.common.name"
|
|
26
24
|
:error="nameErrorText"
|
|
25
|
+
:disabled="props.isDisabledNameField"
|
|
26
|
+
test-id="configuration-name-input"
|
|
27
|
+
is-focused
|
|
27
28
|
/>
|
|
28
29
|
</div>
|
|
29
30
|
</div>
|
|
@@ -49,9 +50,10 @@
|
|
|
49
50
|
<ui-input
|
|
50
51
|
id="configuration-folder-input"
|
|
51
52
|
v-model="formModelLocal.folder"
|
|
52
|
-
test-id="configuration-folder-input"
|
|
53
53
|
:placeholder="localization.backup.folderPlaceholder"
|
|
54
54
|
:error="folderErrorText"
|
|
55
|
+
:disabled="props.isDisabledNameField"
|
|
56
|
+
test-id="configuration-folder-input"
|
|
55
57
|
/>
|
|
56
58
|
</div>
|
|
57
59
|
</div>
|
|
@@ -77,9 +79,10 @@
|
|
|
77
79
|
<ui-input
|
|
78
80
|
id="configuration-server-input"
|
|
79
81
|
v-model="formModelLocal.server"
|
|
80
|
-
test-id="configuration-server-input"
|
|
81
82
|
:placeholder="localization.backup.serverPlaceholder"
|
|
82
83
|
:error="serverErrorText"
|
|
84
|
+
:disabled="props.isDisabledNameField"
|
|
85
|
+
test-id="configuration-server-input"
|
|
83
86
|
/>
|
|
84
87
|
</div>
|
|
85
88
|
</div>
|
|
@@ -96,9 +99,10 @@
|
|
|
96
99
|
<ui-input
|
|
97
100
|
id="configuration-username-input"
|
|
98
101
|
v-model="formModelLocal.user"
|
|
99
|
-
test-id="configuration-username-input"
|
|
100
102
|
:placeholder="localization.auth.username"
|
|
101
103
|
:error="usernameErrorText"
|
|
104
|
+
:disabled="props.isDisabledNameField"
|
|
105
|
+
test-id="configuration-username-input"
|
|
102
106
|
/>
|
|
103
107
|
</div>
|
|
104
108
|
</div>
|
|
@@ -115,10 +119,11 @@
|
|
|
115
119
|
<ui-input
|
|
116
120
|
id="configuration-password-input"
|
|
117
121
|
v-model="formModelLocal.password"
|
|
118
|
-
type="password"
|
|
119
|
-
test-id="configuration-password-input"
|
|
120
122
|
:placeholder="localization.auth.password"
|
|
121
123
|
:error="passwordErrorText"
|
|
124
|
+
:disabled="props.isDisabledNameField"
|
|
125
|
+
type="password"
|
|
126
|
+
test-id="configuration-password-input"
|
|
122
127
|
/>
|
|
123
128
|
</div>
|
|
124
129
|
</div>
|
|
@@ -136,6 +141,7 @@ const isShowAlertInfo = defineModel<boolean>('alertInfo', { required: true })
|
|
|
136
141
|
const props = defineProps<{
|
|
137
142
|
alertMessages: string[]
|
|
138
143
|
messagesFields: UI_I_WizardStep['fields']
|
|
144
|
+
isDisabledNameField?: boolean
|
|
139
145
|
}>()
|
|
140
146
|
|
|
141
147
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
</button>
|
|
12
12
|
|
|
13
13
|
<div v-show="open" :class="['dropdown-menu', { top: props.isTop }]">
|
|
14
|
-
<div
|
|
14
|
+
<div
|
|
15
|
+
v-for="(item, key) in props.items"
|
|
16
|
+
:key="key"
|
|
17
|
+
v-permission="item.permission"
|
|
18
|
+
>
|
|
15
19
|
<button
|
|
16
20
|
:id="`${props.testId}-item`"
|
|
17
21
|
:data-id="item.testId"
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
class="btn-group"
|
|
7
7
|
>
|
|
8
8
|
<div v-for="(button, key) in props.actions" :key="button.type">
|
|
9
|
-
<label
|
|
9
|
+
<label
|
|
10
|
+
v-if="button.uploaded"
|
|
11
|
+
v-development="button.development"
|
|
12
|
+
v-permission="button.permission"
|
|
13
|
+
>
|
|
10
14
|
<span
|
|
11
15
|
:class="[`btn btn-link ${props.size}`]"
|
|
12
16
|
:data-id="`${button.testId}-text`"
|
|
@@ -29,6 +33,7 @@
|
|
|
29
33
|
v-else
|
|
30
34
|
:id="`actions-button-${key}`"
|
|
31
35
|
v-development="button.development"
|
|
36
|
+
v-permission="button.permission"
|
|
32
37
|
:data-id="button.testId"
|
|
33
38
|
:class="[`btn btn-link ${props.size}`]"
|
|
34
39
|
:disabled="button.disabled"
|
|
@@ -93,6 +98,7 @@ const collapsedItems = computed<UI_I_CollapseNavItem[]>(() => {
|
|
|
93
98
|
value: item.type,
|
|
94
99
|
disabled: item.disabled,
|
|
95
100
|
development: item.development,
|
|
101
|
+
permission: item.permission,
|
|
96
102
|
uploaded: item.uploaded,
|
|
97
103
|
testId: item.testId,
|
|
98
104
|
}
|