bfg-common 1.3.556 → 1.3.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.
@@ -15,10 +15,10 @@
15
15
  >
16
16
  <template #modalBody>
17
17
  <div class="new-datastore__body">
18
+ <!-- :project="props.mode"-->
18
19
  <common-wizards-datastore-add-types
19
20
  v-show="stepPosition === 0"
20
21
  v-model:type="datastoreType"
21
- :project="props.mode"
22
22
  />
23
23
 
24
24
  <common-wizards-datastore-add-local
@@ -33,12 +33,12 @@
33
33
 
34
34
  <script lang="ts" setup>
35
35
  import type { UI_I_Localization } from '~/lib/models/interfaces'
36
- import type { UI_T_Project } from '~/lib/models/types'
36
+ // import type { UI_T_Project } from '~/lib/models/types'
37
37
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
38
- import type { datastoreTypesFunc } from '~/components/common/wizards/datastore/add/types/lib/config/typeOptions'
38
+ import { datastoreTypesFunc } from '~/components/common/wizards/datastore/add/types/lib/config/typeOptions'
39
39
 
40
40
  const props = defineProps<{
41
- project: UI_T_Project
41
+ // project: UI_T_Project
42
42
  type: string
43
43
  }>()
44
44
  const emits = defineEmits<{
@@ -47,7 +47,8 @@ const emits = defineEmits<{
47
47
  const localization = computed<UI_I_Localization>(() => useLocal())
48
48
 
49
49
  const datastoreTypes = ref<UI_I_RadioOption[]>(
50
- datastoreTypesFunc(localization.value, props.project)
50
+ // datastoreTypesFunc(localization.value, props.project)
51
+ datastoreTypesFunc(localization.value)
51
52
  )
52
53
 
53
54
  const selectedType = computed<string>({
@@ -1,12 +1,13 @@
1
1
  import type { UI_I_Localization } from '~/lib/models/interfaces'
2
- import type { UI_T_Project } from '~/lib/models/types'
2
+ // import type { UI_T_Project } from '~/lib/models/types'
3
3
  import type { UI_I_RadioOption } from '~/components/common/select/radio/lib/models/interfaces'
4
4
 
5
5
  export const datastoreTypesFunc = (
6
6
  localization: UI_I_Localization,
7
- project: UI_T_Project
7
+ // _project: UI_T_Project
8
8
  ): UI_I_RadioOption[] => {
9
- const types = [
9
+ // const types = [
10
+ return [
10
11
  {
11
12
  label: localization.stormSharedStorage,
12
13
  value: 'shared-storm',
@@ -45,5 +46,5 @@ export const datastoreTypesFunc = (
45
46
  // })
46
47
  // }
47
48
 
48
- return types
49
+ // return types
49
50
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.556",
4
+ "version": "1.3.558",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",