@dative-gpi/foundation-shared-components 1.0.159 → 1.0.161-alert-tile
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.
- package/components/FSInstantPicker.vue +36 -51
- package/components/FSOptionsMenu.vue +165 -0
- package/components/FSRangePicker.vue +261 -0
- package/components/FSRangeSlider.vue +84 -0
- package/components/FSSlider.vue +41 -77
- package/components/FSTagGroup.vue +3 -1
- package/components/lists/FSDataTableUI.vue +16 -11
- package/components/map/FSMap.vue +1 -1
- package/components/tiles/FSEntityCountBadge.vue +72 -0
- package/components/tiles/FSFolderTileUI.vue +38 -4
- package/components/tiles/FSGroupTileUI.vue +15 -67
- package/components/tiles/FSLocationTileUI.vue +9 -28
- package/components/views/mobile/FSBaseDefaultMobileView.vue +2 -2
- package/composables/useMapLayers.ts +60 -53
- package/package.json +4 -4
- package/styles/components/fs_slider.scss +0 -40
- package/tools/alertsTools.ts +11 -10
- package/tools/chartsTools.ts +13 -1
- package/utils/index.ts +1 -0
- package/utils/picker.ts +40 -0
package/components/FSSlider.vue
CHANGED
|
@@ -1,85 +1,55 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
<FSBaseField
|
|
3
|
+
:label="$props.label"
|
|
4
|
+
:description="$props.description"
|
|
5
|
+
:required="$props.required"
|
|
6
|
+
:disabled="$props.disabled"
|
|
7
|
+
:style="style"
|
|
8
|
+
>
|
|
9
|
+
<FSRow>
|
|
10
|
+
<v-slider
|
|
11
|
+
hide-details
|
|
12
|
+
class="fs-slider"
|
|
13
|
+
width="100%"
|
|
14
|
+
:color="$props.color"
|
|
15
|
+
:disabled="$props.disabled"
|
|
16
|
+
:ripple="false"
|
|
17
|
+
:trackSize="6"
|
|
18
|
+
:elevation="0"
|
|
19
|
+
:tickSize="4"
|
|
20
|
+
:modelValue="$props.modelValue ?? undefined"
|
|
21
|
+
@update:modelValue="$emit('update:modelValue', $event)"
|
|
22
|
+
v-bind="$attrs"
|
|
8
23
|
>
|
|
9
|
-
<
|
|
10
|
-
v-
|
|
11
|
-
|
|
12
|
-
font="text-overline"
|
|
13
|
-
:style="style"
|
|
24
|
+
<template
|
|
25
|
+
v-for="(_, name) in $slots"
|
|
26
|
+
v-slot:[name]="slotData"
|
|
14
27
|
>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
:style="style"
|
|
24
|
-
>
|
|
25
|
-
*
|
|
26
|
-
</FSSpan>
|
|
27
|
-
</FSRow>
|
|
28
|
-
</slot>
|
|
29
|
-
<v-slider
|
|
30
|
-
class="fs-slider"
|
|
31
|
-
hide-details
|
|
32
|
-
:disabled="$props.disabled"
|
|
33
|
-
:ripple="false"
|
|
34
|
-
:style="style"
|
|
35
|
-
:elevation="0"
|
|
36
|
-
:tickSize="4"
|
|
37
|
-
:modelValue="$props.modelValue ?? undefined"
|
|
38
|
-
@update:modelValue="$emit('update:modelValue', $event)"
|
|
39
|
-
v-bind="$attrs"
|
|
40
|
-
>
|
|
41
|
-
<template
|
|
42
|
-
v-for="(_, name) in $slots"
|
|
43
|
-
v-slot:[name]="slotData"
|
|
44
|
-
>
|
|
45
|
-
<slot
|
|
46
|
-
:name="name"
|
|
47
|
-
v-bind="slotData"
|
|
48
|
-
/>
|
|
49
|
-
</template>
|
|
50
|
-
</v-slider>
|
|
51
|
-
<slot
|
|
52
|
-
name="description"
|
|
53
|
-
>
|
|
54
|
-
<FSSpan
|
|
55
|
-
v-if="$props.description"
|
|
56
|
-
class="fs-slider-description"
|
|
57
|
-
font="text-overline"
|
|
58
|
-
:lineClamp="2"
|
|
59
|
-
:style="style"
|
|
60
|
-
>
|
|
61
|
-
{{ $props.description }}
|
|
62
|
-
</FSSpan>
|
|
63
|
-
</slot>
|
|
64
|
-
</FSCol>
|
|
28
|
+
<slot
|
|
29
|
+
:name="name"
|
|
30
|
+
v-bind="slotData"
|
|
31
|
+
/>
|
|
32
|
+
</template>
|
|
33
|
+
</v-slider>
|
|
34
|
+
</FSRow>
|
|
35
|
+
</FSBaseField>
|
|
65
36
|
</template>
|
|
66
37
|
|
|
67
38
|
<script lang="ts">
|
|
68
39
|
import { computed, defineComponent, type PropType, type StyleValue } from "vue";
|
|
69
40
|
|
|
41
|
+
import { useColors } from '@dative-gpi/foundation-shared-components/composables';
|
|
42
|
+
|
|
70
43
|
import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
71
|
-
import { useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
72
44
|
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import FSRow from "./FSRow.vue";
|
|
45
|
+
import FSRow from '@dative-gpi/foundation-shared-components/components/FSRow.vue';
|
|
46
|
+
import FSBaseField from '@dative-gpi/foundation-shared-components/components/fields/FSBaseField.vue';
|
|
76
47
|
|
|
77
48
|
export default defineComponent({
|
|
78
49
|
name: "FSSlider",
|
|
79
50
|
components: {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
FSRow
|
|
51
|
+
FSRow,
|
|
52
|
+
FSBaseField
|
|
83
53
|
},
|
|
84
54
|
props: {
|
|
85
55
|
label: {
|
|
@@ -118,26 +88,20 @@ export default defineComponent({
|
|
|
118
88
|
|
|
119
89
|
const colors = computed(() => getColors(props.color));
|
|
120
90
|
const lights = getColors(ColorEnum.Light);
|
|
121
|
-
const darks = getColors(ColorEnum.Dark);
|
|
122
91
|
|
|
123
92
|
const style = computed((): StyleValue => {
|
|
124
93
|
if (props.disabled) {
|
|
125
94
|
return {
|
|
126
|
-
"--fs-slider-
|
|
127
|
-
"--fs-slider-track-color": lights.base,
|
|
128
|
-
"--fs-slider-thumb-color": lights.base,
|
|
129
|
-
"--fs-slider-color" : lights.dark
|
|
95
|
+
"--fs-slider-thumb-color": lights.base
|
|
130
96
|
};
|
|
131
97
|
}
|
|
132
98
|
return {
|
|
133
|
-
"--fs-slider-
|
|
134
|
-
"--fs-slider-track-color": colors.value.light,
|
|
135
|
-
"--fs-slider-thumb-color": colors.value.base,
|
|
136
|
-
"--fs-slider-color" : darks.base
|
|
99
|
+
"--fs-slider-thumb-color": colors.value.base
|
|
137
100
|
};
|
|
138
101
|
});
|
|
139
102
|
|
|
140
103
|
return {
|
|
104
|
+
colors,
|
|
141
105
|
style
|
|
142
106
|
};
|
|
143
107
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<slot />
|
|
16
16
|
</FSWrapGroup>
|
|
17
17
|
<FSSlideGroup
|
|
18
|
-
v-if="$props.variant === 'slide'"
|
|
18
|
+
v-else-if="$props.variant === 'slide'"
|
|
19
19
|
v-bind="$attrs"
|
|
20
20
|
>
|
|
21
21
|
<FSTag
|
|
@@ -36,12 +36,14 @@ import { defineComponent, type PropType } from "vue";
|
|
|
36
36
|
|
|
37
37
|
import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
38
38
|
|
|
39
|
+
import FSSlideGroup from '@dative-gpi/foundation-shared-components/components/FSSlideGroup.vue';
|
|
39
40
|
import FSWrapGroup from "./FSWrapGroup.vue";
|
|
40
41
|
import FSTag from "./FSTag.vue";
|
|
41
42
|
|
|
42
43
|
export default defineComponent({
|
|
43
44
|
name: "FSTagGroup",
|
|
44
45
|
components: {
|
|
46
|
+
FSSlideGroup,
|
|
45
47
|
FSWrapGroup,
|
|
46
48
|
FSTag
|
|
47
49
|
},
|
|
@@ -17,19 +17,24 @@
|
|
|
17
17
|
align="top-left"
|
|
18
18
|
>
|
|
19
19
|
<FSRow
|
|
20
|
-
v-if="$props.showSearch ||
|
|
20
|
+
v-if="$props.showSearch || $slots['toolbar']"
|
|
21
21
|
align="bottom-left"
|
|
22
22
|
>
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
<template
|
|
24
|
+
v-if="$props.showSearch"
|
|
25
|
+
>
|
|
26
|
+
<FSSearchField
|
|
27
|
+
v-if="$props.showSearch"
|
|
28
|
+
:hideHeader="true"
|
|
29
|
+
v-model="innerSearch"
|
|
30
|
+
/>
|
|
31
|
+
<FSButton
|
|
32
|
+
v-if="filterableHeaders.length > 0"
|
|
33
|
+
prependIcon="mdi-filter-variant"
|
|
34
|
+
:variant="innerShowFilters ? 'full' : 'standard'"
|
|
35
|
+
@click="innerShowFilters = !innerShowFilters"
|
|
36
|
+
/>
|
|
37
|
+
</template>
|
|
33
38
|
<slot
|
|
34
39
|
v-if="!isMobileSized"
|
|
35
40
|
name="toolbar"
|
package/components/map/FSMap.vue
CHANGED
|
@@ -233,7 +233,7 @@ export default defineComponent({
|
|
|
233
233
|
}));
|
|
234
234
|
|
|
235
235
|
const actualLayer = computed(() => {
|
|
236
|
-
return layers.find((mapLayer) => mapLayer.name === props.currentLayer)?.layers
|
|
236
|
+
return layers.value.find((mapLayer) => mapLayer.name === props.currentLayer)?.layers;
|
|
237
237
|
});
|
|
238
238
|
|
|
239
239
|
const overlaySlots = computed(() => {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSRow
|
|
3
|
+
align="center-left"
|
|
4
|
+
>
|
|
5
|
+
<FSColor
|
|
6
|
+
height="24px"
|
|
7
|
+
:color="$props.color"
|
|
8
|
+
:border="false"
|
|
9
|
+
>
|
|
10
|
+
<FSRow
|
|
11
|
+
align="center-center"
|
|
12
|
+
width="24px"
|
|
13
|
+
>
|
|
14
|
+
<FSSpan
|
|
15
|
+
font="text-overline"
|
|
16
|
+
>
|
|
17
|
+
{{ badgeContent }}
|
|
18
|
+
</FSSpan>
|
|
19
|
+
</FSRow>
|
|
20
|
+
</FSColor>
|
|
21
|
+
<FSSpan
|
|
22
|
+
font="text-overline"
|
|
23
|
+
>
|
|
24
|
+
{{ $props.label }}
|
|
25
|
+
</FSSpan>
|
|
26
|
+
</FSRow>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script lang="ts">
|
|
30
|
+
import { computed, defineComponent, type PropType } from "vue";
|
|
31
|
+
|
|
32
|
+
import { capNumberToString } from '@dative-gpi/foundation-shared-components/utils';
|
|
33
|
+
|
|
34
|
+
import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
35
|
+
|
|
36
|
+
import FSColor from "../FSColor.vue";
|
|
37
|
+
import FSSpan from "../FSSpan.vue";
|
|
38
|
+
import FSRow from "../FSRow.vue";
|
|
39
|
+
|
|
40
|
+
export default defineComponent({
|
|
41
|
+
name: "FSEntityCountBadge",
|
|
42
|
+
props: {
|
|
43
|
+
label: {
|
|
44
|
+
type: String,
|
|
45
|
+
required: true
|
|
46
|
+
},
|
|
47
|
+
count: {
|
|
48
|
+
type: Number,
|
|
49
|
+
required: true
|
|
50
|
+
},
|
|
51
|
+
color: {
|
|
52
|
+
type: String as PropType<ColorBase>,
|
|
53
|
+
required: false,
|
|
54
|
+
default: () => ColorEnum.Primary
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
components: {
|
|
58
|
+
FSColor,
|
|
59
|
+
FSSpan,
|
|
60
|
+
FSRow
|
|
61
|
+
},
|
|
62
|
+
setup(props){
|
|
63
|
+
|
|
64
|
+
const badgeContent = computed(() => capNumberToString(props.count));
|
|
65
|
+
|
|
66
|
+
return {
|
|
67
|
+
ColorEnum,
|
|
68
|
+
badgeContent
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
</script>
|
|
@@ -6,7 +6,26 @@
|
|
|
6
6
|
:iconBorder="false"
|
|
7
7
|
:icon="$props.icon"
|
|
8
8
|
v-bind="$attrs"
|
|
9
|
-
|
|
9
|
+
>
|
|
10
|
+
<template
|
|
11
|
+
#append-info
|
|
12
|
+
>
|
|
13
|
+
<FSCol
|
|
14
|
+
gap="6px"
|
|
15
|
+
>
|
|
16
|
+
<FSEntityCountBadge
|
|
17
|
+
:label="$tr('ui.common.folders', 'Folder(s)')"
|
|
18
|
+
:count="recursiveFoldersIds.length"
|
|
19
|
+
:color="ColorEnum.Primary"
|
|
20
|
+
/>
|
|
21
|
+
<FSEntityCountBadge
|
|
22
|
+
:label="$tr('ui.common.dashboards', 'Dashboard(s)')"
|
|
23
|
+
:count="recursiveDashboardsIds.length"
|
|
24
|
+
:color="ColorEnum.Success"
|
|
25
|
+
/>
|
|
26
|
+
</FSCol>
|
|
27
|
+
</template>
|
|
28
|
+
</FSSimpleTileUI>
|
|
10
29
|
</template>
|
|
11
30
|
|
|
12
31
|
<script lang="ts">
|
|
@@ -14,7 +33,9 @@ import { computed, defineComponent, type PropType } from "vue";
|
|
|
14
33
|
|
|
15
34
|
import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
16
35
|
|
|
36
|
+
import FSEntityCountBadge from './FSEntityCountBadge.vue';
|
|
17
37
|
import FSSimpleTileUI from "./FSSimpleTileUI.vue";
|
|
38
|
+
import FSCol from "../FSCol.vue";
|
|
18
39
|
|
|
19
40
|
export default defineComponent({
|
|
20
41
|
name: "FSFolderTileUI",
|
|
@@ -28,10 +49,22 @@ export default defineComponent({
|
|
|
28
49
|
type: String,
|
|
29
50
|
required: false,
|
|
30
51
|
default: "mdi-folder-outline"
|
|
31
|
-
}
|
|
52
|
+
},
|
|
53
|
+
recursiveFoldersIds: {
|
|
54
|
+
type: Array as PropType<string[]>,
|
|
55
|
+
required: false,
|
|
56
|
+
default: () => []
|
|
57
|
+
},
|
|
58
|
+
recursiveDashboardsIds: {
|
|
59
|
+
type: Array as PropType<string[]>,
|
|
60
|
+
required: false,
|
|
61
|
+
default: () => []
|
|
62
|
+
},
|
|
32
63
|
},
|
|
33
64
|
components: {
|
|
34
|
-
|
|
65
|
+
FSEntityCountBadge,
|
|
66
|
+
FSSimpleTileUI,
|
|
67
|
+
FSCol
|
|
35
68
|
},
|
|
36
69
|
setup(props){
|
|
37
70
|
const color = computed(() => {
|
|
@@ -42,7 +75,8 @@ export default defineComponent({
|
|
|
42
75
|
});
|
|
43
76
|
|
|
44
77
|
return {
|
|
45
|
-
color
|
|
78
|
+
color,
|
|
79
|
+
ColorEnum
|
|
46
80
|
};
|
|
47
81
|
}
|
|
48
82
|
});
|
|
@@ -16,82 +16,36 @@
|
|
|
16
16
|
<FSCol
|
|
17
17
|
gap="6px"
|
|
18
18
|
>
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
align="center-center"
|
|
30
|
-
>
|
|
31
|
-
<FSSpan
|
|
32
|
-
font="text-overline"
|
|
33
|
-
>
|
|
34
|
-
{{ groupsBadgeContent }}
|
|
35
|
-
</FSSpan>
|
|
36
|
-
</FSRow>
|
|
37
|
-
</FSColor>
|
|
38
|
-
<FSSpan
|
|
39
|
-
font="text-overline"
|
|
40
|
-
>
|
|
41
|
-
{{ $tr("ui.common.groups", "Group(s)") }}
|
|
42
|
-
</FSSpan>
|
|
43
|
-
</FSRow>
|
|
44
|
-
<FSRow
|
|
45
|
-
align="center-left"
|
|
46
|
-
>
|
|
47
|
-
<FSColor
|
|
48
|
-
height="24px"
|
|
49
|
-
width="24px"
|
|
50
|
-
:color="ColorEnum.Success"
|
|
51
|
-
:border="false"
|
|
52
|
-
>
|
|
53
|
-
<FSRow
|
|
54
|
-
align="center-center"
|
|
55
|
-
>
|
|
56
|
-
<FSSpan
|
|
57
|
-
font="text-overline"
|
|
58
|
-
>
|
|
59
|
-
{{ deviceOrganisationsBadgeContent }}
|
|
60
|
-
</FSSpan>
|
|
61
|
-
</FSRow>
|
|
62
|
-
</FSColor>
|
|
63
|
-
<FSSpan
|
|
64
|
-
font="text-overline"
|
|
65
|
-
>
|
|
66
|
-
{{ $tr("ui.common.devices", "Device(s)") }}
|
|
67
|
-
</FSSpan>
|
|
68
|
-
</FSRow>
|
|
19
|
+
<FSEntityCountBadge
|
|
20
|
+
:label="$tr('ui.common.groups', 'Group(s)')"
|
|
21
|
+
:count="recursiveGroupsIds.length"
|
|
22
|
+
:color="ColorEnum.Primary"
|
|
23
|
+
/>
|
|
24
|
+
<FSEntityCountBadge
|
|
25
|
+
:label="$tr('ui.common.devices', 'Device(s)')"
|
|
26
|
+
:count="recursiveDeviceOrganisationsIds.length"
|
|
27
|
+
:color="ColorEnum.Success"
|
|
28
|
+
/>
|
|
69
29
|
</FSCol>
|
|
70
30
|
</template>
|
|
71
31
|
</FSSimpleTileUI>
|
|
72
32
|
</template>
|
|
73
33
|
|
|
74
34
|
<script lang="ts">
|
|
75
|
-
import {
|
|
76
|
-
|
|
77
|
-
import { capNumberToString } from '@dative-gpi/foundation-shared-components/utils';
|
|
35
|
+
import { defineComponent, type PropType } from "vue";
|
|
78
36
|
|
|
79
37
|
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
80
38
|
|
|
39
|
+
import FSEntityCountBadge from './FSEntityCountBadge.vue';
|
|
81
40
|
import FSSimpleTileUI from './FSSimpleTileUI.vue';
|
|
82
|
-
import FSColor from "../FSColor.vue";
|
|
83
|
-
import FSSpan from "../FSSpan.vue";
|
|
84
41
|
import FSCol from "../FSCol.vue";
|
|
85
|
-
import FSRow from "../FSRow.vue";
|
|
86
42
|
|
|
87
43
|
export default defineComponent({
|
|
88
44
|
name: "FSGroupTileUI",
|
|
89
45
|
components: {
|
|
46
|
+
FSEntityCountBadge,
|
|
90
47
|
FSSimpleTileUI,
|
|
91
|
-
|
|
92
|
-
FSSpan,
|
|
93
|
-
FSCol,
|
|
94
|
-
FSRow
|
|
48
|
+
FSCol
|
|
95
49
|
},
|
|
96
50
|
props: {
|
|
97
51
|
imageId: {
|
|
@@ -134,14 +88,8 @@ export default defineComponent({
|
|
|
134
88
|
default: () => [352, 336]
|
|
135
89
|
},
|
|
136
90
|
},
|
|
137
|
-
setup(
|
|
138
|
-
const groupsBadgeContent = computed(() => capNumberToString(props.recursiveGroupsIds.length));
|
|
139
|
-
|
|
140
|
-
const deviceOrganisationsBadgeContent = computed(() => capNumberToString(props.recursiveDeviceOrganisationsIds.length));
|
|
141
|
-
|
|
91
|
+
setup() {
|
|
142
92
|
return {
|
|
143
|
-
deviceOrganisationsBadgeContent,
|
|
144
|
-
groupsBadgeContent,
|
|
145
93
|
ColorEnum,
|
|
146
94
|
};
|
|
147
95
|
}
|
|
@@ -15,46 +15,25 @@
|
|
|
15
15
|
<FSCol
|
|
16
16
|
gap="8px"
|
|
17
17
|
>
|
|
18
|
-
<
|
|
19
|
-
v-if="$props.deviceCount"
|
|
20
|
-
:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
width="24px"
|
|
25
|
-
height="24px"
|
|
26
|
-
:color="ColorEnum.Primary"
|
|
27
|
-
:border="false"
|
|
28
|
-
>
|
|
29
|
-
<FSRow
|
|
30
|
-
align="center-center"
|
|
31
|
-
>
|
|
32
|
-
<FSSpan
|
|
33
|
-
font="text-overline"
|
|
34
|
-
>
|
|
35
|
-
{{ capNumberToString($props.deviceCount) }}
|
|
36
|
-
</FSSpan>
|
|
37
|
-
</FSRow>
|
|
38
|
-
</FSColor>
|
|
39
|
-
<FSSpan
|
|
40
|
-
font="text-overline"
|
|
41
|
-
>
|
|
42
|
-
{{ $tr("ui.common.devices", "Equipment(s)") }}
|
|
43
|
-
</FSSpan>
|
|
44
|
-
</FSRow>
|
|
18
|
+
<FSEntityCountBadge
|
|
19
|
+
v-if="$props.deviceCount !== undefined"
|
|
20
|
+
:label="$tr('ui.common.devices', 'Device(s)')"
|
|
21
|
+
:count="$props.deviceCount"
|
|
22
|
+
:color="ColorEnum.Primary"
|
|
23
|
+
/>
|
|
45
24
|
<FSRow
|
|
46
25
|
v-if="$props.address"
|
|
47
26
|
:wrap="false"
|
|
48
27
|
align="center-left"
|
|
49
28
|
>
|
|
50
29
|
<FSColor
|
|
51
|
-
width="24px"
|
|
52
30
|
height="24px"
|
|
53
31
|
:color="ColorEnum.Primary"
|
|
54
32
|
:border="false"
|
|
55
33
|
>
|
|
56
34
|
<FSRow
|
|
57
35
|
align="center-center"
|
|
36
|
+
width="24px"
|
|
58
37
|
>
|
|
59
38
|
<FSIcon
|
|
60
39
|
icon="mdi-map-marker-radius-outline"
|
|
@@ -79,6 +58,7 @@ import { defineComponent, type PropType } from "vue";
|
|
|
79
58
|
import { capNumberToString } from '@dative-gpi/foundation-shared-components/utils';
|
|
80
59
|
import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
81
60
|
|
|
61
|
+
import FSEntityCountBadge from './FSEntityCountBadge.vue';
|
|
82
62
|
import FSSimpleTileUI from './FSSimpleTileUI.vue';
|
|
83
63
|
import FSColor from "../FSColor.vue";
|
|
84
64
|
import FSSpan from "../FSSpan.vue";
|
|
@@ -88,6 +68,7 @@ import FSRow from "../FSRow.vue";
|
|
|
88
68
|
export default defineComponent({
|
|
89
69
|
name: "FSLocationTileUI",
|
|
90
70
|
components: {
|
|
71
|
+
FSEntityCountBadge,
|
|
91
72
|
FSSimpleTileUI,
|
|
92
73
|
FSColor,
|
|
93
74
|
FSSpan,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</FSRow>
|
|
30
30
|
<FSCol
|
|
31
31
|
v-if="$props.breadcrumbs && $props.breadcrumbs.length > 0"
|
|
32
|
-
:padding="`0px ${isTouchScreenEnabled ? '20px' : '12px'}
|
|
32
|
+
:padding="`0px ${isTouchScreenEnabled ? '20px' : '12px'} 12px 12px`"
|
|
33
33
|
gap="16px"
|
|
34
34
|
>
|
|
35
35
|
<FSCol>
|
|
@@ -108,7 +108,7 @@ export default defineComponent({
|
|
|
108
108
|
toolbarTopOffset: {
|
|
109
109
|
type: String,
|
|
110
110
|
required: false,
|
|
111
|
-
default: "
|
|
111
|
+
default: "52px"
|
|
112
112
|
},
|
|
113
113
|
stickyTitleTopOffset: {
|
|
114
114
|
type: String,
|