12
12
:scrollable =" scrollable"
13
13
@click:outside =" handleClickOutside"
14
14
>
15
- <v-card
16
- color =" white"
17
- class =" pa-0"
18
- >
15
+ <v-card color =" white" class =" pa-0" >
19
16
<!--
20
17
=====================================================================================
21
18
Dialog Header
22
19
=====================================================================================
23
20
-->
24
21
<div :class =" title ? 'pt-0' : 'pt-5'" >
25
- <v-btn
26
- v-if =" !hideCloseBtn"
27
- icon
28
- class =" header-close-icon"
29
- >
22
+ <v-btn v-if =" !hideCloseBtn" icon class =" header-close-icon" >
30
23
<v-icon
31
24
size =" x-large"
32
25
color =" grey cursor--pointer"
40
33
v-if =" title"
41
34
:class =" [
42
35
'justify-center px-5 px-md-7',
43
- hasBodyContent ? 'py-5 py-md-8' : 'pb-0 pt-5 pt-md-8',
36
+ hasBodyContent ? 'py-5 py-md-8' : 'pb-0 pt-5 pt-md-8'
44
37
]"
45
38
>
46
- <div
47
- class =" mew-heading-2 break-word text-center"
48
- >
39
+ <div class =" mew-heading-2 break-word text-center" >
49
40
{{ title }}
50
41
</div >
51
42
</v-card-title >
66
57
Dialog action
67
58
=====================================================================================
68
59
-->
69
- <v-card-actions
70
- v-if =" hasButtons"
71
- class =" py-5 py-md-8"
72
- >
73
- <v-row
74
- class =" pa-0"
75
- justify =" space-around"
76
- dense
77
- >
60
+ <v-card-actions v-if =" hasButtons" class =" py-5 py-md-8" >
61
+ <v-row class =" pa-0" justify =" space-around" dense >
78
62
<v-col
79
63
cols =" 12"
80
64
:sm =" !rightBtn ? '12' : '6'"
115
99
</template >
116
100
117
101
<script >
118
- import MewButton from ' @/components/MewButton/MewButton.vue' ;
102
+ import MewButton from " @/components/MewButton/MewButton.vue" ;
119
103
120
104
export default {
121
105
components: { MewButton },
@@ -125,21 +109,21 @@ export default {
125
109
*/
126
110
title: {
127
111
type: String ,
128
- default: ' ' ,
112
+ default: " "
129
113
},
130
114
/**
131
115
* Hide top right close button
132
116
*/
133
117
hideCloseBtn: {
134
118
type: Boolean ,
135
- default: false ,
119
+ default: false
136
120
},
137
121
/**
138
122
* Controls popup visibility.
139
123
*/
140
124
show: {
141
125
type: Boolean ,
142
- default: false ,
126
+ default: false
143
127
},
144
128
/**
145
129
* Left Button: object of information.
@@ -149,8 +133,8 @@ export default {
149
133
leftBtn: {
150
134
type: Object ,
151
135
default : () => {
152
- return { text: ' Cancel' , color: ' primary' , method : () => {} };
153
- },
136
+ return { text: " Cancel" , color: " primary" , method : () => {} };
137
+ }
154
138
},
155
139
/**
156
140
* Right Button: object of information.
@@ -160,58 +144,58 @@ export default {
160
144
type: Object ,
161
145
default : () => {
162
146
return {
163
- text: ' Confirm' ,
164
- color: ' primary' ,
147
+ text: " Confirm" ,
148
+ color: " primary" ,
165
149
enabled: true ,
166
- method : () => {},
150
+ method : () => {}
167
151
};
168
- },
152
+ }
169
153
},
170
154
/**
171
155
* Makes the popup content scrollable.
172
156
*/
173
157
scrollable: {
174
158
type: Boolean ,
175
- default: false ,
159
+ default: false
176
160
},
177
161
/**
178
162
* Max width of the popup.
179
163
*/
180
164
maxWidth: {
181
165
type: String ,
182
- default: ' 600' ,
166
+ default: " 600"
183
167
},
184
168
/**
185
169
* Displays v-card-text if there is popup body content
186
170
* otherwise it removes it and adjusts the padding accordingly
187
171
*/
188
172
hasBodyContent: {
189
173
type: Boolean ,
190
- default: false ,
174
+ default: false
191
175
},
192
176
/**
193
177
* Will display popup body content padding if true
194
178
*/
195
179
hasPadding: {
196
180
type: Boolean ,
197
- default: true ,
181
+ default: true
198
182
},
199
183
/**
200
184
* Will display popup body content padding if true
201
185
*/
202
186
hasButtons: {
203
187
type: Boolean ,
204
- default: true ,
205
- },
188
+ default: true
189
+ }
206
190
},
207
191
methods: {
208
192
/**
209
193
* Will call left btn method which is cancel method.
210
194
*/
211
195
handleClickOutside () {
212
196
this .leftBtn .method ();
213
- },
214
- },
197
+ }
198
+ }
215
199
};
216
200
</script >
217
201
@@ -220,5 +204,6 @@ export default {
220
204
right : 10px ;
221
205
top : 10px ;
222
206
position : absolute ;
207
+ z-index : 9 ;
223
208
}
224
209
</style >
1 commit comments
github-actions[bot] commentedon Jun 2, 2022
Copy of this build can be found at
https://mewcomponents.mewbuilds.com/57dad7fa20f64b6f1db823e8fd8c6fdede18db22/index.html
https://www.cloudflare-ipfs.com/ipfs/
Virus Total analysis
https://www.virustotal.com/gui/file/86c9c5900e3be7a94c5197c4111fc2d40662b839e48b0b7985c0708e42be7692