bfg-common 1.4.140 → 1.4.142
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.
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
/>
|
|
50
50
|
|
|
51
51
|
<common-wizards-vm-new-migrate-select-network
|
|
52
|
-
v-
|
|
52
|
+
v-show="selectedStep.id === 4"
|
|
53
53
|
v-model="form.network"
|
|
54
54
|
/>
|
|
55
55
|
|
|
@@ -90,7 +90,6 @@ import type { UI_I_VmSettings } from '~/lib/models/store/vm/interfaces'
|
|
|
90
90
|
import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
|
|
91
91
|
import type { UI_I_StorageConfigurePerDiskItem } from '~/components/common/wizards/vmNew/migrate/select/storage/configure/disk/table/lib/models/interfaces'
|
|
92
92
|
import type { UI_I_TableInfoItem } from '~/components/atoms/table/info/lib/models/interfaces'
|
|
93
|
-
import type { UI_I_CollectedDataFormLocal } from '~/components/common/wizards/vmNew/migrate/lib/models/interfaces'
|
|
94
93
|
import { constructDataReadyViewFunc } from '~/components/common/wizards/vmNew/migrate/lib/config/constructDataReady'
|
|
95
94
|
import * as validation from '~/components/common/wizards/vmNew/migrate/lib/validations'
|
|
96
95
|
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
data-id="migrate-network-advanced-button"
|
|
30
30
|
@click="onClickSelectNetworkMode"
|
|
31
31
|
>
|
|
32
|
-
<span v-if="!model.
|
|
32
|
+
<span v-if="!model.isBasicNetworkMode"> ≪ </span>
|
|
33
33
|
{{ buttonText }}
|
|
34
|
-
<span v-if="model.
|
|
34
|
+
<span v-if="model.isBasicNetworkMode"> ≫ </span>
|
|
35
35
|
</button>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
|
|
46
46
|
<script lang="ts" setup>
|
|
47
47
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
48
|
-
import { UI_I_SelectNetworksFormLocal } from '~/components/common/wizards/vmNew/migrate/select/network/lib/models/interfaces'
|
|
48
|
+
import type { UI_I_SelectNetworksFormLocal } from '~/components/common/wizards/vmNew/migrate/select/network/lib/models/interfaces'
|
|
49
49
|
|
|
50
50
|
const model = defineModel<UI_I_SelectNetworksFormLocal>({ required: true })
|
|
51
51
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
<div class="table-wrap">
|
|
3
3
|
<atoms-table-data-grid
|
|
4
4
|
v-model:selected-row="selectedNetworkLocal"
|
|
5
|
-
v-model:column-keys="columnKeys"
|
|
6
5
|
v-model:page-size="pagination.pageSize"
|
|
7
6
|
v-model:page="pagination.page"
|
|
8
7
|
:head-items="headItems"
|
|
@@ -43,13 +42,12 @@
|
|
|
43
42
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
44
43
|
import type { UI_I_Pagination } from '~/lib/models/table/interfaces'
|
|
45
44
|
import type {
|
|
46
|
-
UI_I_ColumnKey,
|
|
47
45
|
UI_I_HeadItem,
|
|
48
46
|
UI_I_BodyItem,
|
|
49
47
|
} from '~/components/atoms/table/dataGrid/lib/models/interfaces'
|
|
50
|
-
import type { UI_T_MigrateSelectNetwork } from '~/components/common/wizards/
|
|
51
|
-
import * as basicTable from '~/components/common/wizards/
|
|
52
|
-
import * as advancedTable from '~/components/common/wizards/
|
|
48
|
+
import type { UI_T_MigrateSelectNetwork } from '~/components/common/wizards/vmNew/migrate/select/network/table/network/lib/models/types'
|
|
49
|
+
import * as basicTable from '~/components/common/wizards/vmNew/migrate/select/network/table/network/lib/config/basicTable'
|
|
50
|
+
import * as advancedTable from '~/components/common/wizards/vmNew/migrate/select/network/table/network/lib/config/advancedTable'
|
|
53
51
|
|
|
54
52
|
const props = defineProps<{
|
|
55
53
|
networks: UI_T_MigrateSelectNetwork[]
|
|
@@ -75,13 +73,6 @@ const table: any = {
|
|
|
75
73
|
const headItems = computed<UI_I_HeadItem[]>(() =>
|
|
76
74
|
table[props.type].headItems(localization.value)
|
|
77
75
|
)
|
|
78
|
-
const columnKeys = computed<UI_I_ColumnKey[]>(() =>
|
|
79
|
-
table[props.type].columnKeys(localization.value)
|
|
80
|
-
)
|
|
81
|
-
watch(localization, () => {
|
|
82
|
-
columnKeys.value = table[props.type].columnKeys(localization.value)
|
|
83
|
-
})
|
|
84
|
-
|
|
85
76
|
const bodyItems = computed<UI_I_BodyItem[][]>(() => {
|
|
86
77
|
return table[props.type].bodyItems(props.networks)
|
|
87
78
|
})
|