bfg-common 1.4.514 → 1.4.515
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,26 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<ui-widget>
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</nuxt-link>
|
|
23
|
-
</div>
|
|
2
|
+
<ui-widget class="category-block-item">
|
|
3
|
+
<nuxt-link
|
|
4
|
+
class="unit"
|
|
5
|
+
:to="navigate"
|
|
6
|
+
:title="props.item.navigateTo"
|
|
7
|
+
:data-id="props.testId"
|
|
8
|
+
@click="changeLastNavigation"
|
|
9
|
+
@contextmenu="changeLastNavigation"
|
|
10
|
+
>
|
|
11
|
+
<span
|
|
12
|
+
v-if="props.item.iconClassName"
|
|
13
|
+
:class="['unit-icon', props.item.iconClassName]"
|
|
14
|
+
/>
|
|
15
|
+
<span v-else-if="props.item.iconName" class="icon-2">
|
|
16
|
+
<atoms-the-icon2 :name="props.item.iconName" width="34" height="34" />
|
|
17
|
+
</span>
|
|
18
|
+
<div class="unit-text" :title="props.item.text">
|
|
19
|
+
{{ props.item.text }}
|
|
20
|
+
</div>
|
|
21
|
+
</nuxt-link>
|
|
24
22
|
</ui-widget>
|
|
25
23
|
</template>
|
|
26
24
|
<script setup lang="ts">
|
|
@@ -41,6 +39,10 @@ const changeLastNavigation = (): void => {
|
|
|
41
39
|
}
|
|
42
40
|
</script>
|
|
43
41
|
<style lang="scss" scoped>
|
|
42
|
+
.category-block-item {
|
|
43
|
+
max-width: 176px;
|
|
44
|
+
}
|
|
45
|
+
|
|
44
46
|
.unit {
|
|
45
47
|
display: flex;
|
|
46
48
|
flex-direction: column;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<span class="category__headline">
|
|
4
4
|
{{ props.title }}
|
|
5
5
|
</span>
|
|
6
|
-
<div class="
|
|
6
|
+
<div class="category__block">
|
|
7
7
|
<common-pages-shortcuts-block
|
|
8
8
|
v-for="(item, key) in props.blockItems"
|
|
9
9
|
:key="key"
|
|
@@ -23,6 +23,7 @@ const props = defineProps<{
|
|
|
23
23
|
}>()
|
|
24
24
|
</script>
|
|
25
25
|
<style lang="scss" scoped>
|
|
26
|
+
@import 'assets/scss/common/mixins';
|
|
26
27
|
.category {
|
|
27
28
|
&__headline {
|
|
28
29
|
color: #9da6ad;
|
|
@@ -30,12 +31,11 @@ const props = defineProps<{
|
|
|
30
31
|
font-weight: 400;
|
|
31
32
|
line-height: 19.36px;
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
margin-top: -4px;
|
|
34
|
+
&__block {
|
|
35
|
+
@include flex($dir: row, $just: flex-start, $w: wrap);
|
|
36
|
+
gap: 12px;
|
|
37
|
+
border-bottom: 1px solid var(--horizontal-line);
|
|
38
|
+
padding: 16px 0 24px;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
</style>
|