bfg-common 1.4.464 → 1.4.465

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.
@@ -2,11 +2,13 @@
2
2
  <div class="headline">
3
3
  <common-pages-home-headline-new
4
4
  v-if="isNewView"
5
+ v-model="selectedZone"
5
6
  :data="zoneOptionList"
6
7
  ></common-pages-home-headline-new>
7
8
 
8
9
  <common-pages-home-headline-old
9
10
  v-else
11
+ v-model="selectedZone"
10
12
  :data="zoneOptionList"
11
13
  ></common-pages-home-headline-old>
12
14
  </div>
@@ -23,6 +25,8 @@ const props = defineProps<{
23
25
 
24
26
  const { $store }: any = useNuxtApp()
25
27
 
28
+ const selectedZone = ref<number>(0)
29
+
26
30
  const isNewView = computed<boolean>(() => $store.getters['main/getIsNewView'])
27
31
 
28
32
  const zoneOptionList = computed<UI_I_Option[]>(() =>
@@ -3,7 +3,7 @@
3
3
  <h1>{{ localization.mainNavigation.home }}</h1>
4
4
 
5
5
  <ui-select
6
- v-model="selected"
6
+ v-model="selectedZoneModel"
7
7
  :items="selectItems"
8
8
  width="165px"
9
9
  select-width="100%"
@@ -17,9 +17,10 @@
17
17
  import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
18
18
  import type { UI_I_Localization } from '~/lib/models/interfaces'
19
19
 
20
+ const selectedZoneModel = defineModel<number>({ required: true })
21
+
20
22
  const localization = computed<UI_I_Localization>(() => useLocal())
21
23
 
22
- const selected = ref<any>()
23
24
  const selectItems = computed<UI_I_Dropdown[]>(() => {
24
25
  return []
25
26
  })
@@ -1,15 +1,15 @@
1
1
  <template>
2
- <h2 class="page-title">
2
+ <h2 class="headline-title">
3
3
  {{ localization.mainNavigation.home }}
4
4
  </h2>
5
5
 
6
6
  <atoms-select-the-select
7
- v-model="selectedItem"
7
+ v-model="selectedZoneModel"
8
8
  :options="props.data"
9
9
  test-id="home-zone-select"
10
10
  @update:model-value="emits('update')"
11
11
  >
12
- <span :class="'vsphere-icon-vcenter'" />
12
+ <span class="vsphere-icon-vcenter" />
13
13
  </atoms-select-the-select>
14
14
  </template>
15
15
 
@@ -23,10 +23,15 @@ const props = defineProps<{
23
23
  const emits = defineEmits<{
24
24
  (event: 'update'): void
25
25
  }>()
26
+ const selectedZoneModel = defineModel<number>({ required: true })
26
27
 
27
28
  const localization = computed<UI_I_Localization>(() => useLocal())
28
-
29
- const selectedItem = ref<number>(0)
30
29
  </script>
31
30
 
32
- <style lang="scss" scoped></style>
31
+ <style lang="scss" scoped>
32
+ .headline-title {
33
+ font-size: 28px;
34
+ font-weight: 200;
35
+ letter-spacing: normal;
36
+ }
37
+ </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.464",
4
+ "version": "1.4.465",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",