bfg-common 1.4.556 → 1.4.558

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.
@@ -1,6 +1,8 @@
1
1
  <template>
2
+ <common-browse-blocks-contents-files-new-skeleton v-if="props.filesLoading" />
3
+
2
4
  <ul
3
- v-if="props.selectedFolderFiles.length || props.filesLoading"
5
+ v-else-if="props.selectedFolderFiles.length"
4
6
  class="file-view__container"
5
7
  >
6
8
  <template v-for="file in props.selectedFolderFiles" :key="file.name">
@@ -21,8 +23,6 @@
21
23
  <div v-else class="not-found-wrap">
22
24
  <ui-not-found :text="localization.common.noItemsFound" />
23
25
  </div>
24
-
25
- <common-browse-blocks-contents-files-new-skeleton v-if="props.filesLoading" />
26
26
  </template>
27
27
 
28
28
  <script setup lang="ts">
@@ -186,7 +186,7 @@ const props = defineProps<{
186
186
  networksTable: UI_I_NetworkTableItem[]
187
187
  getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
188
188
  datastore: UI_I_DatastoreTableItem[]
189
- filesLoading: UI_I_DatastoreTableItem[]
189
+ filesLoading: boolean
190
190
  state?: string | number
191
191
  cpu?: API_UI_I_VmEditCpu
192
192
  memory?: API_UI_I_VmEditMemory
@@ -180,9 +180,9 @@
180
180
  </div>
181
181
 
182
182
  <Teleport to="body">
183
+ <!-- v-if="props.isShowFileModal"-->
183
184
  <common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
184
- v-if="props.isShowFileModal"
185
- show
185
+ :show="props.isShowFileModal"
186
186
  :nodes="props.nodes"
187
187
  :files="props.files"
188
188
  :files-loading="props.filesLoading"
@@ -132,9 +132,9 @@
132
132
  </div>
133
133
 
134
134
  <Teleport to="body">
135
+ <!-- v-if="props.isShowFileModal"-->
135
136
  <common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
136
- v-if="props.isShowFileModal"
137
- show
137
+ :show="props.isShowFileModal"
138
138
  :nodes="props.nodes"
139
139
  :files="props.files"
140
140
  :files-loading="props.filesLoading"
@@ -68,8 +68,8 @@
68
68
  </ui-stack-block>
69
69
 
70
70
  <Teleport to="body">
71
+ <!-- v-if="isShowFileModal"-->
71
72
  <common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
72
- v-if="isShowFileModal"
73
73
  :show="isShowFileModal"
74
74
  :file-types="props.fileTypes"
75
75
  :nodes="props.nodes"
@@ -87,8 +87,8 @@
87
87
  </atoms-stack-block>
88
88
 
89
89
  <Teleport to="body">
90
+ <!-- v-if="isShowFileModal"-->
90
91
  <common-vm-actions-common-customize-hardware-virtual-hardware-browse-view
91
- v-if="isShowFileModal"
92
92
  :show="isShowFileModal"
93
93
  :file-types="props.fileTypes"
94
94
  :nodes="props.nodes"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.556",
4
+ "version": "1.4.558",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",