@magicgol/polyjuice 0.33.4 → 0.33.7
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/components/components/filter-option/FilterOption.vue +11 -1
- package/src/components/content/list/head/ListHead.vue +1 -1
- package/src/components/context/footballer/list/footballer-list-body/FootballerListBody.vue +3 -3
- package/src/components/form/checkbox/checkbox/Checkbox.vue +7 -1
- package/src/components/modal/selection-box/SelectionBox.vue +0 -9
package/package.json
CHANGED
@@ -6,7 +6,10 @@
|
|
6
6
|
<div class="p-2">
|
7
7
|
<slot></slot>
|
8
8
|
</div>
|
9
|
-
<div
|
9
|
+
<div
|
10
|
+
class="mg-filter-option-circle d-flex align-items-center justify-content-center bg-white rounded-circle"
|
11
|
+
@click="onClick"
|
12
|
+
>
|
10
13
|
<svgicon name="x"></svgicon>
|
11
14
|
</div>
|
12
15
|
</div>
|
@@ -23,6 +26,12 @@ export default {
|
|
23
26
|
};
|
24
27
|
}
|
25
28
|
},
|
29
|
+
|
30
|
+
methods: {
|
31
|
+
onClick () {
|
32
|
+
this.$emit('click');
|
33
|
+
}
|
34
|
+
}
|
26
35
|
};
|
27
36
|
</script>
|
28
37
|
|
@@ -39,6 +48,7 @@ export default {
|
|
39
48
|
height: 2rem;
|
40
49
|
|
41
50
|
&-circle {
|
51
|
+
cursor: pointer;
|
42
52
|
height: 1.5rem;
|
43
53
|
width: 1.5rem;
|
44
54
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<div
|
3
3
|
class="text-uppercase pb-2 px-2"
|
4
|
-
:class="[classes, {'d-flex align-items-center': active, 'justify-content-center text-center': alignCenter}]"
|
4
|
+
:class="[classes, {'d-flex align-items-center': active, 'justify-content-center text-center': alignCenter, 'justify-content-start text-left': !alignCenter}]"
|
5
5
|
>
|
6
6
|
<div><slot></slot></div>
|
7
7
|
<svgicon
|
@@ -6,7 +6,7 @@
|
|
6
6
|
>
|
7
7
|
<div class="d-flex align-items-center h-100 rounded">
|
8
8
|
<div
|
9
|
-
class="p-0 pl-
|
9
|
+
class="p-0 pl-2 py-2 text-left"
|
10
10
|
:class="firstColClass"
|
11
11
|
>
|
12
12
|
<slot name="first-col"></slot>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
</div>
|
27
27
|
<div
|
28
28
|
v-if="actionsColVisibility"
|
29
|
-
class="p-0 pr-
|
29
|
+
class="p-0 pr-2 text-center"
|
30
30
|
:class="actionsColClass"
|
31
31
|
>
|
32
32
|
<slot name="actions"></slot>
|
@@ -94,7 +94,7 @@ export default {
|
|
94
94
|
return 'col-' + ((this.secondColVisibility ? 8 : 10) - this.actionsCol);
|
95
95
|
},
|
96
96
|
thirdColClass () {
|
97
|
-
return this.actionsColVisibility ? 'col-2' : 'col-3
|
97
|
+
return this.actionsColVisibility ? 'col-2' : 'col-3'
|
98
98
|
}
|
99
99
|
},
|
100
100
|
|
@@ -17,7 +17,10 @@
|
|
17
17
|
<span class="mg-checkbox-check align-middle d-inline-block position-relative"></span>
|
18
18
|
<!-- end of THE SQUARE -->
|
19
19
|
<!-- TEXT AS LABEL -->
|
20
|
-
<span
|
20
|
+
<span
|
21
|
+
v-if="slotVisibility"
|
22
|
+
class="align-middle pl-2"
|
23
|
+
>
|
21
24
|
<slot></slot>
|
22
25
|
</span>
|
23
26
|
<!-- end of TEXT AS LABEL -->
|
@@ -48,6 +51,9 @@ export default {
|
|
48
51
|
'mg-checkbox': true,
|
49
52
|
'mg-checkbox--disabled': this.disabled,
|
50
53
|
};
|
54
|
+
},
|
55
|
+
slotVisibility() {
|
56
|
+
return 'default' in this.$slots && !!this.$slots.default;
|
51
57
|
}
|
52
58
|
},
|
53
59
|
};
|
@@ -23,13 +23,6 @@
|
|
23
23
|
export default {
|
24
24
|
name: 'mg-selection-box',
|
25
25
|
|
26
|
-
props: {
|
27
|
-
stretched: {
|
28
|
-
type: Boolean,
|
29
|
-
default: false
|
30
|
-
}
|
31
|
-
},
|
32
|
-
|
33
26
|
computed: {
|
34
27
|
classes() {
|
35
28
|
return {
|
@@ -42,8 +35,6 @@ export default {
|
|
42
35
|
|
43
36
|
<style lang="scss">
|
44
37
|
.mg-selection-box {
|
45
|
-
height: 7.5rem;
|
46
|
-
|
47
38
|
&-shadow {
|
48
39
|
height: 7.5rem;
|
49
40
|
}
|