bfg-common 1.6.26 → 1.6.28
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_ru.json +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/New.vue +5 -0
- package/components/common/vm/actions/common/select/options/New.vue +1 -1
- package/components/common/vm/actions/rename/New.vue +7 -7
- package/components/common/wizards/common/steps/name/New.vue +6 -4
- package/package.json +2 -2
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
"ghz": "ГГц",
|
|
636
636
|
"mhz": "МГц",
|
|
637
637
|
"global": "Глобальный",
|
|
638
|
-
"globalPermissionRoot": "
|
|
638
|
+
"globalPermissionRoot": "Глобальный уровень разрешений",
|
|
639
639
|
"globalPermissions": "Глобальные разрешения",
|
|
640
640
|
"good": "Хороший",
|
|
641
641
|
"graphics": "Графика",
|
|
@@ -157,7 +157,7 @@ const onHideFileModal = (): void => {
|
|
|
157
157
|
}, 0)
|
|
158
158
|
}
|
|
159
159
|
const onSelectFile = (file: UI_I_FileTreeNode): void => {
|
|
160
|
-
source.value = file.path
|
|
160
|
+
source.value = file.path.replace(/^([^:]+):/, '[$1]:')
|
|
161
161
|
}
|
|
162
162
|
const fileTypes = computed<UI_I_OptionItem[]>(() =>
|
|
163
163
|
fileTypesFunc(localization.value)
|
|
@@ -56,6 +56,11 @@ const emits = defineEmits<{
|
|
|
56
56
|
}>()
|
|
57
57
|
|
|
58
58
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
59
|
+
|
|
60
|
+
onMounted(() => {
|
|
61
|
+
const cdDvdMediaInputElement = document.getElementById('vm-wizard-dvd-media-input')
|
|
62
|
+
cdDvdMediaInputElement?.classList.remove('text-ellipsis')
|
|
63
|
+
})
|
|
59
64
|
</script>
|
|
60
65
|
|
|
61
66
|
<style>
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
>
|
|
13
13
|
<template #content>
|
|
14
14
|
<ui-alert
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
v-if="props.errors.length"
|
|
16
|
+
:messages="props.errors.length && !isEmptyName ? props.errors : []"
|
|
17
|
+
test-id="vm-rename-error-alert"
|
|
18
|
+
type="error"
|
|
19
|
+
class="mb-2 mt-2 mx-8"
|
|
20
|
+
size="md"
|
|
21
|
+
hide-close-button
|
|
22
22
|
/>
|
|
23
23
|
<div class="content">
|
|
24
24
|
<form @submit.prevent="onRename">
|
|
@@ -17,9 +17,11 @@
|
|
|
17
17
|
<div class="name-field">
|
|
18
18
|
<div class="flex-1 flex-align-center">
|
|
19
19
|
<ui-skeleton-item v-if="isLoading" width="112px" height="20px" />
|
|
20
|
-
<label v-else :for="`${props.testIds.name}-name`" class="name-label"
|
|
21
|
-
localization.common.name
|
|
22
|
-
|
|
20
|
+
<label v-else :for="`${props.testIds.name}-name`" class="name-label"
|
|
21
|
+
>{{ localization.common.name }} ({{
|
|
22
|
+
localization.common.optional
|
|
23
|
+
}})</label
|
|
24
|
+
>
|
|
23
25
|
|
|
24
26
|
<common-tooltip-help
|
|
25
27
|
v-if="!isLoading"
|
|
@@ -55,7 +57,7 @@
|
|
|
55
57
|
<ui-input
|
|
56
58
|
v-model="name"
|
|
57
59
|
id="vm-name-tooltip"
|
|
58
|
-
:placeholder="`${localization.common.name}
|
|
60
|
+
:placeholder="`${localization.common.name}`"
|
|
59
61
|
type="text"
|
|
60
62
|
maxlength="54"
|
|
61
63
|
:error="props.nameErrorText"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bfg-common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.28",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "nuxt build",
|
|
7
7
|
"dev": "nuxt dev --port=3002",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@vueuse/core": "10.1.2",
|
|
19
19
|
"@vueuse/nuxt": "10.1.2",
|
|
20
20
|
"bfg-nuxt-3-graph": "1.0.27",
|
|
21
|
-
"bfg-uikit": "1.1.
|
|
21
|
+
"bfg-uikit": "1.1.26",
|
|
22
22
|
"eslint-config-prettier": "^8.5.0",
|
|
23
23
|
"eslint-plugin-myrules": "file:./eslint",
|
|
24
24
|
"nuxt": "3.11.2",
|