@eturnity/eturnity_reusable_components 7.20.0-EPDM-10528.1 → 7.20.0-EPDM-10528.2
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
@@ -30,6 +30,9 @@
|
|
30
30
|
borderRadius="1px"
|
31
31
|
/>
|
32
32
|
</caret>
|
33
|
+
<lockContainer v-if="hasLock">
|
34
|
+
<icon size="9px" name="lock" color="yellow" />
|
35
|
+
</lockContainer>
|
33
36
|
</Wrapper>
|
34
37
|
</template>
|
35
38
|
|
@@ -56,6 +59,11 @@ const wrapperAttrs = {
|
|
56
59
|
hasBorder: Boolean,
|
57
60
|
noCursor: Boolean
|
58
61
|
}
|
62
|
+
const lockContainer = styled.div`
|
63
|
+
position: absolute;
|
64
|
+
bottom: 6px;
|
65
|
+
right: 6px;
|
66
|
+
`
|
59
67
|
const Wrapper = styled('div', wrapperAttrs)`
|
60
68
|
position: relative;
|
61
69
|
display: inline-flex;
|
@@ -96,7 +104,8 @@ export default {
|
|
96
104
|
components: {
|
97
105
|
Wrapper,
|
98
106
|
icon,
|
99
|
-
caret
|
107
|
+
caret,
|
108
|
+
lockContainer
|
100
109
|
},
|
101
110
|
props: {
|
102
111
|
disabled: {
|
@@ -154,6 +163,10 @@ export default {
|
|
154
163
|
noCursor: {
|
155
164
|
required: false,
|
156
165
|
default: false
|
166
|
+
},
|
167
|
+
hasLock: {
|
168
|
+
required: false,
|
169
|
+
default: false
|
157
170
|
}
|
158
171
|
}
|
159
172
|
}
|