bfg-common 1.5.91 → 1.5.93
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,6 +2,7 @@
|
|
|
2
2
|
<common-wizards-datastore-add-new
|
|
3
3
|
v-if="isNewView"
|
|
4
4
|
v-model="form"
|
|
5
|
+
:project="props.project"
|
|
5
6
|
:wizard="wizard"
|
|
6
7
|
:alert-messages="alertMessages"
|
|
7
8
|
:selected-scheme="selectedScheme"
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
<common-wizards-datastore-add-old
|
|
16
17
|
v-else
|
|
17
18
|
v-model="form"
|
|
19
|
+
:project="props.project"
|
|
18
20
|
:wizard="wizard"
|
|
19
21
|
:alert-messages="alertMessages"
|
|
20
22
|
:selected-scheme="selectedScheme"
|
|
@@ -1,23 +1,94 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ready-complete">
|
|
3
|
-
|
|
3
|
+
<div
|
|
4
|
+
v-for="(section, sectionKey) in props.dataReadyView"
|
|
5
|
+
:key="sectionKey"
|
|
6
|
+
class="ready-complete__section details"
|
|
7
|
+
>
|
|
8
|
+
<div class="details__container">
|
|
9
|
+
<h2 class="details__heading">{{ section.label }}</h2>
|
|
10
|
+
|
|
11
|
+
<div class="details__list">
|
|
12
|
+
<div
|
|
13
|
+
v-for="(list, listKey) in section.items"
|
|
14
|
+
:key="listKey"
|
|
15
|
+
class="details-item"
|
|
16
|
+
>
|
|
17
|
+
<span class="details-item-label"> {{ list.label }}: </span>
|
|
18
|
+
|
|
19
|
+
<div class="details-list__col-right">
|
|
20
|
+
<span class="details-item-value">
|
|
21
|
+
{{ list.value }}
|
|
22
|
+
</span>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
4
28
|
</div>
|
|
5
29
|
</template>
|
|
6
30
|
|
|
7
31
|
<script lang="ts" setup>
|
|
8
|
-
import { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
|
|
9
|
-
import { UI_I_Localization } from '~/lib/models/interfaces'
|
|
32
|
+
import type { UI_I_DetailsItem } from '~/components/common/details/lib/models/interfaces'
|
|
10
33
|
|
|
11
34
|
const props = defineProps<{
|
|
12
35
|
dataReadyView: UI_I_DetailsItem[]
|
|
13
36
|
}>()
|
|
14
|
-
|
|
15
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
16
|
-
const properties = computed<UI_I_DetailsItem[]>(() => props.dataReadyView)
|
|
17
|
-
console.log(localization, properties)
|
|
18
37
|
</script>
|
|
19
38
|
|
|
20
39
|
<style lang="scss" scoped>
|
|
21
40
|
.ready-complete {
|
|
41
|
+
&__section {
|
|
42
|
+
&:not(:last-child) {
|
|
43
|
+
border-bottom: 1px solid #e9ebed; // for dark and light mode
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.details {
|
|
48
|
+
&__container {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
}
|
|
52
|
+
&__heading {
|
|
53
|
+
font-family: Inter, serif;
|
|
54
|
+
color: var(--title-form-first-color);
|
|
55
|
+
font-weight: 500;
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
line-height: 100%;
|
|
58
|
+
margin: 16px 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__list {
|
|
62
|
+
display: grid;
|
|
63
|
+
grid-template-columns: auto 1fr;
|
|
64
|
+
row-gap: 12px;
|
|
65
|
+
column-gap: 24px;
|
|
66
|
+
padding-bottom: 24px;
|
|
67
|
+
|
|
68
|
+
.details-item {
|
|
69
|
+
display: contents;
|
|
70
|
+
font-family: Inter, sans-serif;
|
|
71
|
+
|
|
72
|
+
&-label {
|
|
73
|
+
color: #9da6ad;
|
|
74
|
+
font-weight: 400;
|
|
75
|
+
font-size: 13px;
|
|
76
|
+
line-height: 20px;
|
|
77
|
+
letter-spacing: 0;
|
|
78
|
+
vertical-align: middle;
|
|
79
|
+
text-transform: capitalize;
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
}
|
|
82
|
+
&-value {
|
|
83
|
+
color: var(--title-form-first-color);
|
|
84
|
+
font-weight: 400;
|
|
85
|
+
font-size: 13px;
|
|
86
|
+
line-height: 20px;
|
|
87
|
+
letter-spacing: 0;
|
|
88
|
+
vertical-align: middle;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
22
93
|
}
|
|
23
94
|
</style>
|