@burh/nuxt-core 1.0.347 → 1.0.348
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.
|
@@ -81,12 +81,14 @@
|
|
|
81
81
|
</validation-observer>
|
|
82
82
|
|
|
83
83
|
<div class="row">
|
|
84
|
-
<base-button
|
|
85
|
-
class="mx-auto"
|
|
86
|
-
type="primary"
|
|
84
|
+
<base-button
|
|
85
|
+
class="mx-auto"
|
|
86
|
+
type="primary"
|
|
87
87
|
@click="inviteUser"
|
|
88
|
+
:disabled="isLoading"
|
|
89
|
+
:class="{'is-loading': isLoading}"
|
|
88
90
|
>
|
|
89
|
-
Convidar
|
|
91
|
+
{{ isLoading ? 'Enviando' : 'Convidar' }}
|
|
90
92
|
</base-button>
|
|
91
93
|
</div>
|
|
92
94
|
</modal>
|
|
@@ -107,6 +109,11 @@ export default {
|
|
|
107
109
|
default: false
|
|
108
110
|
},
|
|
109
111
|
corporativeRole: null,
|
|
112
|
+
isLoading: {
|
|
113
|
+
type: Boolean,
|
|
114
|
+
default: false,
|
|
115
|
+
description: 'Loading for request'
|
|
116
|
+
}
|
|
110
117
|
},
|
|
111
118
|
methods: {
|
|
112
119
|
closeModal(e) {
|
|
@@ -203,4 +210,8 @@ export default {
|
|
|
203
210
|
.pointer {
|
|
204
211
|
cursor: pointer;
|
|
205
212
|
}
|
|
213
|
+
|
|
214
|
+
.is-loading {
|
|
215
|
+
opacity: 0.3;
|
|
216
|
+
}
|
|
206
217
|
</style>
|