bfg-common 1.5.435 → 1.5.436
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/components/common/vm/actions/add/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue +4 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/Model.vue +3 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelOld.vue +7 -8
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/Tooltip.vue +4 -0
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/tooltip/TooltipOld.vue +4 -4
- package/components/common/vm/actions/common/select/compatibility/New.vue +7 -3
- package/components/common/vm/actions/common/select/name/Old.vue +2 -0
- package/components/common/vm/actions/common/select/storage/new/New.vue +11 -1
- package/components/common/vmt/actions/add/New.vue +1 -1
- package/components/common/wizards/datastore/add/steps/hostAccessibility/HostAccessibilityNew.vue +1 -0
- package/components/common/wizards/datastore/add/steps/hostAccessibility/table/new/New.vue +6 -0
- package/components/common/wizards/datastore/add/steps/nameAndDevice/table/new/New.vue +6 -11
- package/package.json +1 -1
package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuOld.vue
CHANGED
@@ -41,6 +41,7 @@
|
|
41
41
|
</div>
|
42
42
|
|
43
43
|
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-tooltip
|
44
|
+
v-model:selected-tooltip="selectedTooltip"
|
44
45
|
:vm-cpu-help-text-second="props.vmCpuHelpTextSecond"
|
45
46
|
/>
|
46
47
|
</div>
|
@@ -112,6 +113,7 @@
|
|
112
113
|
v-model:cpu-model="cpuModel"
|
113
114
|
v-model:passthrough-host-cpu="passthroughHostCpu"
|
114
115
|
v-model:host-model-cpu="hostModelCpu"
|
116
|
+
v-model:selected-tooltip="selectedTooltip"
|
115
117
|
:cpu-models="props.cpuModels"
|
116
118
|
:is-edit="props.isEdit"
|
117
119
|
:error-validation-fields="props.errorValidationFields"
|
@@ -180,6 +182,8 @@ const emits = defineEmits<{
|
|
180
182
|
}>()
|
181
183
|
|
182
184
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
185
|
+
|
186
|
+
const selectedTooltip = ref<string>('')
|
183
187
|
</script>
|
184
188
|
|
185
189
|
<style scoped lang="scss"></style>
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/Model.vue
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
v-else
|
17
17
|
v-model:passthrough-host-cpu="passthroughHostCpuLocal"
|
18
18
|
v-model:host-model-cpu="hostModelCpuLocal"
|
19
|
+
v-model:selected-tooltip="selectedTooltip"
|
19
20
|
:cpu-model="props.cpuModel"
|
20
21
|
:cpu-model-options="cpuModelOptions"
|
21
22
|
:disabled="props.disabled"
|
@@ -34,6 +35,8 @@ import type {
|
|
34
35
|
import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
|
35
36
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
36
37
|
|
38
|
+
const selectedTooltip = defineModel<string>('selectedTooltip', { required: true })
|
39
|
+
|
37
40
|
const props = defineProps<{
|
38
41
|
cpuModel: string
|
39
42
|
passthroughHostCpu: boolean
|
package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/model/ModelOld.vue
CHANGED
@@ -57,13 +57,13 @@
|
|
57
57
|
height="24px"
|
58
58
|
name="info-circle"
|
59
59
|
class="cursor-pointer"
|
60
|
-
@click.stop="
|
60
|
+
@click.stop="selectedTooltip = selectedTooltip === 'passthroughHostCpu' ? '' : 'passthroughHostCpu'"
|
61
61
|
/>
|
62
62
|
<Teleport to="body">
|
63
63
|
<atoms-tooltip-signpost
|
64
|
-
v-if="
|
64
|
+
v-if="selectedTooltip === 'passthroughHostCpu'"
|
65
65
|
elem-id="passthrough-help-icon"
|
66
|
-
@hide="
|
66
|
+
@hide="selectedTooltip = ''"
|
67
67
|
>
|
68
68
|
<h3 class="passthrough-help-title">
|
69
69
|
{{ localization.mainNavigation.help }}
|
@@ -99,13 +99,13 @@
|
|
99
99
|
name="info-circle"
|
100
100
|
class="cursor-pointer"
|
101
101
|
data-id="show-host-model-help-icon"
|
102
|
-
@click.stop="
|
102
|
+
@click.stop="selectedTooltip = selectedTooltip === 'hostModel' ? '' : 'hostModel'"
|
103
103
|
/>
|
104
104
|
<Teleport to="body">
|
105
105
|
<atoms-tooltip-signpost
|
106
|
-
v-if="
|
106
|
+
v-if="selectedTooltip === 'hostModel'"
|
107
107
|
elem-id="host-model-help-icon"
|
108
|
-
@hide="
|
108
|
+
@hide="selectedTooltip = ''"
|
109
109
|
>
|
110
110
|
<h3 class="host-model-help-title">
|
111
111
|
{{ localization.mainNavigation.help }}
|
@@ -135,6 +135,7 @@ import type {
|
|
135
135
|
} from '~/lib/models/interfaces'
|
136
136
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
137
137
|
|
138
|
+
const selectedTooltip = defineModel<string>('selectedTooltip', { required: true })
|
138
139
|
const passthroughHostCpu = defineModel<boolean>('passthroughHostCpu')
|
139
140
|
const hostModelCpu = defineModel<boolean>('hostModelCpu')
|
140
141
|
|
@@ -153,8 +154,6 @@ const emits = defineEmits<{
|
|
153
154
|
|
154
155
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
155
156
|
|
156
|
-
const isShowPassthroughHost = ref<boolean>(false)
|
157
|
-
const isShowHostModel = ref<boolean>(false)
|
158
157
|
</script>
|
159
158
|
|
160
159
|
<style scoped lang="scss">
|
@@ -5,11 +5,15 @@
|
|
5
5
|
/>
|
6
6
|
<common-vm-actions-common-customize-hardware-virtual-hardware-cpu-tooltip-old
|
7
7
|
v-else
|
8
|
+
v-model:selected-tooltip="selectedTooltip"
|
8
9
|
:description="props.vmCpuHelpTextSecond"
|
9
10
|
/>
|
10
11
|
</template>
|
11
12
|
|
12
13
|
<script lang="ts" setup>
|
14
|
+
|
15
|
+
const selectedTooltip = defineModel<string>('selectedTooltip', { required: true })
|
16
|
+
|
13
17
|
const props = defineProps<{
|
14
18
|
vmCpuHelpTextSecond: string
|
15
19
|
}>()
|
@@ -6,13 +6,13 @@
|
|
6
6
|
height="24px"
|
7
7
|
name="info-circle"
|
8
8
|
data-id="show-cpu-help-icon"
|
9
|
-
@click.stop="
|
9
|
+
@click.stop="selectedTooltip = selectedTooltip === 'cpu' ? '' : 'cpu'"
|
10
10
|
/>
|
11
11
|
<Teleport to="body">
|
12
12
|
<atoms-tooltip-signpost
|
13
|
-
v-if="
|
13
|
+
v-if="selectedTooltip === 'cpu'"
|
14
14
|
elem-id="cpu-help-icon"
|
15
|
-
@hide="
|
15
|
+
@hide="selectedTooltip = ''"
|
16
16
|
>
|
17
17
|
<h3 class="cpu-help-title">
|
18
18
|
{{ localization.mainNavigation.help }}
|
@@ -47,13 +47,13 @@
|
|
47
47
|
<script lang="ts" setup>
|
48
48
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
49
49
|
|
50
|
+
const selectedTooltip = defineModel<string>('selectedTooltip', { required: true })
|
50
51
|
const props = defineProps<{
|
51
52
|
description: string
|
52
53
|
}>()
|
53
54
|
|
54
55
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
55
56
|
|
56
|
-
const isShowCpuHelp = ref<boolean>(false)
|
57
57
|
</script>
|
58
58
|
|
59
59
|
<style lang="scss" scoped></style>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="select-compatibility
|
2
|
+
<div class="select-compatibility py-4">
|
3
3
|
<Teleport to="#compatibility-alert-wrapper">
|
4
4
|
<ui-alert
|
5
5
|
v-show="props.apiError.length"
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<h3 class="select-compatibility-description pb-4">
|
14
14
|
{{ props.description }}
|
15
15
|
</h3>
|
16
|
-
<div class="version-select-wrap">
|
16
|
+
<div :class="['version-select-wrap', `elements-count-${versionsLocal.length}`]">
|
17
17
|
<div
|
18
18
|
v-for="item in versionsLocal"
|
19
19
|
:key="item.value"
|
@@ -128,9 +128,13 @@ const versionsLocal = computed(() => {
|
|
128
128
|
|
129
129
|
.version-select-wrap {
|
130
130
|
display: grid;
|
131
|
-
grid-template-columns: repeat(
|
131
|
+
grid-template-columns: repeat(2, 50%);
|
132
132
|
gap: 12px;
|
133
133
|
|
134
|
+
&.elements-count-3 {
|
135
|
+
grid-template-columns: repeat(3, 32.3%);
|
136
|
+
}
|
137
|
+
|
134
138
|
.version-select {
|
135
139
|
background-color: var(--select-compatibility-bg-color);
|
136
140
|
box-shadow: inset 0 0 0 1px var(--select-compatibility-border-color);
|
@@ -19,6 +19,7 @@
|
|
19
19
|
:loading="props.isDatastoreLoading"
|
20
20
|
:default-layout="false"
|
21
21
|
:texts="tableTexts"
|
22
|
+
:skeleton="skeletonData"
|
22
23
|
test-id="select-storage-data-table"
|
23
24
|
server-off
|
24
25
|
size="sm"
|
@@ -84,7 +85,10 @@
|
|
84
85
|
</template>
|
85
86
|
|
86
87
|
<script setup lang="ts">
|
87
|
-
import type {
|
88
|
+
import type {
|
89
|
+
UI_I_DataTableOptions,
|
90
|
+
UI_I_DataTableSkeleton,
|
91
|
+
} from 'bfg-uikit/components/ui/dataTable/models/interfaces'
|
88
92
|
import type {
|
89
93
|
UI_I_DataTable,
|
90
94
|
UI_I_TableTexts,
|
@@ -169,6 +173,12 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
|
|
169
173
|
|
170
174
|
emits('change-storage', selectedItemIndex)
|
171
175
|
}
|
176
|
+
|
177
|
+
const skeletonData = ref<UI_I_DataTableSkeleton>({
|
178
|
+
columnsCount: 5,
|
179
|
+
headColumns: [],
|
180
|
+
bodyColumns: [],
|
181
|
+
})
|
172
182
|
</script>
|
173
183
|
|
174
184
|
<style>
|
@@ -103,6 +103,12 @@ const onSelectRow = (value: UI_I_DataTableBody[]): void => {
|
|
103
103
|
<style lang="scss" scoped>
|
104
104
|
.host-accessibility-table {
|
105
105
|
margin-bottom: 10px;
|
106
|
+
:deep(.column-manager-button.sm span) {
|
107
|
+
font-weight: 500;
|
108
|
+
}
|
109
|
+
:deep(.table-title .title-container h6) {
|
110
|
+
font-size: 12px;
|
111
|
+
}
|
106
112
|
&__icon {
|
107
113
|
margin-right: 4px;
|
108
114
|
}
|
@@ -146,19 +146,14 @@ const onSelectRow = (value: UI_I_DataTableBody[]): void => {
|
|
146
146
|
}
|
147
147
|
</script>
|
148
148
|
|
149
|
-
<style>
|
150
|
-
:root {
|
151
|
-
--select-storage-border-color: #e9ebed;
|
152
|
-
--select-storage-bg-color: #ffffff;
|
153
|
-
}
|
154
|
-
:root.dark-theme {
|
155
|
-
--select-storage-border-color: #e9ebed1f;
|
156
|
-
--select-storage-bg-color: var(--wizard-right-bg);
|
157
|
-
}
|
158
|
-
</style>
|
159
|
-
|
160
149
|
<style lang="scss" scoped>
|
161
150
|
.device-table-container {
|
151
|
+
:deep(.column-manager-button.sm span) {
|
152
|
+
font-weight: 500;
|
153
|
+
}
|
154
|
+
:deep(.table-title .title-container h6) {
|
155
|
+
font-size: 12px;
|
156
|
+
}
|
162
157
|
.device-table {
|
163
158
|
&__icon {
|
164
159
|
margin-right: 4px;
|