@eturnity/eturnity_reusable_components 7.12.7-EPDM-7951.0 → 7.12.7-EPDM-7951.1
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<component-wrapper>
|
3
|
-
<text-overlay>
|
3
|
+
<text-overlay :marginTop="marginTop">
|
4
4
|
<slot></slot>
|
5
5
|
</text-overlay>
|
6
6
|
</component-wrapper>
|
@@ -13,9 +13,9 @@
|
|
13
13
|
|
14
14
|
import styled from 'vue3-styled-components'
|
15
15
|
|
16
|
-
const TextOverlay = styled
|
16
|
+
const TextOverlay = styled('div', { marginTop: String })`
|
17
17
|
position: absolute;
|
18
|
-
top: calc(100% +
|
18
|
+
top: calc(100% + ${marginTop});
|
19
19
|
background: ${(props) => props.theme.colors.red};
|
20
20
|
padding: 10px;
|
21
21
|
width: max-content;
|
@@ -50,7 +50,12 @@ export default {
|
|
50
50
|
TextOverlay,
|
51
51
|
ComponentWrapper
|
52
52
|
},
|
53
|
-
props: {
|
53
|
+
props: {
|
54
|
+
marginTop: {
|
55
|
+
required: true,
|
56
|
+
default: '13px'
|
57
|
+
}
|
58
|
+
},
|
54
59
|
methods: {},
|
55
60
|
data() {
|
56
61
|
return {}
|
@@ -170,6 +170,7 @@
|
|
170
170
|
<row-label :data-id="filter.dataId">{{ filter.label }}</row-label>
|
171
171
|
<grid-container>
|
172
172
|
<VueDatePicker
|
173
|
+
text-input
|
173
174
|
:placeholder="$gettext('Date from')"
|
174
175
|
:locale="getDatePickerLanguage()"
|
175
176
|
:model-value="filter.range.start"
|
@@ -191,6 +192,7 @@
|
|
191
192
|
"
|
192
193
|
/>
|
193
194
|
<VueDatePicker
|
195
|
+
text-input
|
194
196
|
:placeholder="$gettext('Date to')"
|
195
197
|
:locale="getDatePickerLanguage()"
|
196
198
|
:model-value="filter.range.end"
|