bfg-common 1.5.434 → 1.5.435
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/browse/BrowseNew.vue +1 -0
- package/components/common/browse/blocks/Container.vue +5 -5
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/storageModal/new/New.vue +1 -1
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/Table.vue +31 -24
- package/components/common/vm/actions/common/select/storage/new/New.vue +14 -14
- package/package.json +1 -1
@@ -21,7 +21,7 @@
|
|
21
21
|
]"
|
22
22
|
:data-id="`${props.testId}-first`"
|
23
23
|
:style="seperatorStyles"
|
24
|
-
@mousedown="onMouseDown($event, 'first')"
|
24
|
+
@mousedown.prevent="onMouseDown($event, 'first')"
|
25
25
|
>
|
26
26
|
<div :style="moveSeperatorBeforeStyles"></div>
|
27
27
|
</div>
|
@@ -38,7 +38,7 @@
|
|
38
38
|
]"
|
39
39
|
:data-id="`${props.testId}-second`"
|
40
40
|
:style="secondSeperatorStyles"
|
41
|
-
@mousedown="onMouseDown($event, 'second')"
|
41
|
+
@mousedown.prevent="onMouseDown($event, 'second')"
|
42
42
|
>
|
43
43
|
<div :style="secondMoveSeperatorBeforeStyles"></div>
|
44
44
|
</div>
|
@@ -106,16 +106,16 @@ watch(
|
|
106
106
|
|
107
107
|
// const translation1 = computed<number>(() => (isNewView.value ? 31 : 28))
|
108
108
|
// const translation2 = computed<number>(() => (isNewView.value ? 47 : 28))
|
109
|
-
const translation = computed<number>(() => (isNewView.value ? 31 : 28))
|
109
|
+
// const translation = computed<number>(() => (isNewView.value ? 31 : 28))
|
110
110
|
|
111
111
|
const seperatorStyles = computed(() => ({
|
112
112
|
// left: `${props.blocksWidth[0] + translation1.value}px`,
|
113
|
-
left: `${props.blocksWidth[0]
|
113
|
+
left: `${props.blocksWidth[0]}px`,
|
114
114
|
height: `${heightContainerBlock.value}px`,
|
115
115
|
}))
|
116
116
|
const secondSeperatorStyles = computed(() => ({
|
117
117
|
// right: `${props.blocksWidth[2] + translation2.value}px`,
|
118
|
-
left: `${props.blocksWidth[0] + props.blocksWidth[1]
|
118
|
+
left: `${props.blocksWidth[0] + props.blocksWidth[1]}px`,
|
119
119
|
height: `${heightContainerBlock.value}px`,
|
120
120
|
}))
|
121
121
|
|
@@ -1,25 +1,27 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<span
|
2
|
+
<div class="table-wrap">
|
3
|
+
<ui-data-table
|
4
|
+
:data="data"
|
5
|
+
:options="options"
|
6
|
+
:texts="tableTexts"
|
7
|
+
:default-layout="false"
|
8
|
+
size="sm"
|
9
|
+
test-id="data-table-main"
|
10
|
+
class="network-table"
|
11
|
+
server-off
|
12
|
+
@select-row="onSelect"
|
13
|
+
>
|
14
|
+
<template #icon="{ item }">
|
15
|
+
<span class="flex-align-center">
|
16
|
+
<span :class="['icon', item.data.icon]" />
|
16
17
|
|
17
|
-
|
18
|
-
|
18
|
+
<span class="network-name" :data-id="item.data.testId">
|
19
|
+
{{ item.text }}
|
20
|
+
</span>
|
19
21
|
</span>
|
20
|
-
</
|
21
|
-
</
|
22
|
-
</
|
22
|
+
</template>
|
23
|
+
</ui-data-table>
|
24
|
+
</div>
|
23
25
|
</template>
|
24
26
|
|
25
27
|
<script setup lang="ts">
|
@@ -77,11 +79,16 @@ const onSelect = (value: UI_I_DataTableBody[]): void => {
|
|
77
79
|
</script>
|
78
80
|
|
79
81
|
<style scoped lang="scss">
|
80
|
-
.
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
82
|
+
.table-wrap {
|
83
|
+
.icon {
|
84
|
+
margin-right: 4px;
|
85
|
+
}
|
86
|
+
.network-name {
|
87
|
+
font-size: 12px;
|
88
|
+
}
|
89
|
+
:deep(.column-manager-button) span {
|
90
|
+
font-weight: 500;
|
91
|
+
}
|
85
92
|
}
|
86
93
|
</style>
|
87
94
|
<style lang="scss">
|
@@ -204,20 +204,20 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
|
|
204
204
|
}
|
205
205
|
</style>
|
206
206
|
<style scoped lang="scss">
|
207
|
-
|
208
|
-
.select-storage {
|
209
|
-
&.in-wizard {
|
210
|
-
:deep(.column-manager-button) {
|
211
|
-
&:hover {
|
212
|
-
background: #b8bcc10a;
|
213
|
-
}
|
214
|
-
&.active:hover {
|
215
|
-
background-color: #2785b614;
|
216
|
-
}
|
217
|
-
}
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
207
|
+
//:root.dark-theme {
|
208
|
+
// .select-storage {
|
209
|
+
// &.in-wizard {
|
210
|
+
// :deep(.column-manager-button) {
|
211
|
+
// &:hover {
|
212
|
+
// background: #b8bcc10a;
|
213
|
+
// }
|
214
|
+
// &.active:hover {
|
215
|
+
// background-color: #2785b614;
|
216
|
+
// }
|
217
|
+
// }
|
218
|
+
// }
|
219
|
+
// }
|
220
|
+
//}
|
221
221
|
.select-storage {
|
222
222
|
padding-top: 12px;
|
223
223
|
//padding-bottom: 16px;
|