bfg-common 1.3.493 → 1.3.495

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.
@@ -63,32 +63,32 @@
63
63
  </template>
64
64
 
65
65
  <script setup lang="ts">
66
- import { UI_T_Project } from '~/lib/models/types'
67
- import { UI_I_FileTreeNode } from '~/components/lib/models/interfaces'
68
- import { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
69
- import {
66
+ import type { UI_T_Project } from '~/lib/models/types'
67
+ import type { UI_I_FileTreeNode } from '~/components/lib/models/interfaces'
68
+ import type { UI_I_NetworkTableItem } from '~/lib/models/store/network/interfaces'
69
+ import type {
70
70
  UI_I_EditVmPayload,
71
71
  UI_I_PciDevice,
72
72
  } from '~/lib/models/store/vm/interfaces'
73
- import { UI_I_Localization } from '~/lib/models/interfaces'
74
- import { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/common/customizeHardware/lib/models/interfaces'
75
- import {
73
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
74
+ import type { UI_I_SendDataCustomizeHardware } from '~/components/common/vm/actions/common/customizeHardware/lib/models/interfaces'
75
+ import type {
76
76
  UI_I_SendDataCpu,
77
77
  UI_I_SendDataMemory,
78
78
  UI_I_SendDataNewCdDvdDrive,
79
79
  UI_I_SendDataNewHardDisk,
80
80
  UI_I_SendDataNewNetwork,
81
81
  } from '~/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/models/interfaces'
82
- import { UI_T_SelectedNavItem } from '~/components/common/vm/actions/common/lib/models/types'
83
- import { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
84
- import { UI_I_TablePayload } from '~/lib/models/table/interfaces'
85
- import { UI_I_VmSettings } from '~/lib/models/store/vm/interfaces'
86
- import {
82
+ import type { UI_T_SelectedNavItem } from '~/components/common/vm/actions/common/lib/models/types'
83
+ import type { UI_I_ErrorValidationField } from '~/lib/models/store/interfaces'
84
+ import type { UI_I_TablePayload } from '~/lib/models/table/interfaces'
85
+ import type { UI_I_VmSettings } from '~/lib/models/store/vm/interfaces'
86
+ import type {
87
87
  UI_I_DatastoreTableItem,
88
88
  UI_I_FolderOrFileTreePayload,
89
89
  } from '~/lib/models/store/storage/interfaces'
90
- import { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/lib/models/types'
91
- import { UI_T_EditVmFinishFunc } from '~/components/common/vm/actions/editSettings/lib/models/types'
90
+ import type { UI_T_ChangeBootOrder } from '~/components/common/vm/actions/lib/models/types'
91
+ import type { UI_T_EditVmFinishFunc } from '~/components/common/vm/actions/editSettings/lib/models/types'
92
92
 
93
93
  const props = defineProps<{
94
94
  project: UI_T_Project
@@ -109,7 +109,7 @@ const props = defineProps<{
109
109
 
110
110
  const emits = defineEmits<{
111
111
  (event: 'hide'): void
112
- (event: 'update-vm', value: UI_I_EditVmPayload): void
112
+ (event: 'update-vm'): void
113
113
  (event: 'get-storage', value: UI_I_TablePayload): void
114
114
  (event: 'get-folders-or-files', value: UI_I_FolderOrFileTreePayload): void
115
115
  (event: 'get-active-device-child', value: UI_I_FileTreeNode): void
@@ -199,7 +199,7 @@ const validateSendData = async (): Promise<void> => {
199
199
  .then((data) => {
200
200
  loadingLocal.value = false
201
201
 
202
- !data && onHideModal()
202
+ !data && emits('update-vm')
203
203
  })
204
204
  }
205
205
  </script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.493",
4
+ "version": "1.3.495",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",