bfg-common 1.3.336 → 1.3.337

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.
@@ -95,7 +95,7 @@ const props = defineProps<{
95
95
  version: UI_T_NfsType
96
96
  ) => Promise<void>
97
97
  datacenterHosts?: UI_I_SelectHostOptions[]
98
- nfsHosts?: any[]
98
+ nfsHosts?: any
99
99
  isMainFilter?: boolean
100
100
  }>()
101
101
  const emits = defineEmits<{
@@ -39,7 +39,6 @@ import {
39
39
  UI_T_WizardDatastoreMode,
40
40
  } from '~/components/common/wizards/datastore/add/lib/models/types'
41
41
  import { UI_I_ConfigurationSendDataNfs } from '~/components/common/wizards/datastore/add/nfs/configuration/lib/models/interfaces'
42
- import { UI_I_SelectHostOptions } from '~/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces'
43
42
  import { subTitleFunc } from '~/components/common/wizards/datastore/add/lib/config/stepItems'
44
43
 
45
44
  const props = defineProps<{
@@ -48,7 +47,7 @@ const props = defineProps<{
48
47
  datastoreType: UI_T_DatastoreType
49
48
  nfsConfigurationSubmit: number
50
49
  hostAccessibilitySubmit: number
51
- hosts?: UI_I_SelectHostOptions[]
50
+ hosts?: any
52
51
  }>()
53
52
  const emits = defineEmits<{
54
53
  (event: 'loading', value: boolean): void
@@ -34,16 +34,14 @@
34
34
  <script lang="ts" setup>
35
35
  import { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
36
36
  import { UI_I_Localization } from '~/lib/models/interfaces'
37
- import { API_UI_I_DataTable } from '~/lib/models/table/interfaces'
38
37
  import { UI_I_Pagination } from '~/lib/models/table/interfaces'
39
38
  import { T_HostsAccessibilityTab } from '~/components/common/wizards/datastore/add/nfs/accessibility/lib/models/types'
40
- import { UI_I_SelectHostOptions } from '~/components/common/wizards/datastore/add/sharedStorm/deviceSelection/lib/models/interfaces'
41
39
  import { hostAccessibilityTabsFunc } from '~/components/common/wizards/datastore/add/nfs/accessibility/lib/config/tabsPannel'
42
40
  // import { hostsAccessibilityTablesFunc } from '~/components/common/wizards/datastore/add/nfs/accessibility/tablesView/lib/config/hostsTableItems'
43
41
 
44
42
  const props = defineProps<{
45
43
  hostAccessibilitySubmit: number
46
- hosts?: UI_I_SelectHostOptions[]
44
+ hosts?: any
47
45
  }>()
48
46
  const localization = computed<UI_I_Localization>(() => useLocal())
49
47
  const emits = defineEmits<{
@@ -59,13 +57,7 @@ console.log(444444)
59
57
 
60
58
  // const dataTable = computed(() => hostsAccessibilityTablesFunc(activeTab.value))
61
59
  // TODO refactoring
62
- const dataTable = computed<API_UI_I_DataTable<UI_I_SelectHostOptions[]>>(() => {
63
- return {
64
- items: props.hosts,
65
- total_items: props.hosts.length,
66
- total_pages: 1,
67
- }
68
- })
60
+ const dataTable = computed<any>(() => props.hosts)
69
61
 
70
62
  const pagination = ref<UI_I_Pagination>({
71
63
  page: 1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.336",
4
+ "version": "1.3.337",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",