@dative-gpi/foundation-shared-components 1.0.128-fix-mobile → 1.0.128-fix-mobile-3
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/FSBreadcrumbs.vue +20 -3
- package/components/FSDialogMenu.vue +12 -2
- package/components/FSFadeOut.vue +1 -1
- package/components/FSSpan.vue +8 -5
- package/components/FSText.vue +7 -5
- package/components/fields/FSAutocompleteField.vue +36 -52
- package/components/fields/FSSelectField.vue +36 -52
- package/components/lists/FSDataTableUI.vue +3 -1
- package/components/views/desktop/FSBaseEntityDesktopView.vue +1 -0
- package/components/views/mobile/FSBaseDefaultMobileView.vue +3 -3
- package/components/views/mobile/FSBaseEntityMobileView.vue +1 -0
- package/composables/useSlots.ts +2 -1
- package/package.json +4 -4
- package/styles/components/fs_breadcrumbs.scss +9 -6
- package/styles/components/fs_span.scss +14 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-breadcrumbs
|
|
3
3
|
class="fs-breadcrumbs"
|
|
4
|
-
:items="
|
|
4
|
+
:items="items"
|
|
5
5
|
:style="style"
|
|
6
6
|
v-bind="$attrs"
|
|
7
7
|
>
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
import { computed, defineComponent, type PropType, type StyleValue } from "vue";
|
|
32
32
|
|
|
33
33
|
import { ColorEnum, type FSBreadcrumbItem } from "@dative-gpi/foundation-shared-components/models";
|
|
34
|
-
import { useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
34
|
+
import { useBreakpoints, useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
35
|
+
|
|
36
|
+
import { sizeToVar } from "../utils";
|
|
35
37
|
|
|
36
38
|
import FSSpan from "./FSSpan.vue";
|
|
37
39
|
import FSIcon from "./FSIcon.vue";
|
|
@@ -49,17 +51,31 @@ export default defineComponent({
|
|
|
49
51
|
default: () => []
|
|
50
52
|
}
|
|
51
53
|
},
|
|
52
|
-
setup() {
|
|
54
|
+
setup(props) {
|
|
55
|
+
const { isExtraSmall } = useBreakpoints();
|
|
53
56
|
const { getColors } = useColors();
|
|
54
57
|
|
|
55
58
|
const darks = getColors(ColorEnum.Dark);
|
|
56
59
|
|
|
57
60
|
const style = computed((): StyleValue => ({
|
|
61
|
+
"--fs-breadcrumbs-height" : sizeToVar(["20px", "16px"]),
|
|
58
62
|
"--fs-breadcrumbs-color" : darks.dark,
|
|
59
63
|
"--fs-breadcrumbs-active-color" : darks.base,
|
|
60
64
|
"--fs-breadcrumbs-disabled-color": darks.soft
|
|
61
65
|
}));
|
|
62
66
|
|
|
67
|
+
const items = computed((): FSBreadcrumbItem[] => {
|
|
68
|
+
if (isExtraSmall.value && props.items.length > 3) {
|
|
69
|
+
const mobileItems: FSBreadcrumbItem[] = [0, -2, -1].map((index) => props.items.at(index)!)
|
|
70
|
+
mobileItems.splice(1, 0, {
|
|
71
|
+
title : "...",
|
|
72
|
+
disabled : true
|
|
73
|
+
});
|
|
74
|
+
return mobileItems;
|
|
75
|
+
}
|
|
76
|
+
return props.items;
|
|
77
|
+
});
|
|
78
|
+
|
|
63
79
|
const classes = (item: FSBreadcrumbItem): string[] => {
|
|
64
80
|
const classNames = ["fs-breadcrumbs-label"];
|
|
65
81
|
if (item.disabled) {
|
|
@@ -69,6 +85,7 @@ export default defineComponent({
|
|
|
69
85
|
};
|
|
70
86
|
|
|
71
87
|
return {
|
|
88
|
+
items,
|
|
72
89
|
style,
|
|
73
90
|
classes
|
|
74
91
|
};
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
>
|
|
7
7
|
<FSCard
|
|
8
8
|
width="calc(100vw - 48px)"
|
|
9
|
-
padding="
|
|
10
|
-
gap="
|
|
9
|
+
:padding="$props.cardPadding"
|
|
10
|
+
:gap="$props.cardGap"
|
|
11
11
|
:color="$props.color"
|
|
12
12
|
:class="classes"
|
|
13
13
|
>
|
|
@@ -43,6 +43,16 @@ export default defineComponent({
|
|
|
43
43
|
required: false,
|
|
44
44
|
default: null
|
|
45
45
|
},
|
|
46
|
+
cardPadding: {
|
|
47
|
+
type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
|
|
48
|
+
required: false,
|
|
49
|
+
default: "8px"
|
|
50
|
+
},
|
|
51
|
+
cardGap: {
|
|
52
|
+
type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
|
|
53
|
+
required: false,
|
|
54
|
+
default: "24px"
|
|
55
|
+
},
|
|
46
56
|
modelValue: {
|
|
47
57
|
type: Boolean,
|
|
48
58
|
required: false,
|
package/components/FSFadeOut.vue
CHANGED
|
@@ -84,7 +84,7 @@ export default defineComponent({
|
|
|
84
84
|
|
|
85
85
|
const elementId = `id${uuidv4()}`;
|
|
86
86
|
|
|
87
|
-
const showOutsideScrollbar = computed(() => props.scrollOutside && !isTouchScreenEnabled);
|
|
87
|
+
const showOutsideScrollbar = computed(() => props.scrollOutside && !isTouchScreenEnabled.value);
|
|
88
88
|
|
|
89
89
|
const style = computed((): StyleValue => ({
|
|
90
90
|
"--fs-fade-out-height" : props.height ? sizeToVar(props.height) : "initial",
|
package/components/FSSpan.vue
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div
|
|
3
3
|
:class="classes"
|
|
4
4
|
:style="style"
|
|
5
5
|
v-bind="$attrs"
|
|
6
6
|
>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<span>
|
|
8
|
+
<slot>
|
|
9
|
+
{{ $props.label }}
|
|
10
|
+
</slot>
|
|
11
|
+
</span>
|
|
12
|
+
</div>
|
|
11
13
|
</template>
|
|
12
14
|
|
|
13
15
|
<script lang="ts">
|
|
@@ -49,6 +51,7 @@ export default defineComponent({
|
|
|
49
51
|
const { slots } = useSlots();
|
|
50
52
|
|
|
51
53
|
const style = computed((): StyleValue => ({
|
|
54
|
+
"--fs-span-text-align": props.align,
|
|
52
55
|
"--fs-span-line-clamp": props.lineClamp.toString(),
|
|
53
56
|
...fontStyles.value
|
|
54
57
|
}));
|
package/components/FSText.vue
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div
|
|
3
3
|
:class="classes"
|
|
4
4
|
:style="style"
|
|
5
5
|
v-bind="$attrs"
|
|
6
6
|
>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<span>
|
|
8
|
+
<slot>
|
|
9
|
+
{{ $props.label }}
|
|
10
|
+
</slot>
|
|
11
|
+
</span>
|
|
12
|
+
</div>
|
|
11
13
|
</template>
|
|
12
14
|
|
|
13
15
|
<script lang="ts">
|
|
@@ -121,6 +121,7 @@
|
|
|
121
121
|
</FSCard>
|
|
122
122
|
</FSSlideGroup>
|
|
123
123
|
<FSDialogMenu
|
|
124
|
+
cardPadding="16px"
|
|
124
125
|
v-model="dialog"
|
|
125
126
|
>
|
|
126
127
|
<template
|
|
@@ -139,69 +140,52 @@
|
|
|
139
140
|
>
|
|
140
141
|
<FSRow
|
|
141
142
|
v-for="(item, index) in searchItems"
|
|
143
|
+
align="center-left"
|
|
144
|
+
height="36px"
|
|
145
|
+
:wrap="false"
|
|
142
146
|
:key="index"
|
|
147
|
+
@click="$props.multiple ?
|
|
148
|
+
onCheckboxChange(item[$props.itemValue!]) :
|
|
149
|
+
onRadioChange(item[$props.itemValue!])
|
|
150
|
+
"
|
|
143
151
|
>
|
|
144
|
-
<
|
|
145
|
-
|
|
146
|
-
:
|
|
147
|
-
:editable="$props.editable"
|
|
148
|
-
:modelValue="$props.modelValue?.includes(item[$props.itemValue!])"
|
|
149
|
-
@update:modelValue="() => onCheckboxChange(item[$props.itemValue!])"
|
|
150
|
-
>
|
|
151
|
-
<template
|
|
152
|
-
#label="{ font }"
|
|
153
|
-
>
|
|
154
|
-
<FSRow
|
|
155
|
-
align="center-left"
|
|
156
|
-
:wrap="false"
|
|
157
|
-
>
|
|
158
|
-
<slot
|
|
159
|
-
name="item-prepend"
|
|
160
|
-
v-bind="{ item }"
|
|
161
|
-
/>
|
|
162
|
-
<FSSpan
|
|
163
|
-
:font="font"
|
|
164
|
-
>
|
|
165
|
-
{{ item[$props.itemTitle!] }}
|
|
166
|
-
</FSSpan>
|
|
167
|
-
</FSRow>
|
|
168
|
-
</template>
|
|
169
|
-
</FSCheckbox>
|
|
170
|
-
<FSRadio
|
|
171
|
-
v-else
|
|
172
|
-
:selected="$props.modelValue === item[$props.itemValue!]"
|
|
173
|
-
:label="item[$props.itemTitle!]"
|
|
174
|
-
:editable="$props.editable"
|
|
175
|
-
:item="item"
|
|
176
|
-
:modelValue="item[$props.itemValue!]"
|
|
177
|
-
@update:modelValue="() => onRadioChange(item[$props.itemValue!])"
|
|
152
|
+
<FSRow
|
|
153
|
+
style="min-width: 0;"
|
|
154
|
+
:wrap="false"
|
|
178
155
|
>
|
|
179
|
-
<
|
|
180
|
-
|
|
156
|
+
<slot
|
|
157
|
+
name="item-prepend"
|
|
158
|
+
v-bind="{ item }"
|
|
159
|
+
/>
|
|
160
|
+
<FSSpan
|
|
161
|
+
:font="selectedItems.includes(item) ? 'text-button' : 'text-body'"
|
|
181
162
|
>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
>
|
|
186
|
-
<slot
|
|
187
|
-
name="item-prepend"
|
|
188
|
-
v-bind="{ item }"
|
|
189
|
-
/>
|
|
190
|
-
<FSSpan
|
|
191
|
-
:font="font"
|
|
192
|
-
>
|
|
193
|
-
{{ item[$props.itemTitle!] }}
|
|
194
|
-
</FSSpan>
|
|
195
|
-
</FSRow>
|
|
196
|
-
</template>
|
|
197
|
-
</FSRadio>
|
|
163
|
+
{{ item[$props.itemTitle!] }}
|
|
164
|
+
</FSSpan>
|
|
165
|
+
</FSRow>
|
|
198
166
|
<FSRow
|
|
199
167
|
align="center-right"
|
|
168
|
+
width="hug"
|
|
169
|
+
:wrap="false"
|
|
200
170
|
>
|
|
201
171
|
<slot
|
|
202
172
|
name="item-append"
|
|
203
173
|
v-bind="{ item }"
|
|
204
174
|
/>
|
|
175
|
+
<FSCheckbox
|
|
176
|
+
v-if="$props.multiple"
|
|
177
|
+
:editable="$props.editable"
|
|
178
|
+
:modelValue="$props.modelValue?.includes(item[$props.itemValue!])"
|
|
179
|
+
@update:modelValue="onCheckboxChange(item[$props.itemValue!])"
|
|
180
|
+
/>
|
|
181
|
+
<FSRadio
|
|
182
|
+
v-else
|
|
183
|
+
:selected="$props.modelValue === item[$props.itemValue!]"
|
|
184
|
+
:editable="$props.editable"
|
|
185
|
+
:item="item"
|
|
186
|
+
:modelValue="item[$props.itemValue!]"
|
|
187
|
+
@update:modelValue="onRadioChange(item[$props.itemValue!])"
|
|
188
|
+
/>
|
|
205
189
|
</FSRow>
|
|
206
190
|
</FSRow>
|
|
207
191
|
</FSCol>
|
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
</FSCard>
|
|
123
123
|
</FSSlideGroup>
|
|
124
124
|
<FSDialogMenu
|
|
125
|
+
cardPadding="16px"
|
|
125
126
|
v-model="dialog"
|
|
126
127
|
>
|
|
127
128
|
<template
|
|
@@ -135,69 +136,52 @@
|
|
|
135
136
|
>
|
|
136
137
|
<FSRow
|
|
137
138
|
v-for="(item, index) in $props.items"
|
|
139
|
+
align="center-left"
|
|
140
|
+
height="36px"
|
|
141
|
+
:wrap="false"
|
|
138
142
|
:key="index"
|
|
143
|
+
@click="$props.multiple ?
|
|
144
|
+
onCheckboxChange(item[$props.itemValue!]) :
|
|
145
|
+
onRadioChange(item[$props.itemValue!])
|
|
146
|
+
"
|
|
139
147
|
>
|
|
140
|
-
<
|
|
141
|
-
|
|
142
|
-
:
|
|
143
|
-
:editable="$props.editable"
|
|
144
|
-
:modelValue="$props.modelValue?.includes(item[$props.itemValue!])"
|
|
145
|
-
@update:modelValue="() => onCheckboxChange(item[$props.itemValue!])"
|
|
146
|
-
>
|
|
147
|
-
<template
|
|
148
|
-
#label="{ font }"
|
|
149
|
-
>
|
|
150
|
-
<FSRow
|
|
151
|
-
align="center-left"
|
|
152
|
-
:wrap="false"
|
|
153
|
-
>
|
|
154
|
-
<slot
|
|
155
|
-
name="item-prepend"
|
|
156
|
-
v-bind="{ item }"
|
|
157
|
-
/>
|
|
158
|
-
<FSSpan
|
|
159
|
-
:font="font"
|
|
160
|
-
>
|
|
161
|
-
{{ item[$props.itemTitle!] }}
|
|
162
|
-
</FSSpan>
|
|
163
|
-
</FSRow>
|
|
164
|
-
</template>
|
|
165
|
-
</FSCheckbox>
|
|
166
|
-
<FSRadio
|
|
167
|
-
v-else
|
|
168
|
-
:selected="$props.modelValue === item[$props.itemValue!]"
|
|
169
|
-
:label="item[$props.itemTitle!]"
|
|
170
|
-
:editable="$props.editable"
|
|
171
|
-
:item="item"
|
|
172
|
-
:modelValue="item[$props.itemValue!]"
|
|
173
|
-
@update:modelValue="() => onRadioChange(item[$props.itemValue!])"
|
|
148
|
+
<FSRow
|
|
149
|
+
style="min-width: 0;"
|
|
150
|
+
:wrap="false"
|
|
174
151
|
>
|
|
175
|
-
<
|
|
176
|
-
|
|
152
|
+
<slot
|
|
153
|
+
name="item-prepend"
|
|
154
|
+
v-bind="{ item }"
|
|
155
|
+
/>
|
|
156
|
+
<FSSpan
|
|
157
|
+
:font="selectedItems.includes(item) ? 'text-button' : 'text-body'"
|
|
177
158
|
>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
>
|
|
182
|
-
<slot
|
|
183
|
-
name="item-prepend"
|
|
184
|
-
v-bind="{ item }"
|
|
185
|
-
/>
|
|
186
|
-
<FSSpan
|
|
187
|
-
:font="font"
|
|
188
|
-
>
|
|
189
|
-
{{ item[$props.itemTitle!] }}
|
|
190
|
-
</FSSpan>
|
|
191
|
-
</FSRow>
|
|
192
|
-
</template>
|
|
193
|
-
</FSRadio>
|
|
159
|
+
{{ item[$props.itemTitle!] }}
|
|
160
|
+
</FSSpan>
|
|
161
|
+
</FSRow>
|
|
194
162
|
<FSRow
|
|
195
163
|
align="center-right"
|
|
164
|
+
width="hug"
|
|
165
|
+
:wrap="false"
|
|
196
166
|
>
|
|
197
167
|
<slot
|
|
198
168
|
name="item-append"
|
|
199
169
|
v-bind="{ item }"
|
|
200
170
|
/>
|
|
171
|
+
<FSCheckbox
|
|
172
|
+
v-if="$props.multiple"
|
|
173
|
+
:editable="$props.editable"
|
|
174
|
+
:modelValue="$props.modelValue?.includes(item[$props.itemValue!])"
|
|
175
|
+
@update:modelValue="onCheckboxChange(item[$props.itemValue!])"
|
|
176
|
+
/>
|
|
177
|
+
<FSRadio
|
|
178
|
+
v-else
|
|
179
|
+
:selected="$props.modelValue === item[$props.itemValue!]"
|
|
180
|
+
:editable="$props.editable"
|
|
181
|
+
:item="item"
|
|
182
|
+
:modelValue="item[$props.itemValue!]"
|
|
183
|
+
@update:modelValue="onRadioChange(item[$props.itemValue!])"
|
|
184
|
+
/>
|
|
201
185
|
</FSRow>
|
|
202
186
|
</FSRow>
|
|
203
187
|
</FSCol>
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
v-if="!$props.disableTable && !$props.disableIterator"
|
|
36
36
|
>
|
|
37
37
|
<FSRow
|
|
38
|
+
:width="isMobileSized ? 'hug' : 'fill'"
|
|
38
39
|
align="center-right"
|
|
39
40
|
>
|
|
40
41
|
<FSOptionGroup
|
|
@@ -900,8 +901,8 @@ export default defineComponent({
|
|
|
900
901
|
},
|
|
901
902
|
emits: ["update:modelValue", "update:headers", "update:search", "update:showFilters", "update:filters", "update:mode", "update:sortBy", "update:rowsPerPage", "update:page", "update:include", "update:items", "click:row"],
|
|
902
903
|
setup(props, { emit }) {
|
|
904
|
+
const { isExtraSmall, isMobileSized } = useBreakpoints();
|
|
903
905
|
const { handleRoutingEvent } = useRouting();
|
|
904
|
-
const { isExtraSmall } = useBreakpoints();
|
|
905
906
|
const { $tr } = useTranslationsProvider();
|
|
906
907
|
const { getColors } = useColors();
|
|
907
908
|
const router = useRouter();
|
|
@@ -1596,6 +1597,7 @@ export default defineComponent({
|
|
|
1596
1597
|
classes,
|
|
1597
1598
|
style,
|
|
1598
1599
|
size,
|
|
1600
|
+
isMobileSized,
|
|
1599
1601
|
isExtraSmall,
|
|
1600
1602
|
draggableDisabled,
|
|
1601
1603
|
elementId,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
>
|
|
15
15
|
|
|
16
16
|
<FSRow
|
|
17
|
-
padding="24px
|
|
17
|
+
padding="24px 24px 16px 24px"
|
|
18
18
|
style="position: sticky; top: 0px; z-index: 3;"
|
|
19
19
|
:style="{ backgroundColor, marginTop: $props.stickyTitleTopOffset }"
|
|
20
20
|
>
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
</FSCol>
|
|
46
46
|
<FSRow
|
|
47
47
|
v-if="$slots.toolbar"
|
|
48
|
-
padding="0px
|
|
48
|
+
padding="0px 24px 8px 24px"
|
|
49
49
|
:style="stickyToolbar ? `position: sticky; top: ${$props.toolbarTopOffset}; z-index: 3; background-color: ${backgroundColor}` : undefined"
|
|
50
50
|
>
|
|
51
51
|
<FSSlideGroup>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
<FSCol
|
|
60
60
|
height="fill"
|
|
61
|
-
:padding="$slots.toolbar ? '8px
|
|
61
|
+
:padding="$slots.toolbar ? '8px 24px 24px 24px' : '16px 24px 24px 24px'"
|
|
62
62
|
gap="0px"
|
|
63
63
|
>
|
|
64
64
|
<slot />
|
package/composables/useSlots.ts
CHANGED
|
@@ -20,11 +20,12 @@ export const useSlots = () => {
|
|
|
20
20
|
// Directive wrapper (v-for, v-if)
|
|
21
21
|
case "symbol":
|
|
22
22
|
switch (element.type) {
|
|
23
|
+
// On a v-for, we want to get the children of the v-for
|
|
23
24
|
case Symbol.for("v-fgt"):
|
|
24
25
|
returnElements.push(...recursiveGetChildren(element.children));
|
|
25
26
|
break;
|
|
27
|
+
// On a negative v-if, we want to get nothing
|
|
26
28
|
case Symbol.for("v-cmt"):
|
|
27
|
-
returnElements.push(element);
|
|
28
29
|
break;
|
|
29
30
|
default:
|
|
30
31
|
returnElements.push(element);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.128-fix-mobile",
|
|
4
|
+
"version": "1.0.128-fix-mobile-3",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "1.0.128-fix-mobile",
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "1.0.128-fix-mobile"
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "1.0.128-fix-mobile-3",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "1.0.128-fix-mobile-3"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"sass": "1.71.1",
|
|
36
36
|
"sass-loader": "13.3.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "900221b1b1a38a793a1cc7b98f9a00a300557d10"
|
|
39
39
|
}
|
|
@@ -18,20 +18,23 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
// .fs-breadcrumbs-divider {
|
|
22
|
-
// margin-bottom: 2px !important;
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
21
|
.fs-breadcrumbs.v-breadcrumbs {
|
|
26
|
-
|
|
22
|
+
height: var(--fs-breadcrumbs-height) !important;
|
|
23
|
+
display: flex !important;
|
|
27
24
|
padding: 0 !important;
|
|
28
25
|
gap: 8px !important;
|
|
29
|
-
height: 20px;
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
.v-breadcrumbs-item {
|
|
33
29
|
padding: 0 !important;
|
|
34
30
|
|
|
31
|
+
align-self: stretch;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex: 1 0 0;
|
|
34
|
+
|
|
35
|
+
max-width: fit-content;
|
|
36
|
+
min-width: 20px;
|
|
37
|
+
|
|
35
38
|
&--disabled {
|
|
36
39
|
opacity: 1 !important;
|
|
37
40
|
color: var(--fs-breadcrumbs-disabled-color) !important;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
.fs-span {
|
|
2
|
+
align-self: stretch;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex: 1 0 0;
|
|
5
|
+
|
|
6
|
+
max-width: fit-content;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fs-span > span {
|
|
11
|
+
text-align: var(--fs-span-text-align);
|
|
12
|
+
align-content: center;
|
|
2
13
|
max-width: 100%;
|
|
3
|
-
text-align: left;
|
|
4
14
|
}
|
|
5
15
|
|
|
6
|
-
.fs-span-line-clamp {
|
|
16
|
+
.fs-span-line-clamp > span {
|
|
7
17
|
overflow: hidden;
|
|
8
18
|
display: -webkit-box;
|
|
9
19
|
line-clamp: var(--fs-span-line-clamp);
|
|
@@ -11,12 +21,12 @@
|
|
|
11
21
|
-webkit-line-clamp: var(--fs-span-line-clamp);
|
|
12
22
|
}
|
|
13
23
|
|
|
14
|
-
.fs-span-ellipsis {
|
|
24
|
+
.fs-span-ellipsis > span {
|
|
15
25
|
overflow: hidden;
|
|
16
26
|
white-space: nowrap;
|
|
17
27
|
text-overflow: ellipsis;
|
|
18
28
|
}
|
|
19
29
|
|
|
20
|
-
.fs-span-pre-wrap {
|
|
30
|
+
.fs-span-pre-wrap > span {
|
|
21
31
|
white-space: pre-wrap;
|
|
22
32
|
}
|