bfg-common 1.2.41 → 1.2.42

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.
@@ -51,7 +51,7 @@
51
51
  :cd-dvd-drives="vmSettings.cdDvdDrives"
52
52
  :hard-disks="vmSettings.hardDisks"
53
53
  :networks="vmSettings.networks"
54
- :customize-hardware-submit="0"
54
+ :customize-hardware-submit="customizeHardwareSubmit"
55
55
  :max-cpus="vmSettings.maxCpus"
56
56
  :max-memory="vmSettings.maxMemory"
57
57
  :cpu-models="vmSettings.cpuModels"
@@ -72,14 +72,15 @@
72
72
  :get-datastore-table-func="props.getDatastoreTableFunc"
73
73
  :datastore="props.datastore"
74
74
  is-clone
75
+ @change-boot-order="onChangeBootOrder"
76
+ @send-data="onChangeCustomizeHardware"
75
77
  @get-storage="emits('get-storage', $event)"
76
78
  @get-folders-or-files="emits('get-folders-or-files', $event)"
77
79
  @get-active-device-child="emits('get-active-device-child', $event)"
78
80
  @show-datastore-child="emits('show-datastore-child', $event)"
79
81
  @get-networks-table="emits('get-networks-table', $event)"
80
82
  @get-pci-devices="emits('get-pci-devices')"
81
- @change-boot-order="onChangeBootOrder"
82
- @send-data="onChangeCustomizeHardware"
83
+ @next="onNext(true)"
83
84
  />
84
85
  <common-vm-actions-clone-ready-to-complete
85
86
  v-if="stepPosition === 4"
@@ -406,7 +407,7 @@ const checkSubmitByManual = (step: number): boolean => {
406
407
  storageSubmit.value++
407
408
  return false
408
409
  }
409
- if (step === 5) {
410
+ if (step === 3) {
410
411
  customizeHardwareSubmit.value++
411
412
  return false
412
413
  }
@@ -0,0 +1,15 @@
1
+ <template>
2
+ <div>
3
+ <atoms-table-info :items="props.readyCompleteTableInfo" />
4
+ </div>
5
+ </template>
6
+
7
+ <script lang="ts" setup>
8
+ import { UI_I_TableInfoItem } from '~/components/atoms/table/info/models/interfaces'
9
+
10
+ const props = defineProps<{
11
+ readyCompleteTableInfo: UI_I_TableInfoItem[]
12
+ }>()
13
+ </script>
14
+
15
+ <style lang="scss" scoped></style>
@@ -82,6 +82,12 @@ export interface UI_I_CreateVmPayload {
82
82
  location?: string // для сферы
83
83
  compute_resource?: string // для сферы
84
84
  }
85
+ export interface UI_I_CloneVmPayload {
86
+ start: boolean
87
+ cloned_from: string,
88
+ storage_id: string,
89
+ cloned_name: string,
90
+ }
85
91
 
86
92
  export interface UI_I_EditVmPayload {
87
93
  vmId: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.41",
4
+ "version": "1.2.42",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",