bfg-common 1.4.465 → 1.4.466
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,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="headline">
|
|
2
|
+
<div class="home-headline">
|
|
3
3
|
<common-pages-home-headline-new
|
|
4
4
|
v-if="isNewView"
|
|
5
5
|
v-model="selectedZone"
|
|
@@ -34,4 +34,12 @@ const zoneOptionList = computed<UI_I_Option[]>(() =>
|
|
|
34
34
|
)
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
|
-
<style lang="scss"
|
|
37
|
+
<style lang="scss">
|
|
38
|
+
:root {
|
|
39
|
+
--home-title-color: #4d5d69;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:root.dark-theme {
|
|
43
|
+
--home-title-color: #e9eaec;
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="container-flex">
|
|
3
3
|
<h1>{{ localization.mainNavigation.home }}</h1>
|
|
4
4
|
|
|
5
5
|
<ui-select
|
|
6
|
+
v-if="isProjectSphere"
|
|
6
7
|
v-model="selectedZoneModel"
|
|
7
8
|
:items="selectItems"
|
|
8
9
|
width="165px"
|
|
@@ -16,14 +17,29 @@
|
|
|
16
17
|
<script lang="ts" setup>
|
|
17
18
|
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
18
19
|
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
20
|
+
import type { UI_T_Project } from '~/lib/models/types'
|
|
19
21
|
|
|
22
|
+
const props = defineProps<{
|
|
23
|
+
project: UI_T_Project
|
|
24
|
+
}>()
|
|
20
25
|
const selectedZoneModel = defineModel<number>({ required: true })
|
|
21
26
|
|
|
22
27
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
23
28
|
|
|
29
|
+
const isProjectSphere = computed<boolean>(() => props.project === 'sphere')
|
|
30
|
+
|
|
24
31
|
const selectItems = computed<UI_I_Dropdown[]>(() => {
|
|
25
32
|
return []
|
|
26
33
|
})
|
|
27
34
|
</script>
|
|
28
35
|
|
|
29
|
-
<style lang="scss" scoped
|
|
36
|
+
<style lang="scss" scoped>
|
|
37
|
+
@import '/assets/scss/common/mixins';
|
|
38
|
+
.container-flex {
|
|
39
|
+
@include flex($align: center, $just: space-between);
|
|
40
|
+
color: var(--home-title-color);
|
|
41
|
+
font-size: 22px;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
line-height: 26.63px;
|
|
44
|
+
}
|
|
45
|
+
</style>
|